c
GObject.Object
Gtk.StyleContext
| Import line: | Gtk = imports.gi.Gtk; |
| GIR File: | Gtk-3.0.gir |
| C documentation: | GtkStyleContext |
| Class : | StyleContext |
| Extends: | GObject.Object |
| Properties | Defined By | |
|---|---|---|
|
direction : Gtk.TextDirection
|
Gtk.StyleContext | |
|
parent : Gtk.StyleContext
|
Gtk.StyleContext | |
|
parent_object : GObject.Object
read only
|
Gtk.StyleContext | |
|
priv : Gtk.StyleContextPrivate
read only
|
Gtk.StyleContext | |
|
screen : Gdk.Screen
|
Gtk.StyleContext | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new Gtk.StyleContext
(Object properties)
Create a new Gtk.StyleContext
Create a new Gtk.StyleContext
|
||
|
Gtk.StyleContext.add_provider_for_screen
(Screen screen, StyleProvider provider, guint32 priority)
:
none
|
Gtk.StyleContext | |
|
Gtk.StyleContext | |
|
Gtk.StyleContext.reset_widgets
(Screen screen)
:
none
|
Gtk.StyleContext | |
|
add_class
(String class_name)
:
none
|
Gtk.StyleContext | |
|
add_provider
(StyleProvider provider, guint32 priority)
:
none
|
Gtk.StyleContext | |
|
add_region
(String region_name, RegionFlags flags)
:
none
|
Gtk.StyleContext | |
|
cancel_animations
(void* region_id)
:
none
|
Gtk.StyleContext | |
|
get_background_color
(StateFlags state)
:
Gdk.RGBA
|
Gtk.StyleContext | |
|
get_border
(StateFlags state)
:
Gtk.Border
|
Gtk.StyleContext | |
|
get_border_color
(StateFlags state)
:
Gdk.RGBA
|
Gtk.StyleContext | |
|
get_color
(StateFlags state)
:
Gdk.RGBA
|
Gtk.StyleContext | |
|
get_direction
()
:
Gtk.TextDirection
|
Gtk.StyleContext | |
|
get_font
(StateFlags state)
:
Pango.FontDescription
|
Gtk.StyleContext | |
|
get_junction_sides
()
:
Gtk.JunctionSides
|
Gtk.StyleContext | |
|
get_margin
(StateFlags state)
:
Gtk.Border
|
Gtk.StyleContext | |
|
get_padding
(StateFlags state)
:
Gtk.Border
|
Gtk.StyleContext | |
|
get_parent
()
:
Gtk.StyleContext
|
Gtk.StyleContext | |
|
get_path
()
:
Gtk.WidgetPath
|
Gtk.StyleContext | |
|
Gtk.StyleContext | |
|
get_screen
()
:
Gdk.Screen
|
Gtk.StyleContext | |
|
get_section
(String property)
:
Gtk.CssSection
|
Gtk.StyleContext | |
|
get_state
()
:
Gtk.StateFlags
|
Gtk.StyleContext | |
|
Gtk.StyleContext | |
| Gtk.StyleContext | ||
|
Gtk.StyleContext | |
|
invalidate
()
:
none
|
Gtk.StyleContext | |
|
list_classes
()
:
Array
|
Gtk.StyleContext | |
|
list_regions
()
:
Array
|
Gtk.StyleContext | |
| Gtk.StyleContext | ||
|
lookup_icon_set
(String stock_id)
:
Gtk.IconSet
|
Gtk.StyleContext | |
|
Gtk.StyleContext | |
|
pop_animatable_region
()
:
none
|
Gtk.StyleContext | |
|
push_animatable_region
(void* region_id)
:
none
|
Gtk.StyleContext | |
|
remove_class
(String class_name)
:
none
|
Gtk.StyleContext | |
|
remove_provider
(StyleProvider provider)
:
none
|
Gtk.StyleContext | |
|
remove_region
(String region_name)
:
none
|
Gtk.StyleContext | |
|
restore
()
:
none
|
Gtk.StyleContext | |
|
save
()
:
none
|
Gtk.StyleContext | |
|
Gtk.StyleContext | |
|
set_background
(Window window)
:
none
|
Gtk.StyleContext | |
|
set_direction
(TextDirection direction)
:
none
|
Gtk.StyleContext | |
|
set_junction_sides
(JunctionSides sides)
:
none
|
Gtk.StyleContext | |
|
set_parent
(StyleContext parent)
:
none
|
Gtk.StyleContext | |
|
set_path
(WidgetPath path)
:
none
|
Gtk.StyleContext | |
|
set_screen
(Screen screen)
:
none
|
Gtk.StyleContext | |
|
set_state
(StateFlags flags)
:
none
|
Gtk.StyleContext | |
|
Gtk.StyleContext | |
| Event | Defined By | |
|---|---|---|
|
changed (StyleContext self)
:
none
|
Gtk.StyleContext | |
| Class / Namespace | Method / Signal / Properties |
|---|---|
|
Gtk
Method |
Gtk.render_activity
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
|
|
Gtk
Method |
Gtk.render_arrow
(StyleContext context, Context cr, gdouble angle, gdouble x, gdouble y, gdouble size)
:
none
|
|
Gtk
Method |
Gtk.render_background
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
|
|
Gtk
Method |
Gtk.render_check
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
|
|
Gtk
Method |
Gtk.render_expander
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
|
|
Gtk
Method |
Gtk.render_extension
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height, PositionType gap_side)
:
none
|
|
Gtk
Method |
Gtk.render_focus
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
|
|
Gtk
Method |
Gtk.render_frame
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
|
|
Gtk
Method |
Gtk.render_frame_gap
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height, PositionType gap_side, gdouble xy0_gap, gdouble xy1_gap)
:
none
|
|
Gtk
Method |
Gtk.render_handle
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
|
|
Gtk
Method |
|
|
Gtk
Method |
|
|
Gtk
Method |
Gtk.render_insertion_cursor
(StyleContext context, Context cr, gdouble x, gdouble y, Layout layout, gint32 index, Direction direction)
:
none
|
|
Gtk
Method |
|
|
Gtk
Method |
Gtk.render_line
(StyleContext context, Context cr, gdouble x0, gdouble y0, gdouble x1, gdouble y1)
:
none
|
|
Gtk
Method |
Gtk.render_option
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
|
|
Gtk
Method |
Gtk.render_slider
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height, Orientation orientation)
:
none
|
|
Gtk.Gradient
Method |
resolve_for_context
(StyleContext context)
:
cairo.Pattern
|
|
Gtk.IconInfo
Method |
|
|
Gtk.IconSet
Method |
|
|
Gtk.NumerableIcon
Property |
style_context : Gtk.StyleContext
|
|
Gtk.NumerableIcon
Method |
|
|
Gtk.NumerableIcon
Method |
get_style_context
()
:
Gtk.StyleContext
|
|
Gtk.NumerableIcon
Method |
set_style_context
(StyleContext style)
:
none
|
|
Gtk.Style
Property |
context : Gtk.StyleContext
|
|
Gtk.StyleContext
Property |
parent : Gtk.StyleContext
|
|
Gtk.Widget
Method |
get_style_context
()
:
Gtk.StyleContext
|