Theming
Engine
Class
constructor
parent_
class
name
render_
activity
render_
arrow
render_
background
render_
check
render_
expander
render_
extension
render_
focus
render_
frame
render_
frame_
gap
render_
handle
render_
icon
render_
icon_
surface
render_
layout
render_
line
render_
option
render_
slider
GJS API Reference
Gtk-3.0
Gtk
ThemingEngineClass
Class ThemingEngineClass
Base class for theming engines.
record
Hierarchy
ThemingEngineClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
render_
activity
render_
arrow
render_
background
render_
check
render_
expander
render_
extension
render_
focus
render_
frame
render_
frame_
gap
render_
handle
render_
icon
render_
icon_
surface
render_
layout
render_
line
render_
option
render_
slider
Constructors
constructor
new
Theming
Engine
Class
(
)
:
ThemingEngineClass
Returns
ThemingEngineClass
Properties
parent_
class
parent_
class
:
GObject
.
ObjectClass
The parent class.
field
Static
name
name
:
string
Methods
render_
activity
render_
activity
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
Returns
void
render_
arrow
render_
arrow
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, angle
:
number
, x
:
number
, y
:
number
, size
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
angle:
number
x:
number
y:
number
size:
number
Returns
void
render_
background
render_
background
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
Returns
void
render_
check
render_
check
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
Returns
void
render_
expander
render_
expander
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
Returns
void
render_
extension
render_
extension
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
, gap_side
:
Gtk
.
PositionType
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
gap_side:
Gtk
.
PositionType
Returns
void
render_
focus
render_
focus
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
Returns
void
render_
frame
render_
frame
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
Returns
void
render_
frame_
gap
render_
frame_
gap
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
, gap_side
:
Gtk
.
PositionType
, xy0_gap
:
number
, xy1_gap
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
gap_side:
Gtk
.
PositionType
xy0_gap:
number
xy1_gap:
number
Returns
void
render_
handle
render_
handle
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
Returns
void
render_
icon
render_
icon
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, pixbuf
:
Pixbuf
, x
:
number
, y
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
pixbuf:
Pixbuf
x:
number
y:
number
Returns
void
render_
icon_
surface
render_
icon_
surface
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, surface
:
cairo
.
Surface
, x
:
number
, y
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
surface:
cairo
.
Surface
x:
number
y:
number
Returns
void
render_
layout
render_
layout
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, layout
:
Pango
.
Layout
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
layout:
Pango
.
Layout
Returns
void
render_
line
render_
line
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x0
:
number
, y0
:
number
, x1
:
number
, y1
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x0:
number
y0:
number
x1:
number
y1:
number
Returns
void
render_
option
render_
option
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
Returns
void
render_
slider
render_
slider
(
engine
:
ThemingEngine
, cr
:
cairo
.
Context
, x
:
number
, y
:
number
, width
:
number
, height
:
number
, orientation
:
Gtk
.
Orientation
)
:
void
Parameters
engine:
ThemingEngine
cr:
cairo
.
Context
x:
number
y:
number
width:
number
height:
number
orientation:
Gtk
.
Orientation
Returns
void
Theming
Engine
Class
constructor
parent_
class
name
render_
activity
render_
arrow
render_
background
render_
check
render_
expander
render_
extension
render_
focus
render_
frame
render_
frame_
gap
render_
handle
render_
icon
render_
icon_
surface
render_
layout
render_
line
render_
option
render_
slider
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfM18wLkd0ay5UaGVtaW5nRW5naW5lQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWx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