Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkWidgetPath |
Struct : | WidgetPath |
None |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.WidgetPath.c_new
()
:
Gtk.WidgetPath
Create a new Gtk.WidgetPath
Create a new Gtk.WidgetPath
|
||
Gtk.WidgetPath | ||
copy
()
:
Gtk.WidgetPath
Returns a copy of path
Returns a copy of path
|
Gtk.WidgetPath | |
free
()
:
none
Frees a GtkWidgetPath.
Frees a GtkWidgetPath.
|
Gtk.WidgetPath | |
get_object_type
()
:
Number
Returns the topmost object type, that is, the object type this path
is representing.
Returns the topmost object type, that is, the object type this path
is representing.
|
Gtk.WidgetPath | |
Returns TRUE if any of the parents of the widget represented
in path is of type type, or any subtype of it. |
Gtk.WidgetPath | |
Returns TRUE if the widget type represented by this path
is type, or a subtype of it. |
Gtk.WidgetPath | |
Adds the class name to the widget at position pos in
the hierarchy defined in path. |
Gtk.WidgetPath | |
Adds the region name to the widget at position pos in
the hierarchy defined in path.
Adds the region name to the widget at position pos in
the hierarchy defined in path. See gtk_style_context_add_region(). and '-', starting always with a lowercase letter.
|
Gtk.WidgetPath | |
iter_clear_classes
(gint32 pos)
:
none
Removes all classes from the widget at position pos in the
hierarchy defined in path.
Removes all classes from the widget at position pos in the
hierarchy defined in path.
|
Gtk.WidgetPath | |
iter_clear_regions
(gint32 pos)
:
none
Removes all regions from the widget at position pos in the
hierarchy defined in path.
Removes all regions from the widget at position pos in the
hierarchy defined in path.
|
Gtk.WidgetPath | |
Returns the name corresponding to the widget found at
the position pos in the widget hierarchy defined by |
Gtk.WidgetPath | |
Returns the object GType that is at position pos in the widget
hierarchy defined in path. |
Gtk.WidgetPath | |
Returns TRUE if the widget at position pos has the class name
defined, FALSE otherwise. |
Gtk.WidgetPath | |
Returns TRUE if the widget at position pos has the name name,
FALSE otherwise. |
Gtk.WidgetPath | |
See gtk_widget_path_iter_has_class().
|
Gtk.WidgetPath | |
See gtk_widget_path_iter_has_name().
|
Gtk.WidgetPath | |
See gtk_widget_path_iter_has_region().
See gtk_widget_path_iter_has_region(). This is a version that operates
with GQuarks.
|
Gtk.WidgetPath | |
Returns TRUE if the widget at position pos has the class name
defined, FALSE otherwise.
Returns TRUE if the widget at position pos has the class name
defined, FALSE otherwise.
|
Gtk.WidgetPath | |
Returns a list with all the class names defined for the widget
at position pos in the hierarchy defined in path.
Returns a list with all the class names defined for the widget
at position pos in the hierarchy defined in path. classes, This is a list of strings, the GSList contents are owned by GTK+, but you should use g_slist_free() to free the list itself.
|
Gtk.WidgetPath | |
Returns a list with all the region names defined for the widget
at position pos in the hierarchy defined in path.
Returns a list with all the region names defined for the widget
at position pos in the hierarchy defined in path. regions, This is a list of strings, the GSList contents are owned by GTK+, but you should use g_slist_free() to free the list itself.
|
Gtk.WidgetPath | |
Removes the class name from the widget at position pos in
the hierarchy defined in path. |
Gtk.WidgetPath | |
Removes the region name from the widget at position pos in
the hierarchy defined in path. |
Gtk.WidgetPath | |
Sets the widget name for the widget found at position pos
in the widget hierarchy defined by path. |
Gtk.WidgetPath | |
Sets the object type for a given position in the widget hierarchy
defined by path. |
Gtk.WidgetPath | |
length
()
:
gint32
Returns the number of GtkWidget GTypes between the represented
widget and its topmost container.
Returns the number of GtkWidget GTypes between the represented
widget and its topmost container.
|
Gtk.WidgetPath | |
prepend_type
(Number type)
:
none
Prepends a widget type to the widget hierachy represented by path.
Prepends a widget type to the widget hierachy represented by path.
|
Gtk.WidgetPath |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.Container
Method |
get_path_for_child
(Widget child)
:
Gtk.WidgetPath
Returns a newly created widget path representing all the widget hierarchy
from the toplevel down to child (this one not being included). |
Gtk.StyleContext
Method |
get_path
()
:
Gtk.WidgetPath
Returns the widget path used for style matching.
|
Gtk.StyleContext
Method |
set_path
(WidgetPath path)
:
none
Sets the GtkWidgetPath used for style matching.
|
Gtk.StyleProvider
Method |
get_icon_factory
(WidgetPath path)
:
Gtk.IconFactory
Returns the GtkIconFactory defined to be in use for path, or NULL if none
is defined. |
Gtk.StyleProvider
Method |
get_style
(WidgetPath path)
:
Gtk.StyleProperties
Returns the style settings affecting a widget defined by path, or NULL if
style settings affecting path |
Gtk.StyleProvider
Method |
get_style_property
(WidgetPath path, StateFlags state, ParamSpec pspec, Object out_values)
:
gboolean
Looks up a widget style property as defined by provider for
the widget represented by path. |
Gtk.ThemingEngine
Method |
get_path
()
:
Gtk.WidgetPath
Returns the widget path used for style matching.
|
Gtk.Widget
Method |
get_path
()
:
Gtk.WidgetPath
Returns the GtkWidgetPath representing widget, if the widget
is not connected to a toplevel widget, a partial path will be created. |