Cell
Renderer
Class
constructor
name
activate
editing_
canceled
editing_
started
get_
aligned_
area
get_
preferred_
height
get_
preferred_
height_
for_
width
get_
preferred_
width
get_
preferred_
width_
for_
height
get_
request_
mode
snapshot
start_
editing
GJS API Reference
Gtk-4.0
Gtk
CellRendererClass
Class CellRendererClass
Hierarchy
CellRendererClass
Index
Constructors
constructor
Properties
name
Methods
activate
editing_
canceled
editing_
started
get_
aligned_
area
get_
preferred_
height
get_
preferred_
height_
for_
width
get_
preferred_
width
get_
preferred_
width_
for_
height
get_
request_
mode
snapshot
start_
editing
Constructors
constructor
new
Cell
Renderer
Class
(
)
:
Gtk
.
CellRendererClass
Returns
Gtk
.
CellRendererClass
Properties
Static
name
name
:
string
Methods
activate
activate
(
cell
:
Gtk
.
CellRenderer
, event
:
Gdk
.
Event
, widget
:
Gtk
.
Widget
, path
:
string
, background_area
:
Gdk
.
Rectangle
, cell_area
:
Gdk
.
Rectangle
, flags
:
Gtk
.
CellRendererState
)
:
boolean
Parameters
cell:
Gtk
.
CellRenderer
event:
Gdk
.
Event
widget:
Gtk
.
Widget
path:
string
background_area:
Gdk
.
Rectangle
cell_area:
Gdk
.
Rectangle
flags:
Gtk
.
CellRendererState
Returns
boolean
editing_
canceled
editing_
canceled
(
cell
:
Gtk
.
CellRenderer
)
:
void
Parameters
cell:
Gtk
.
CellRenderer
Returns
void
editing_
started
editing_
started
(
cell
:
Gtk
.
CellRenderer
, editable
:
Gtk
.
CellEditable
, path
:
string
)
:
void
Parameters
cell:
Gtk
.
CellRenderer
editable:
Gtk
.
CellEditable
path:
string
Returns
void
get_
aligned_
area
get_
aligned_
area
(
cell
:
Gtk
.
CellRenderer
, widget
:
Gtk
.
Widget
, flags
:
Gtk
.
CellRendererState
, cell_area
:
Gdk
.
Rectangle
)
:
Gdk
.
Rectangle
Parameters
cell:
Gtk
.
CellRenderer
widget:
Gtk
.
Widget
flags:
Gtk
.
CellRendererState
cell_area:
Gdk
.
Rectangle
Returns
Gdk
.
Rectangle
get_
preferred_
height
get_
preferred_
height
(
cell
:
Gtk
.
CellRenderer
, widget
:
Gtk
.
Widget
)
:
[
number
,
number
]
Parameters
cell:
Gtk
.
CellRenderer
widget:
Gtk
.
Widget
Returns
[
number
,
number
]
get_
preferred_
height_
for_
width
get_
preferred_
height_
for_
width
(
cell
:
Gtk
.
CellRenderer
, widget
:
Gtk
.
Widget
, width
:
number
)
:
[
number
,
number
]
Parameters
cell:
Gtk
.
CellRenderer
widget:
Gtk
.
Widget
width:
number
Returns
[
number
,
number
]
get_
preferred_
width
get_
preferred_
width
(
cell
:
Gtk
.
CellRenderer
, widget
:
Gtk
.
Widget
)
:
[
number
,
number
]
Parameters
cell:
Gtk
.
CellRenderer
widget:
Gtk
.
Widget
Returns
[
number
,
number
]
get_
preferred_
width_
for_
height
get_
preferred_
width_
for_
height
(
cell
:
Gtk
.
CellRenderer
, widget
:
Gtk
.
Widget
, height
:
number
)
:
[
number
,
number
]
Parameters
cell:
Gtk
.
CellRenderer
widget:
Gtk
.
Widget
height:
number
Returns
[
number
,
number
]
get_
request_
mode
get_
request_
mode
(
cell
:
Gtk
.
CellRenderer
)
:
Gtk
.
SizeRequestMode
Parameters
cell:
Gtk
.
CellRenderer
Returns
Gtk
.
SizeRequestMode
snapshot
snapshot
(
cell
:
Gtk
.
CellRenderer
, snapshot
:
Gtk
.
Snapshot
, widget
:
Gtk
.
Widget
, background_area
:
Gdk
.
Rectangle
, cell_area
:
Gdk
.
Rectangle
, flags
:
Gtk
.
CellRendererState
)
:
void
Parameters
cell:
Gtk
.
CellRenderer
snapshot:
Gtk
.
Snapshot
widget:
Gtk
.
Widget
background_area:
Gdk
.
Rectangle
cell_area:
Gdk
.
Rectangle
flags:
Gtk
.
CellRendererState
Returns
void
start_
editing
start_
editing
(
cell
:
Gtk
.
CellRenderer
, event
:
Gdk
.
Event
, widget
:
Gtk
.
Widget
, path
:
string
, background_area
:
Gdk
.
Rectangle
, cell_area
:
Gdk
.
Rectangle
, flags
:
Gtk
.
CellRendererState
)
:
Gtk
.
CellEditable
Parameters
cell:
Gtk
.
CellRenderer
event:
Gdk
.
Event
widget:
Gtk
.
Widget
path:
string
background_area:
Gdk
.
Rectangle
cell_area:
Gdk
.
Rectangle
flags:
Gtk
.
CellRendererState
Returns
Gtk
.
CellEditable
Cell
Renderer
Class
constructor
name
activate
editing_
canceled
editing_
started
get_
aligned_
area
get_
preferred_
height
get_
preferred_
height_
for_
width
get_
preferred_
width
get_
preferred_
width_
for_
height
get_
request_
mode
snapshot
start_
editing
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfNF8wLkd0ay5DZWxsUmVuZGVyZXJDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJHdGtfNF8wLkd0ay5DZWxsUmVuZGVyZXJDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfNF8wLkd0ay5DZWxsUmVuZGVyZXJDbGFzcy5odG1sI2FjdGl2YXRlIiwibmFtZSI6ImFjdGl2YXRlIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC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