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
NODE-GTK 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
, backgroundArea
:
Gdk
.
Rectangle
, cellArea
:
Gdk
.
Rectangle
, flags
:
Gtk
.
CellRendererState
)
:
boolean
Parameters
cell:
Gtk
.
CellRenderer
event:
Gdk
.
Event
widget:
Gtk
.
Widget
path:
string
backgroundArea:
Gdk
.
Rectangle
cellArea:
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
, cellArea
:
Gdk
.
Rectangle
)
:
Gdk
.
Rectangle
Parameters
cell:
Gtk
.
CellRenderer
widget:
Gtk
.
Widget
flags:
Gtk
.
CellRendererState
cellArea:
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
, backgroundArea
:
Gdk
.
Rectangle
, cellArea
:
Gdk
.
Rectangle
, flags
:
Gtk
.
CellRendererState
)
:
void
Parameters
cell:
Gtk
.
CellRenderer
snapshot:
Gtk
.
Snapshot
widget:
Gtk
.
Widget
backgroundArea:
Gdk
.
Rectangle
cellArea:
Gdk
.
Rectangle
flags:
Gtk
.
CellRendererState
Returns
void
start
Editing
start
Editing
(
cell
:
Gtk
.
CellRenderer
, event
:
Gdk
.
Event
, widget
:
Gtk
.
Widget
, path
:
string
, backgroundArea
:
Gdk
.
Rectangle
, cellArea
:
Gdk
.
Rectangle
, flags
:
Gtk
.
CellRendererState
)
:
Gtk
.
CellEditable
Parameters
cell:
Gtk
.
CellRenderer
event:
Gdk
.
Event
widget:
Gtk
.
Widget
path:
string
backgroundArea:
Gdk
.
Rectangle
cellArea:
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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfNF8wLkd0ay5DZWxsUmVuZGVyZXJDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJHdGtfNF8wLkd0ay5DZWxsUmVuZGVyZXJDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfNF8wLkd0ay5DZWxsUmVuZGVyZXJDbGFzcy5odG1sI2FjdGl2YXRlIiwibmFtZSI6ImFjdGl2YXRlIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOi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