Label
Renderer
constructor
ref
Count
name
draw
get
Ref
At
Pos
new
render
Ref
width
NODE-GTK API Reference
Gitg-1.0
Gitg
LabelRenderer
Class LabelRenderer
Hierarchy
LabelRenderer
Index
Constructors
constructor
Properties
ref
Count
name
Methods
draw
get
Ref
At
Pos
new
render
Ref
width
Constructors
constructor
new
Label
Renderer
(
)
:
LabelRenderer
Returns
LabelRenderer
Properties
ref
Count
ref
Count
:
number
Static
name
name
:
string
Methods
Static
draw
draw
(
widget
:
Gtk
.
Widget
, font
:
FontDescription
, context
:
cairo
.
Context
, labels
:
Gitg
.
Ref
[]
, area
:
Gdk
.
Rectangle
)
:
void
Parameters
widget:
Gtk
.
Widget
font:
FontDescription
context:
cairo
.
Context
labels:
Gitg
.
Ref
[]
area:
Gdk
.
Rectangle
Returns
void
Static
get
Ref
At
Pos
get
Ref
At
Pos
(
widget
:
Gtk
.
Widget
, font
:
FontDescription
, labels
:
Gitg
.
Ref
[]
, x
:
number
)
:
[
Gitg
.
Ref
,
number
]
Parameters
widget:
Gtk
.
Widget
font:
FontDescription
labels:
Gitg
.
Ref
[]
x:
number
Returns
[
Gitg
.
Ref
,
number
]
Static
new
new
(
)
:
LabelRenderer
Returns
LabelRenderer
Static
render
Ref
render
Ref
(
widget
:
Gtk
.
Widget
, font
:
FontDescription
, r
:
Gitg
.
Ref
, height
:
number
, minwidth
:
number
)
:
Pixbuf
Parameters
widget:
Gtk
.
Widget
font:
FontDescription
r:
Gitg
.
Ref
height:
number
minwidth:
number
Returns
Pixbuf
Static
width
width
(
widget
:
Gtk
.
Widget
, font
:
object
, labels
:
Gitg
.
Ref
[]
)
:
number
Parameters
widget:
Gtk
.
Widget
font:
object
labels:
Gitg
.
Ref
[]
Returns
number
Label
Renderer
constructor
ref
Count
name
draw
get
Ref
At
Pos
new
render
Ref
width
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2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