Файловый менеджер - Редактировать - /usr/share/gnome-shell/St-1.0.gir
Назад
<?xml version="1.0"?> <!-- This file was automatically generated from C sources - DO NOT EDIT! To affect the contents of this file, edit the original C definitions, and/or use gtk-doc annotations. --> <repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> <include name="Cally" version="6"/> <include name="Clutter" version="6"/> <include name="Gtk" version="3.0"/> <include name="Meta" version="6"/> <namespace name="St" version="1.0" shared-library="libst-1.0.so" c:identifier-prefixes="St" c:symbol-prefixes="st"> <class name="Adjustment" c:symbol-prefix="adjustment" c:type="StAdjustment" parent="GObject.Object" glib:type-name="StAdjustment" glib:get-type="st_adjustment_get_type" glib:type-struct="AdjustmentClass"> <source-position filename="../src/st/st-adjustment.h" line="49"/> <implements name="Clutter.Animatable"/> <constructor name="new" c:identifier="st_adjustment_new"> <source-position filename="../src/st/st-adjustment.h" line="51"/> <return-value transfer-ownership="full"> <type name="Adjustment" c:type="StAdjustment*"/> </return-value> <parameters> <parameter name="value" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="lower" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="upper" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="step_increment" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="page_increment" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="page_size" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> </parameters> </constructor> <virtual-method name="changed"> <source-position filename="../src/st/st-adjustment.h" line="48"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> </parameters> </virtual-method> <method name="add_transition" c:identifier="st_adjustment_add_transition"> <source-position filename="../src/st/st-adjustment.h" line="83"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> <parameter name="name" transfer-ownership="none"> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="transition" transfer-ownership="none"> <type name="Clutter.Transition" c:type="ClutterTransition*"/> </parameter> </parameters> </method> <method name="adjust_for_scroll_event" c:identifier="st_adjustment_adjust_for_scroll_event"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="585">Adjusts the adjustment using delta values from a scroll event. You should use this instead of using st_adjustment_set_value() as this method will tweak the values directly using the same math as GTK+, to ensure that scrolling is consistent across the environment.</doc> <source-position filename="../src/st/st-adjustment.h" line="78"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="587">An #StAdjustment</doc> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> <parameter name="delta" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="588">A delta, retrieved directly from clutter_event_get_scroll_delta() or similar.</doc> <type name="gdouble" c:type="gdouble"/> </parameter> </parameters> </method> <method name="clamp_page" c:identifier="st_adjustment_clamp_page"> <source-position filename="../src/st/st-adjustment.h" line="60"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> <parameter name="lower" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="upper" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> </parameters> </method> <method name="get_transition" c:identifier="st_adjustment_get_transition"> <source-position filename="../src/st/st-adjustment.h" line="81"/> <return-value transfer-ownership="none" nullable="1"> <type name="Clutter.Transition" c:type="ClutterTransition*"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> <parameter name="name" transfer-ownership="none"> <type name="utf8" c:type="const char*"/> </parameter> </parameters> </method> <method name="get_value" c:identifier="st_adjustment_get_value"> <source-position filename="../src/st/st-adjustment.h" line="57"/> <return-value transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> </parameters> </method> <method name="get_values" c:identifier="st_adjustment_get_values"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="539">Gets all of @adjustment's values at once.</doc> <source-position filename="../src/st/st-adjustment.h" line="70"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="541">an #StAdjustment</doc> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> <parameter name="value" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="542">the current value</doc> <type name="gdouble" c:type="gdouble*"/> </parameter> <parameter name="lower" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="543">the lower bound</doc> <type name="gdouble" c:type="gdouble*"/> </parameter> <parameter name="upper" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="544">the upper bound</doc> <type name="gdouble" c:type="gdouble*"/> </parameter> <parameter name="step_increment" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="545">the step increment</doc> <type name="gdouble" c:type="gdouble*"/> </parameter> <parameter name="page_increment" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="546">the page increment</doc> <type name="gdouble" c:type="gdouble*"/> </parameter> <parameter name="page_size" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="547">the page size</doc> <type name="gdouble" c:type="gdouble*"/> </parameter> </parameters> </method> <method name="remove_transition" c:identifier="st_adjustment_remove_transition"> <source-position filename="../src/st/st-adjustment.h" line="86"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> <parameter name="name" transfer-ownership="none"> <type name="utf8" c:type="const char*"/> </parameter> </parameters> </method> <method name="set_value" c:identifier="st_adjustment_set_value"> <source-position filename="../src/st/st-adjustment.h" line="58"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> <parameter name="value" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> </parameters> </method> <method name="set_values" c:identifier="st_adjustment_set_values"> <source-position filename="../src/st/st-adjustment.h" line="63"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </instance-parameter> <parameter name="value" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="lower" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="upper" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="step_increment" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="page_increment" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="page_size" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </parameter> </parameters> </method> <property name="lower" writable="1" construct="1" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </property> <property name="page-increment" writable="1" construct="1" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </property> <property name="page-size" writable="1" construct="1" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </property> <property name="step-increment" writable="1" construct="1" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </property> <property name="upper" writable="1" construct="1" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </property> <property name="value" writable="1" construct="1" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </property> <field name="parent_instance"> <type name="GObject.Object" c:type="GObject"/> </field> <glib:signal name="changed" when="last"> <doc xml:space="preserve" filename="../src/st/st-adjustment.c" line="279">Emitted when any of the adjustment values have changed</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> </class> <record name="AdjustmentClass" c:type="StAdjustmentClass" glib:is-gtype-struct-for="Adjustment"> <doc xml:space="preserve" filename="../src/st/st-adjustment.h" line="36">Base class for #StAdjustment.</doc> <source-position filename="../src/st/st-adjustment.h" line="49"/> <field name="parent_class" readable="0" private="1"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> <field name="changed"> <callback name="changed"> <source-position filename="../src/st/st-adjustment.h" line="48"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </parameter> </parameters> </callback> </field> </record> <enumeration name="Align" glib:type-name="StAlign" glib:get-type="st_align_get_type" c:type="StAlign"> <member name="start" value="0" c:identifier="ST_ALIGN_START" glib:nick="start"> </member> <member name="middle" value="1" c:identifier="ST_ALIGN_MIDDLE" glib:nick="middle"> </member> <member name="end" value="2" c:identifier="ST_ALIGN_END" glib:nick="end"> </member> </enumeration> <function-macro name="BUTTON_MASK_FROM_BUTTON" c:identifier="ST_BUTTON_MASK_FROM_BUTTON" introspectable="0"> <source-position filename="../src/st/st-button.h" line="74"/> <parameters> <parameter name="button"> </parameter> </parameters> </function-macro> <enumeration name="BackgroundSize" glib:type-name="StBackgroundSize" glib:get-type="st_background_size_get_type" c:type="StBackgroundSize"> <member name="auto" value="0" c:identifier="ST_BACKGROUND_SIZE_AUTO" glib:nick="auto"> </member> <member name="contain" value="1" c:identifier="ST_BACKGROUND_SIZE_CONTAIN" glib:nick="contain"> </member> <member name="cover" value="2" c:identifier="ST_BACKGROUND_SIZE_COVER" glib:nick="cover"> </member> <member name="fixed" value="3" c:identifier="ST_BACKGROUND_SIZE_FIXED" glib:nick="fixed"> </member> </enumeration> <class name="Bin" c:symbol-prefix="bin" c:type="StBin" parent="Widget" glib:type-name="StBin" glib:get-type="st_bin_get_type" glib:type-struct="BinClass"> <source-position filename="../src/st/st-bin.h" line="44"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <constructor name="new" c:identifier="st_bin_new"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="379">Creates a new #StBin, a simple container for one child.</doc> <source-position filename="../src/st/st-bin.h" line="46"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="384">the newly created #StBin actor</doc> <type name="Widget" c:type="StWidget*"/> </return-value> </constructor> <method name="get_child" c:identifier="st_bin_get_child"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="444">Retrieves a pointer to the child of @bin.</doc> <source-position filename="../src/st/st-bin.h" line="49"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="450">a #ClutterActor, or %NULL</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="bin" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="446">a #StBin</doc> <type name="Bin" c:type="StBin*"/> </instance-parameter> </parameters> </method> <method name="get_fill" c:identifier="st_bin_get_fill"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="499">Retrieves the horizontal and vertical fill settings</doc> <source-position filename="../src/st/st-bin.h" line="53"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="bin" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="501">a #StBin</doc> <type name="Bin" c:type="StBin*"/> </instance-parameter> <parameter name="x_fill" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="502">return location for the horizontal fill, or %NULL</doc> <type name="gboolean" c:type="gboolean*"/> </parameter> <parameter name="y_fill" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="503">return location for the vertical fill, or %NULL</doc> <type name="gboolean" c:type="gboolean*"/> </parameter> </parameters> </method> <method name="set_child" c:identifier="st_bin_set_child"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="392">Sets @child as the child of @bin. If @bin already has a child, the previous child is removed.</doc> <source-position filename="../src/st/st-bin.h" line="47"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="bin" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="394">a #StBin</doc> <type name="Bin" c:type="StBin*"/> </instance-parameter> <parameter name="child" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="395">a #ClutterActor, or %NULL</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> </parameters> </method> <method name="set_fill" c:identifier="st_bin_set_fill"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="460">Sets whether the child of @bin should fill out the horizontal and/or vertical allocation of the parent</doc> <source-position filename="../src/st/st-bin.h" line="50"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="bin" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="462">a #StBin</doc> <type name="Bin" c:type="StBin*"/> </instance-parameter> <parameter name="x_fill" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="463">%TRUE if the child should fill horizontally the @bin</doc> <type name="gboolean" c:type="gboolean"/> </parameter> <parameter name="y_fill" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="464">%TRUE if the child should fill vertically the @bin</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <property name="child" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="333">The child #ClutterActor of the #StBin container.</doc> <type name="Clutter.Actor"/> </property> <property name="x-fill" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="345">Whether the child should fill the horizontal allocation</doc> <type name="gboolean" c:type="gboolean"/> </property> <property name="y-fill" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-bin.c" line="358">Whether the child should fill the vertical allocation</doc> <type name="gboolean" c:type="gboolean"/> </property> <field name="parent_instance"> <type name="Widget" c:type="StWidget"/> </field> </class> <record name="BinClass" c:type="StBinClass" glib:is-gtype-struct-for="Bin"> <doc xml:space="preserve" filename="../src/st/st-bin.h" line="35">The #StBinClass struct contains only private data</doc> <source-position filename="../src/st/st-bin.h" line="44"/> <field name="parent_class" readable="0" private="1"> <type name="WidgetClass" c:type="StWidgetClass"/> </field> </record> <class name="BorderImage" c:symbol-prefix="border_image" c:type="StBorderImage" parent="GObject.Object" glib:type-name="StBorderImage" glib:get-type="st_border_image_get_type" glib:type-struct="BorderImageClass"> <source-position filename="../src/st/st-border-image.h" line="33"/> <constructor name="new" c:identifier="st_border_image_new"> <source-position filename="../src/st/st-border-image.h" line="35"/> <return-value transfer-ownership="full"> <type name="BorderImage" c:type="StBorderImage*"/> </return-value> <parameters> <parameter name="file" transfer-ownership="none"> <type name="Gio.File" c:type="GFile*"/> </parameter> <parameter name="border_top" transfer-ownership="none"> <type name="gint" c:type="int"/> </parameter> <parameter name="border_right" transfer-ownership="none"> <type name="gint" c:type="int"/> </parameter> <parameter name="border_bottom" transfer-ownership="none"> <type name="gint" c:type="int"/> </parameter> <parameter name="border_left" transfer-ownership="none"> <type name="gint" c:type="int"/> </parameter> <parameter name="scale_factor" transfer-ownership="none"> <type name="gint" c:type="int"/> </parameter> </parameters> </constructor> <method name="equal" c:identifier="st_border_image_equal"> <doc xml:space="preserve" filename="../src/st/st-border-image.c" line="124">Check if two border_image objects are identical.</doc> <source-position filename="../src/st/st-border-image.h" line="49"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-border-image.c" line="131">%TRUE if the two border image objects are identical</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="image" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-border-image.c" line="126">a #StBorder_Image</doc> <type name="BorderImage" c:type="StBorderImage*"/> </instance-parameter> <parameter name="other" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-border-image.c" line="127">a different #StBorder_Image</doc> <type name="BorderImage" c:type="StBorderImage*"/> </parameter> </parameters> </method> <method name="get_borders" c:identifier="st_border_image_get_borders"> <source-position filename="../src/st/st-border-image.h" line="43"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="image" transfer-ownership="none"> <type name="BorderImage" c:type="StBorderImage*"/> </instance-parameter> <parameter name="border_top" transfer-ownership="none"> <type name="gint" c:type="int*"/> </parameter> <parameter name="border_right" transfer-ownership="none"> <type name="gint" c:type="int*"/> </parameter> <parameter name="border_bottom" transfer-ownership="none"> <type name="gint" c:type="int*"/> </parameter> <parameter name="border_left" transfer-ownership="none"> <type name="gint" c:type="int*"/> </parameter> </parameters> </method> <method name="get_file" c:identifier="st_border_image_get_file"> <source-position filename="../src/st/st-border-image.h" line="42"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-border-image.c" line="95">the #GFile for the #StBorder_Image</doc> <type name="Gio.File" c:type="GFile*"/> </return-value> <parameters> <instance-parameter name="image" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-border-image.c" line="93">a #StBorder_Image</doc> <type name="BorderImage" c:type="StBorderImage*"/> </instance-parameter> </parameters> </method> </class> <record name="BorderImageClass" c:type="StBorderImageClass" glib:is-gtype-struct-for="BorderImage"> <source-position filename="../src/st/st-border-image.h" line="33"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> </record> <class name="BoxLayout" c:symbol-prefix="box_layout" c:type="StBoxLayout" parent="Viewport" glib:type-name="StBoxLayout" glib:get-type="st_box_layout_get_type" glib:type-struct="BoxLayoutClass"> <doc xml:space="preserve" filename="../src/st/st-box-layout.h" line="39">The contents of this structure are private and should only be accessed through the public API.</doc> <source-position filename="../src/st/st-box-layout.h" line="34"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <implements name="Scrollable"/> <constructor name="new" c:identifier="st_box_layout_new"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="219">Create a new #StBoxLayout.</doc> <source-position filename="../src/st/st-box-layout.h" line="53"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="224">a newly allocated #StBoxLayout</doc> <type name="Widget" c:type="StWidget*"/> </return-value> </constructor> <method name="get_pack_start" c:identifier="st_box_layout_get_pack_start"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="306">Get the value of the #StBoxLayout::pack-start property.</doc> <source-position filename="../src/st/st-box-layout.h" line="61"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="312">%TRUE if pack-start is enabled</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="box" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="308">A #StBoxLayout</doc> <type name="BoxLayout" c:type="StBoxLayout*"/> </instance-parameter> </parameters> </method> <method name="get_vertical" c:identifier="st_box_layout_get_vertical"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="260">Get the value of the #StBoxLayout::vertical property.</doc> <source-position filename="../src/st/st-box-layout.h" line="57"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="266">%TRUE if the layout is vertical</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="box" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="262">A #StBoxLayout</doc> <type name="BoxLayout" c:type="StBoxLayout*"/> </instance-parameter> </parameters> </method> <method name="set_pack_start" c:identifier="st_box_layout_set_pack_start"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="281">Set the value of the #StBoxLayout::pack-start property.</doc> <source-position filename="../src/st/st-box-layout.h" line="59"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="box" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="283">A #StBoxLayout</doc> <type name="BoxLayout" c:type="StBoxLayout*"/> </instance-parameter> <parameter name="pack_start" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="284">%TRUE if the layout should use pack-start</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <method name="set_vertical" c:identifier="st_box_layout_set_vertical"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="232">Set the value of the #StBoxLayout::vertical property</doc> <source-position filename="../src/st/st-box-layout.h" line="55"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="box" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="234">A #StBoxLayout</doc> <type name="BoxLayout" c:type="StBoxLayout*"/> </instance-parameter> <parameter name="vertical" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-box-layout.c" line="235">%TRUE if the layout should be vertical</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <property name="pack-start" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="vertical" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <field name="parent" readable="0" private="1"> <type name="Viewport" c:type="StViewport"/> </field> <field name="priv" readable="0" private="1"> <type name="BoxLayoutPrivate" c:type="StBoxLayoutPrivate*"/> </field> </class> <class name="BoxLayoutChild" c:symbol-prefix="box_layout_child" c:type="StBoxLayoutChild" parent="Clutter.ChildMeta" glib:type-name="StBoxLayoutChild" glib:get-type="st_box_layout_child_get_type" glib:type-struct="BoxLayoutChildClass"> <doc xml:space="preserve" filename="../src/st/st-box-layout-child.h" line="35">The contents of this structure are private and should only be accessed through the public API.</doc> <source-position filename="../src/st/st-box-layout-child.h" line="30"/> <property name="expand" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="x-align" writable="1" transfer-ownership="none"> <type name="Align"/> </property> <property name="x-fill" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="y-align" writable="1" transfer-ownership="none"> <type name="Align"/> </property> <property name="y-fill" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <field name="parent" readable="0" private="1"> <type name="Clutter.ChildMeta" c:type="ClutterChildMeta"/> </field> <field name="x_fill_set" readable="0" private="1"> <type name="gboolean" c:type="gboolean"/> </field> <field name="y_fill_set" readable="0" private="1"> <type name="gboolean" c:type="gboolean"/> </field> </class> <record name="BoxLayoutChildClass" c:type="StBoxLayoutChildClass" glib:is-gtype-struct-for="BoxLayoutChild"> <source-position filename="../src/st/st-box-layout-child.h" line="30"/> <field name="parent_class"> <type name="Clutter.ChildMetaClass" c:type="ClutterChildMetaClass"/> </field> </record> <record name="BoxLayoutChildPrivate" c:type="StBoxLayoutChildPrivate" disguised="1"> <source-position filename="../src/st/st-box-layout-child.h" line="33"/> </record> <record name="BoxLayoutClass" c:type="StBoxLayoutClass" glib:is-gtype-struct-for="BoxLayout"> <source-position filename="../src/st/st-box-layout.h" line="34"/> <field name="parent_class"> <type name="ViewportClass" c:type="StViewportClass"/> </field> </record> <record name="BoxLayoutPrivate" c:type="StBoxLayoutPrivate" disguised="1"> <source-position filename="../src/st/st-box-layout.h" line="37"/> </record> <class name="Button" c:symbol-prefix="button" c:type="StButton" parent="Bin" glib:type-name="StButton" glib:get-type="st_button_get_type" glib:type-struct="ButtonClass"> <source-position filename="../src/st/st-button.h" line="44"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <constructor name="new" c:identifier="st_button_new"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="555">Create a new button</doc> <source-position filename="../src/st/st-button.h" line="46"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="560">a new #StButton</doc> <type name="Widget" c:type="StWidget*"/> </return-value> </constructor> <constructor name="new_with_label" c:identifier="st_button_new_with_label"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="568">Create a new #StButton with the specified label</doc> <source-position filename="../src/st/st-button.h" line="47"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="574">a new #StButton</doc> <type name="Widget" c:type="StWidget*"/> </return-value> <parameters> <parameter name="text" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="570">text to set the label to</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </constructor> <virtual-method name="clicked"> <source-position filename="../src/st/st-button.h" line="43"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <type name="Button" c:type="StButton*"/> </instance-parameter> <parameter name="clicked_button" transfer-ownership="none"> <type name="gint" c:type="int"/> </parameter> </parameters> </virtual-method> <virtual-method name="transition"> <source-position filename="../src/st/st-button.h" line="40"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <type name="Button" c:type="StButton*"/> </instance-parameter> </parameters> </virtual-method> <method name="fake_release" c:identifier="st_button_fake_release"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="771">If this widget is holding a pointer grab, this function will will ungrab it, and reset the pressed state. The effect is similar to if the user had released the mouse button, but without emitting the clicked signal. This function is useful if for example you want to do something after the user is holding the mouse button for a given period of time, breaking the grab.</doc> <source-position filename="../src/st/st-button.h" line="58"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="773">an #StButton</doc> <type name="Button" c:type="StButton*"/> </instance-parameter> </parameters> </method> <method name="get_button_mask" c:identifier="st_button_get_button_mask"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="648">Gets the mask of mouse buttons that @button emits the #StButton::clicked signal for.</doc> <source-position filename="../src/st/st-button.h" line="78"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="655">the mask of mouse buttons that @button emits the #StButton::clicked signal for.</doc> <type name="ButtonMask" c:type="StButtonMask"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="650">a #StButton</doc> <type name="Button" c:type="StButton*"/> </instance-parameter> </parameters> </method> <method name="get_checked" c:identifier="st_button_get_checked"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="725">Get the state of the button that is in toggle mode.</doc> <source-position filename="../src/st/st-button.h" line="56"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="731">%TRUE if the button is checked, or %FALSE if not</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="727">a #StButton</doc> <type name="Button" c:type="StButton*"/> </instance-parameter> </parameters> </method> <method name="get_label" c:identifier="st_button_get_label"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="582">Get the text displayed on the button</doc> <source-position filename="../src/st/st-button.h" line="48"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="588">the text for the button. This must not be freed by the application</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="584">a #StButton</doc> <type name="Button" c:type="StButton*"/> </instance-parameter> </parameters> </method> <method name="get_toggle_mode" c:identifier="st_button_get_toggle_mode"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="687">Get the toggle mode status of the button.</doc> <source-position filename="../src/st/st-button.h" line="53"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="693">%TRUE if toggle mode is set, otherwise %FALSE</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="689">a #StButton</doc> <type name="Button" c:type="StButton*"/> </instance-parameter> </parameters> </method> <method name="set_button_mask" c:identifier="st_button_set_button_mask"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="666">Sets which mouse buttons @button emits #StButton::clicked for.</doc> <source-position filename="../src/st/st-button.h" line="76"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="668">a #Stbutton</doc> <type name="Button" c:type="StButton*"/> </instance-parameter> <parameter name="mask" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="669">the mask of mouse buttons that @button responds to</doc> <type name="ButtonMask" c:type="StButtonMask"/> </parameter> </parameters> </method> <method name="set_checked" c:identifier="st_button_set_checked"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="741">Sets the pressed state of the button. This is only really useful if the button has #toggle-mode mode set to %TRUE.</doc> <source-position filename="../src/st/st-button.h" line="54"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="743">a #Stbutton</doc> <type name="Button" c:type="StButton*"/> </instance-parameter> <parameter name="checked" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="744">%TRUE or %FALSE</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <method name="set_label" c:identifier="st_button_set_label"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="598">Sets the text displayed on the button</doc> <source-position filename="../src/st/st-button.h" line="49"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="600">a #Stbutton</doc> <type name="Button" c:type="StButton*"/> </instance-parameter> <parameter name="text" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="601">text to set the label to</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="set_toggle_mode" c:identifier="st_button_set_toggle_mode"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="703">Enables or disables toggle mode for the button. In toggle mode, the active state will be "toggled" when the user clicks the button.</doc> <source-position filename="../src/st/st-button.h" line="51"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="705">a #Stbutton</doc> <type name="Button" c:type="StButton*"/> </instance-parameter> <parameter name="toggle" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="706">%TRUE or %FALSE</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <property name="button-mask" writable="1" transfer-ownership="none"> <type name="ButtonMask"/> </property> <property name="checked" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="label" writable="1" transfer-ownership="none"> <type name="utf8" c:type="gchar*"/> </property> <property name="pressed" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="toggle-mode" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <field name="parent_instance"> <type name="Bin" c:type="StBin"/> </field> <glib:signal name="clicked" when="last"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="525">Emitted when the user activates the button, either with a mouse press and release or with the keyboard.</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="clicked_button" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-button.c" line="528">the mouse button that was used</doc> <type name="gint" c:type="gint"/> </parameter> </parameters> </glib:signal> </class> <record name="ButtonClass" c:type="StButtonClass" glib:is-gtype-struct-for="Button"> <source-position filename="../src/st/st-button.h" line="44"/> <field name="parent_class"> <type name="BinClass" c:type="StBinClass"/> </field> <field name="transition"> <callback name="transition"> <source-position filename="../src/st/st-button.h" line="40"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="button" transfer-ownership="none"> <type name="Button" c:type="StButton*"/> </parameter> </parameters> </callback> </field> <field name="clicked"> <callback name="clicked"> <source-position filename="../src/st/st-button.h" line="43"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="button" transfer-ownership="none"> <type name="Button" c:type="StButton*"/> </parameter> <parameter name="clicked_button" transfer-ownership="none"> <type name="gint" c:type="int"/> </parameter> </parameters> </callback> </field> </record> <bitfield name="ButtonMask" glib:type-name="StButtonMask" glib:get-type="st_button_mask_get_type" c:type="StButtonMask"> <doc xml:space="preserve" filename="../src/st/st-button.h" line="60">A mask representing which mouse buttons an StButton responds to.</doc> <member name="one" value="1" c:identifier="ST_BUTTON_ONE" glib:nick="one"> <doc xml:space="preserve" filename="../src/st/st-button.h" line="62">button 1 (left)</doc> </member> <member name="two" value="2" c:identifier="ST_BUTTON_TWO" glib:nick="two"> <doc xml:space="preserve" filename="../src/st/st-button.h" line="63">button 2 (middle)</doc> </member> <member name="three" value="4" c:identifier="ST_BUTTON_THREE" glib:nick="three"> <doc xml:space="preserve" filename="../src/st/st-button.h" line="64">button 3 (right)</doc> </member> </bitfield> <class name="Clipboard" c:symbol-prefix="clipboard" c:type="StClipboard" parent="GObject.Object" glib:type-name="StClipboard" glib:get-type="st_clipboard_get_type" glib:type-struct="ClipboardClass"> <doc xml:space="preserve" filename="../src/st/st-clipboard.h" line="37">The contents of this structure is private and should only be accessed using the provided API.</doc> <source-position filename="../src/st/st-clipboard.h" line="33"/> <function name="get_default" c:identifier="st_clipboard_get_default"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="67">Get the global #StClipboard object that represents the clipboard.</doc> <source-position filename="../src/st/st-clipboard.h" line="66"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="72">a #StClipboard owned by St and must not be unrefferenced or freed.</doc> <type name="Clipboard" c:type="StClipboard*"/> </return-value> </function> <function name="set_selection" c:identifier="st_clipboard_set_selection"> <source-position filename="../src/st/st-clipboard.h" line="81"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="selection" transfer-ownership="none"> <type name="Meta.Selection" c:type="MetaSelection*"/> </parameter> </parameters> </function> <method name="get_text" c:identifier="st_clipboard_get_text"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="149">Request the data from the clipboard in text form. @callback is executed when the data is retreived.</doc> <source-position filename="../src/st/st-clipboard.h" line="68"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="clipboard" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="151">A #StCliboard</doc> <type name="Clipboard" c:type="StClipboard*"/> </instance-parameter> <parameter name="type" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="152">The type of clipboard data you want</doc> <type name="ClipboardType" c:type="StClipboardType"/> </parameter> <parameter name="callback" transfer-ownership="none" scope="async" closure="2"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="153">function to be called when the text is retreived</doc> <type name="ClipboardCallbackFunc" c:type="StClipboardCallbackFunc"/> </parameter> <parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="154">data to be passed to the callback</doc> <type name="gpointer" c:type="gpointer"/> </parameter> </parameters> </method> <method name="set_content" c:identifier="st_clipboard_set_content"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="197">Sets the clipboard content.</doc> <source-position filename="../src/st/st-clipboard.h" line="76"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="clipboard" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="199">A #StClipboard</doc> <type name="Clipboard" c:type="StClipboard*"/> </instance-parameter> <parameter name="type" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="200">The type of clipboard that you want to set</doc> <type name="ClipboardType" c:type="StClipboardType"/> </parameter> <parameter name="mimetype" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="201">content mimetype</doc> <type name="utf8" c:type="const gchar*"/> </parameter> <parameter name="bytes" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="202">content data</doc> <type name="GLib.Bytes" c:type="GBytes*"/> </parameter> </parameters> </method> <method name="set_text" c:identifier="st_clipboard_set_text"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="227">Sets text as the current contents of the clipboard.</doc> <source-position filename="../src/st/st-clipboard.h" line="72"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="clipboard" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="229">A #StClipboard</doc> <type name="Clipboard" c:type="StClipboard*"/> </instance-parameter> <parameter name="type" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="230">The type of clipboard that you want to set</doc> <type name="ClipboardType" c:type="StClipboardType"/> </parameter> <parameter name="text" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.c" line="231">text to copy to the clipboard</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <field name="parent" readable="0" private="1"> <type name="GObject.Object" c:type="GObject"/> </field> </class> <callback name="ClipboardCallbackFunc" c:type="StClipboardCallbackFunc"> <doc xml:space="preserve" filename="../src/st/st-clipboard.h" line="54">Callback function called when text is retrieved from the clipboard.</doc> <source-position filename="../src/st/st-clipboard.h" line="62"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="clipboard" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.h" line="56">A #StClipboard</doc> <type name="Clipboard" c:type="StClipboard*"/> </parameter> <parameter name="text" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-clipboard.h" line="57">text from the clipboard</doc> <type name="utf8" c:type="const gchar*"/> </parameter> <parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="2"> <doc xml:space="preserve" filename="../src/st/st-clipboard.h" line="58">user data</doc> <type name="gpointer" c:type="gpointer"/> </parameter> </parameters> </callback> <record name="ClipboardClass" c:type="StClipboardClass" glib:is-gtype-struct-for="Clipboard"> <source-position filename="../src/st/st-clipboard.h" line="33"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> </record> <enumeration name="ClipboardType" glib:type-name="StClipboardType" glib:get-type="st_clipboard_type_get_type" c:type="StClipboardType"> <member name="primary" value="0" c:identifier="ST_CLIPBOARD_TYPE_PRIMARY" glib:nick="primary"> </member> <member name="clipboard" value="1" c:identifier="ST_CLIPBOARD_TYPE_CLIPBOARD" glib:nick="clipboard"> </member> </enumeration> <enumeration name="Corner" glib:type-name="StCorner" glib:get-type="st_corner_get_type" c:type="StCorner"> <member name="topleft" value="0" c:identifier="ST_CORNER_TOPLEFT" glib:nick="topleft"> </member> <member name="topright" value="1" c:identifier="ST_CORNER_TOPRIGHT" glib:nick="topright"> </member> <member name="bottomright" value="2" c:identifier="ST_CORNER_BOTTOMRIGHT" glib:nick="bottomright"> </member> <member name="bottomleft" value="3" c:identifier="ST_CORNER_BOTTOMLEFT" glib:nick="bottomleft"> </member> </enumeration> <enumeration name="DirectionType" glib:type-name="StDirectionType" glib:get-type="st_direction_type_get_type" c:type="StDirectionType"> <member name="tab_forward" value="0" c:identifier="ST_DIR_TAB_FORWARD" glib:nick="tab-forward"> </member> <member name="tab_backward" value="1" c:identifier="ST_DIR_TAB_BACKWARD" glib:nick="tab-backward"> </member> <member name="up" value="2" c:identifier="ST_DIR_UP" glib:nick="up"> </member> <member name="down" value="3" c:identifier="ST_DIR_DOWN" glib:nick="down"> </member> <member name="left" value="4" c:identifier="ST_DIR_LEFT" glib:nick="left"> </member> <member name="right" value="5" c:identifier="ST_DIR_RIGHT" glib:nick="right"> </member> </enumeration> <class name="DrawingArea" c:symbol-prefix="drawing_area" c:type="StDrawingArea" parent="Widget" glib:type-name="StDrawingArea" glib:get-type="st_drawing_area_get_type" glib:type-struct="DrawingAreaClass"> <source-position filename="../src/st/st-drawing-area.h" line="36"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <virtual-method name="repaint"> <source-position filename="../src/st/st-drawing-area.h" line="35"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="area" transfer-ownership="none"> <type name="DrawingArea" c:type="StDrawingArea*"/> </instance-parameter> </parameters> </virtual-method> <method name="get_context" c:identifier="st_drawing_area_get_context"> <doc xml:space="preserve" filename="../src/st/st-drawing-area.c" line="170">Gets the Cairo context to paint to. This function must only be called from a signal hander for the ::repaint signal.</doc> <source-position filename="../src/st/st-drawing-area.h" line="39"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-drawing-area.c" line="177">the Cairo context for the paint operation</doc> <type name="cairo.Context" c:type="cairo_t*"/> </return-value> <parameters> <instance-parameter name="area" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-drawing-area.c" line="172">the #StDrawingArea</doc> <type name="DrawingArea" c:type="StDrawingArea*"/> </instance-parameter> </parameters> </method> <method name="get_surface_size" c:identifier="st_drawing_area_get_surface_size"> <doc xml:space="preserve" filename="../src/st/st-drawing-area.c" line="192">Gets the size of the cairo surface being painted to, which is equal to the size of the content area of the widget. This function must only be called from a signal hander for the ::repaint signal.</doc> <source-position filename="../src/st/st-drawing-area.h" line="40"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="area" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-drawing-area.c" line="194">the #StDrawingArea</doc> <type name="DrawingArea" c:type="StDrawingArea*"/> </instance-parameter> <parameter name="width" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-drawing-area.c" line="195">location to store the width of the painted area</doc> <type name="guint" c:type="guint*"/> </parameter> <parameter name="height" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-drawing-area.c" line="196">location to store the height of the painted area</doc> <type name="guint" c:type="guint*"/> </parameter> </parameters> </method> <method name="queue_repaint" c:identifier="st_drawing_area_queue_repaint"> <doc xml:space="preserve" filename="../src/st/st-drawing-area.c" line="152">Will cause the actor to emit a ::repaint signal before it is next drawn to the scene. Useful if some parameters for the area being drawn other than the size or style have changed. Note that clutter_actor_queue_redraw() will simply result in the same contents being drawn to the scene again.</doc> <source-position filename="../src/st/st-drawing-area.h" line="38"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="area" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-drawing-area.c" line="154">the #StDrawingArea</doc> <type name="DrawingArea" c:type="StDrawingArea*"/> </instance-parameter> </parameters> </method> <field name="parent_instance"> <type name="Widget" c:type="StWidget"/> </field> <glib:signal name="repaint" when="last"> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> </class> <record name="DrawingAreaClass" c:type="StDrawingAreaClass" glib:is-gtype-struct-for="DrawingArea"> <source-position filename="../src/st/st-drawing-area.h" line="36"/> <field name="parent_class"> <type name="WidgetClass" c:type="StWidgetClass"/> </field> <field name="repaint"> <callback name="repaint"> <source-position filename="../src/st/st-drawing-area.h" line="35"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="area" transfer-ownership="none"> <type name="DrawingArea" c:type="StDrawingArea*"/> </parameter> </parameters> </callback> </field> </record> <class name="Entry" c:symbol-prefix="entry" c:type="StEntry" parent="Widget" glib:type-name="StEntry" glib:get-type="st_entry_get_type" glib:type-struct="EntryClass"> <source-position filename="../src/st/st-entry.h" line="41"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <constructor name="new" c:identifier="st_entry_new"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1042">Create a new #StEntry with the specified entry</doc> <source-position filename="../src/st/st-entry.h" line="43"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1048">a new #StEntry</doc> <type name="Widget" c:type="StWidget*"/> </return-value> <parameters> <parameter name="text" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1044">text to set the entry to</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </constructor> <function name="set_cursor_func" c:identifier="st_entry_set_cursor_func" introspectable="0"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="754">This function is for private use by libgnome-shell. Do not ever use.</doc> <source-position filename="../src/st/st-entry.h" line="74"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="func" transfer-ownership="none" closure="1"> <type name="EntryCursorFunc" c:type="StEntryCursorFunc"/> </parameter> <parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1"> <type name="gpointer" c:type="gpointer"/> </parameter> </parameters> </function> <virtual-method name="primary_icon_clicked"> <source-position filename="../src/st/st-entry.h" line="39"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </virtual-method> <virtual-method name="secondary_icon_clicked"> <source-position filename="../src/st/st-entry.h" line="40"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </virtual-method> <method name="get_clutter_text" c:identifier="st_entry_get_clutter_text"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1106">Retrieve the internal #ClutterText so that extra parameters can be set</doc> <source-position filename="../src/st/st-entry.h" line="47"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1112">the #ClutterText used by #StEntry. The entry is owned by the #StEntry and should not be unref'ed by the application.</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1108">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </method> <method name="get_hint_actor" c:identifier="st_entry_get_hint_actor"> <source-position filename="../src/st/st-entry.h" line="71"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1416">a #ClutterActor</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1414">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </method> <method name="get_hint_text" c:identifier="st_entry_get_hint_text"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1146">Gets the text that is displayed when the entry is empty and unfocused</doc> <source-position filename="../src/st/st-entry.h" line="51"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1152">the current value of the hint property. This string is owned by the #StEntry and should not be freed or modified.</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1148">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </method> <method name="get_input_hints" c:identifier="st_entry_get_input_hints"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1244">Gets the value of the #StEntry:input-hints property.</doc> <source-position filename="../src/st/st-entry.h" line="59"/> <return-value transfer-ownership="none"> <type name="Clutter.InputContentHintFlags" c:type="ClutterInputContentHintFlags"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1246">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </method> <method name="get_input_purpose" c:identifier="st_entry_get_input_purpose"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1199">Gets the value of the #StEntry:input-purpose property.</doc> <source-position filename="../src/st/st-entry.h" line="58"/> <return-value transfer-ownership="none"> <type name="Clutter.InputContentPurpose" c:type="ClutterInputContentPurpose"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1201">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </method> <method name="get_primary_icon" c:identifier="st_entry_get_primary_icon"> <source-position filename="../src/st/st-entry.h" line="63"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1328">a #ClutterActor</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1326">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </method> <method name="get_secondary_icon" c:identifier="st_entry_get_secondary_icon"> <source-position filename="../src/st/st-entry.h" line="67"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1365">a #ClutterActor</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1363">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </method> <method name="get_text" c:identifier="st_entry_get_text"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1063">Get the text displayed on the entry</doc> <source-position filename="../src/st/st-entry.h" line="44"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1069">the text for the entry. This must not be freed by the application</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1065">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> </parameters> </method> <method name="set_hint_actor" c:identifier="st_entry_set_hint_actor"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1378">Set the hint actor of the entry to @hint_actor</doc> <source-position filename="../src/st/st-entry.h" line="69"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1380">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> <parameter name="hint_actor" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1381">a #ClutterActor</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> </parameters> </method> <method name="set_hint_text" c:identifier="st_entry_set_hint_text"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1123">Sets the text to display when the entry is empty and unfocused. When the entry is displaying the hint, it has a pseudo class of "indeterminate". A value of NULL unsets the hint.</doc> <source-position filename="../src/st/st-entry.h" line="49"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1125">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> <parameter name="text" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1126">text to set as the entry hint</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="set_input_hints" c:identifier="st_entry_set_input_hints"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1216">Sets the #StEntry:input-hints property, which allows input methods to fine-tune their behaviour.</doc> <source-position filename="../src/st/st-entry.h" line="55"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1218">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> <parameter name="hints" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1219">the hints</doc> <type name="Clutter.InputContentHintFlags" c:type="ClutterInputContentHintFlags"/> </parameter> </parameters> </method> <method name="set_input_purpose" c:identifier="st_entry_set_input_purpose"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1170">Sets the #StEntry:input-purpose property which can be used by on-screen keyboards and other input methods to adjust their behaviour.</doc> <source-position filename="../src/st/st-entry.h" line="53"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1172">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> <parameter name="purpose" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1173">the purpose</doc> <type name="Clutter.InputContentPurpose" c:type="ClutterInputContentPurpose"/> </parameter> </parameters> </method> <method name="set_primary_icon" c:identifier="st_entry_set_primary_icon"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1304">Set the primary icon of the entry to @icon</doc> <source-position filename="../src/st/st-entry.h" line="61"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1306">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> <parameter name="icon" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1307">a #ClutterActor</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> </parameters> </method> <method name="set_secondary_icon" c:identifier="st_entry_set_secondary_icon"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1341">Set the secondary icon of the entry to @icon</doc> <source-position filename="../src/st/st-entry.h" line="65"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1343">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> <parameter name="icon" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1344">an #ClutterActor</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> </parameters> </method> <method name="set_text" c:identifier="st_entry_set_text"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1083">Sets the text displayed on the entry</doc> <source-position filename="../src/st/st-entry.h" line="45"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1085">a #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </instance-parameter> <parameter name="text" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="1086">text to set the entry to</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <property name="clutter-text" transfer-ownership="none"> <type name="Clutter.Text"/> </property> <property name="hint-actor" writable="1" transfer-ownership="none"> <type name="Clutter.Actor"/> </property> <property name="hint-text" writable="1" transfer-ownership="none"> <type name="utf8" c:type="gchar*"/> </property> <property name="input-hints" writable="1" transfer-ownership="none"> <type name="Clutter.InputContentHintFlags"/> </property> <property name="input-purpose" writable="1" transfer-ownership="none"> <type name="Clutter.InputContentPurpose"/> </property> <property name="primary-icon" writable="1" transfer-ownership="none"> <type name="Clutter.Actor"/> </property> <property name="secondary-icon" writable="1" transfer-ownership="none"> <type name="Clutter.Actor"/> </property> <property name="text" writable="1" transfer-ownership="none"> <type name="utf8" c:type="gchar*"/> </property> <field name="parent_instance"> <type name="Widget" c:type="StWidget"/> </field> <glib:signal name="primary-icon-clicked" when="last"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="964">Emitted when the primary icon is clicked</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> <glib:signal name="secondary-icon-clicked" when="last"> <doc xml:space="preserve" filename="../src/st/st-entry.c" line="978">Emitted when the secondary icon is clicked</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> </class> <record name="EntryClass" c:type="StEntryClass" glib:is-gtype-struct-for="Entry"> <source-position filename="../src/st/st-entry.h" line="41"/> <field name="parent_class"> <type name="WidgetClass" c:type="StWidgetClass"/> </field> <field name="primary_icon_clicked"> <callback name="primary_icon_clicked"> <source-position filename="../src/st/st-entry.h" line="39"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="entry" transfer-ownership="none"> <type name="Entry" c:type="StEntry*"/> </parameter> </parameters> </callback> </field> <field name="secondary_icon_clicked"> <callback name="secondary_icon_clicked"> <source-position filename="../src/st/st-entry.h" line="40"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="entry" transfer-ownership="none"> <type name="Entry" c:type="StEntry*"/> </parameter> </parameters> </callback> </field> </record> <callback name="EntryCursorFunc" c:type="StEntryCursorFunc"> <source-position filename="../src/st/st-entry.h" line="73"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="entry" transfer-ownership="none"> <type name="Entry" c:type="StEntry*"/> </parameter> <parameter name="use_ibeam" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </parameter> <parameter name="data" transfer-ownership="none" nullable="1" allow-none="1"> <type name="gpointer" c:type="gpointer"/> </parameter> </parameters> </callback> <class name="FocusManager" c:symbol-prefix="focus_manager" c:type="StFocusManager" parent="GObject.Object" glib:type-name="StFocusManager" glib:get-type="st_focus_manager_get_type" glib:type-struct="FocusManagerClass"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.h" line="39">The #StFocusManager struct contains only private data</doc> <source-position filename="../src/st/st-focus-manager.h" line="34"/> <function name="get_for_stage" c:identifier="st_focus_manager_get_for_stage"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="130">Gets the #StFocusManager for @stage, creating it if necessary.</doc> <source-position filename="../src/st/st-focus-manager.h" line="52"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="136">the focus manager for @stage</doc> <type name="FocusManager" c:type="StFocusManager*"/> </return-value> <parameters> <parameter name="stage" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="132">a #ClutterStage</doc> <type name="Clutter.Stage" c:type="ClutterStage*"/> </parameter> </parameters> </function> <method name="add_group" c:identifier="st_focus_manager_add_group"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="166">Adds a new focus group to @manager. When the focus is in an actor that is a descendant of @root, @manager will handle moving focus from one actor to another within @root based on keyboard events.</doc> <source-position filename="../src/st/st-focus-manager.h" line="54"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="manager" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="168">the #StFocusManager</doc> <type name="FocusManager" c:type="StFocusManager*"/> </instance-parameter> <parameter name="root" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="169">the root container of the group</doc> <type name="Widget" c:type="StWidget*"/> </parameter> </parameters> </method> <method name="get_group" c:identifier="st_focus_manager_get_group"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="210">Checks if @widget is inside a focus group, and if so, returns the root of that group.</doc> <source-position filename="../src/st/st-focus-manager.h" line="58"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="218">the focus group root, or %NULL if @widget is not in a focus group</doc> <type name="Widget" c:type="StWidget*"/> </return-value> <parameters> <instance-parameter name="manager" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="212">the #StFocusManager</doc> <type name="FocusManager" c:type="StFocusManager*"/> </instance-parameter> <parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="213">an #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </parameter> </parameters> </method> <method name="navigate_from_event" c:identifier="st_focus_manager_navigate_from_event"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="233">Try to navigate from @event as if it bubbled all the way up to the stage. This is useful in complex event handling situations where you want key navigation, but a parent might be stopping the key navigation event from bubbling all the way up to the stage.</doc> <source-position filename="../src/st/st-focus-manager.h" line="60"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="243">Whether a new actor was navigated to</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="manager" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="235">the #StFocusManager</doc> <type name="FocusManager" c:type="StFocusManager*"/> </instance-parameter> <parameter name="event" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="236">a #ClutterEvent</doc> <type name="Clutter.Event" c:type="ClutterEvent*"/> </parameter> </parameters> </method> <method name="remove_group" c:identifier="st_focus_manager_remove_group"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="188">Removes the group rooted at @root from @manager</doc> <source-position filename="../src/st/st-focus-manager.h" line="56"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="manager" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="190">the #StFocusManager</doc> <type name="FocusManager" c:type="StFocusManager*"/> </instance-parameter> <parameter name="root" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-focus-manager.c" line="191">the root container of the group</doc> <type name="Widget" c:type="StWidget*"/> </parameter> </parameters> </method> <field name="parent_instance" readable="0" private="1"> <type name="GObject.Object" c:type="GObject"/> </field> <field name="priv" readable="0" private="1"> <type name="FocusManagerPrivate" c:type="StFocusManagerPrivate*"/> </field> </class> <record name="FocusManagerClass" c:type="StFocusManagerClass" glib:is-gtype-struct-for="FocusManager"> <source-position filename="../src/st/st-focus-manager.h" line="34"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> </record> <record name="FocusManagerPrivate" c:type="StFocusManagerPrivate" disguised="1"> <source-position filename="../src/st/st-focus-manager.h" line="37"/> </record> <function-macro name="GENERIC_ACCESSIBLE" c:identifier="ST_GENERIC_ACCESSIBLE" introspectable="0"> <source-position filename="../src/st/st-generic-accessible.h" line="33"/> <parameters> <parameter name="obj"> </parameter> </parameters> </function-macro> <function-macro name="GENERIC_ACCESSIBLE_CLASS" c:identifier="ST_GENERIC_ACCESSIBLE_CLASS" introspectable="0"> <source-position filename="../src/st/st-generic-accessible.h" line="34"/> <parameters> <parameter name="klass"> </parameter> </parameters> </function-macro> <function-macro name="GENERIC_ACCESSIBLE_GET_CLASS" c:identifier="ST_GENERIC_ACCESSIBLE_GET_CLASS" introspectable="0"> <source-position filename="../src/st/st-generic-accessible.h" line="37"/> <parameters> <parameter name="obj"> </parameter> </parameters> </function-macro> <class name="GenericAccessible" c:symbol-prefix="generic_accessible" c:type="StGenericAccessible" parent="WidgetAccessible" glib:type-name="StGenericAccessible" glib:get-type="st_generic_accessible_get_type" glib:type-struct="GenericAccessibleClass"> <source-position filename="../src/st/st-generic-accessible.h" line="54"/> <implements name="Atk.Action"/> <implements name="Atk.Component"/> <implements name="Atk.Value"/> <constructor name="new_for_actor" c:identifier="st_generic_accessible_new_for_actor"> <source-position filename="../src/st/st-generic-accessible.h" line="58"/> <return-value transfer-ownership="full"> <type name="Atk.Object" c:type="AtkObject*"/> </return-value> <parameters> <parameter name="actor" transfer-ownership="none"> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> </parameters> </constructor> <field name="parent"> <type name="WidgetAccessible" c:type="StWidgetAccessible"/> </field> <field name="priv"> <type name="GenericAccessiblePrivate" c:type="StGenericAccessiblePrivate*"/> </field> <glib:signal name="get-current-value" when="last"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="67">Emitted when atk_value_get_current_value() is called on @self. Right now we only care about doubles, so the value is directly returned by the signal.</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="75">value of the current element.</doc> <type name="gdouble" c:type="gdouble"/> </return-value> </glib:signal> <glib:signal name="get-maximum-value" when="last"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="85">Emitted when atk_value_get_maximum_value() is called on @self. Right now we only care about doubles, so the value is directly returned by the signal.</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="93">maximum value of the accessible.</doc> <type name="gdouble" c:type="gdouble"/> </return-value> </glib:signal> <glib:signal name="get-minimum-increment" when="last"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="121">Emitted when atk_value_get_minimum_increment() is called on @self. Right now we only care about doubles, so the value is directly returned by the signal.</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="129">value of the current element.</doc> <type name="gdouble" c:type="gdouble"/> </return-value> </glib:signal> <glib:signal name="get-minimum-value" when="last"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="103">Emitted when atk_value_get_current_value() is called on @self. Right now we only care about doubles, so the value is directly returned by the signal.</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="111">minimum value of the accessible.</doc> <type name="gdouble" c:type="gdouble"/> </return-value> </glib:signal> <glib:signal name="set-current-value" when="last"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="139">Emitted when atk_value_set_current_value() is called on @self. Right now we only care about doubles, so the value is directly returned by the signal.</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="new_value" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-generic-accessible.c" line="142">the new value for the accessible</doc> <type name="gdouble" c:type="gdouble"/> </parameter> </parameters> </glib:signal> </class> <record name="GenericAccessibleClass" c:type="StGenericAccessibleClass" glib:is-gtype-struct-for="GenericAccessible"> <source-position filename="../src/st/st-generic-accessible.h" line="54"/> <field name="parent_class"> <type name="WidgetAccessibleClass" c:type="StWidgetAccessibleClass"/> </field> </record> <record name="GenericAccessiblePrivate" c:type="StGenericAccessiblePrivate" disguised="1"> <source-position filename="../src/st/st-generic-accessible.h" line="42"/> </record> <enumeration name="GradientType" glib:type-name="StGradientType" glib:get-type="st_gradient_type_get_type" c:type="StGradientType"> <member name="none" value="0" c:identifier="ST_GRADIENT_NONE" glib:nick="none"> </member> <member name="vertical" value="1" c:identifier="ST_GRADIENT_VERTICAL" glib:nick="vertical"> </member> <member name="horizontal" value="2" c:identifier="ST_GRADIENT_HORIZONTAL" glib:nick="horizontal"> </member> <member name="radial" value="3" c:identifier="ST_GRADIENT_RADIAL" glib:nick="radial"> </member> </enumeration> <function-macro name="IS_GENERIC_ACCESSIBLE" c:identifier="ST_IS_GENERIC_ACCESSIBLE" introspectable="0"> <source-position filename="../src/st/st-generic-accessible.h" line="35"/> <parameters> <parameter name="obj"> </parameter> </parameters> </function-macro> <function-macro name="IS_GENERIC_ACCESSIBLE_CLASS" c:identifier="ST_IS_GENERIC_ACCESSIBLE_CLASS" introspectable="0"> <source-position filename="../src/st/st-generic-accessible.h" line="36"/> <parameters> <parameter name="klass"> </parameter> </parameters> </function-macro> <function-macro name="IS_WIDGET_ACCESSIBLE" c:identifier="ST_IS_WIDGET_ACCESSIBLE" introspectable="0"> <source-position filename="../src/st/st-widget-accessible.h" line="39"/> <parameters> <parameter name="obj"> </parameter> </parameters> </function-macro> <function-macro name="IS_WIDGET_ACCESSIBLE_CLASS" c:identifier="ST_IS_WIDGET_ACCESSIBLE_CLASS" introspectable="0"> <source-position filename="../src/st/st-widget-accessible.h" line="47"/> <parameters> <parameter name="klass"> </parameter> </parameters> </function-macro> <class name="Icon" c:symbol-prefix="icon" c:type="StIcon" parent="Widget" glib:type-name="StIcon" glib:get-type="st_icon_get_type" glib:type-struct="IconClass"> <doc xml:space="preserve" filename="../src/st/st-icon.h" line="44">The contents of this structure are private and should only be accessed through the public API.</doc> <source-position filename="../src/st/st-icon.h" line="40"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <constructor name="new" c:identifier="st_icon_new"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="522">Create a newly allocated #StIcon</doc> <source-position filename="../src/st/st-icon.h" line="57"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="527">A newly allocated #StIcon</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> </constructor> <method name="get_fallback_gicon" c:identifier="st_icon_get_fallback_gicon"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="626">Gets the currently set fallback #GIcon.</doc> <source-position filename="../src/st/st-icon.h" line="63"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="632">The fallback #GIcon, if set, otherwise %NULL</doc> <type name="Gio.Icon" c:type="GIcon*"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="628">a #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> </parameters> </method> <method name="get_fallback_icon_name" c:identifier="st_icon_get_fallback_icon_name"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="711">This is a convenience method to get the icon name of the fallback #GThemedIcon that is currently set.</doc> <source-position filename="../src/st/st-icon.h" line="71"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="718">The name of the icon or %NULL if no icon is set</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="713">an #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> </parameters> </method> <method name="get_gicon" c:identifier="st_icon_get_gicon"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="587">Gets the current #GIcon in use.</doc> <source-position filename="../src/st/st-icon.h" line="59"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="593">The current #GIcon, if set, otherwise %NULL</doc> <type name="Gio.Icon" c:type="GIcon*"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="589">an #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> </parameters> </method> <method name="get_icon_name" c:identifier="st_icon_get_icon_name"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="535">This is a convenience method to get the icon name of the #GThemedIcon that is currently set.</doc> <source-position filename="../src/st/st-icon.h" line="67"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="542">The name of the icon or %NULL if no icon is set</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="537">an #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> </parameters> </method> <method name="get_icon_size" c:identifier="st_icon_get_icon_size"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="667">Gets the explicit size set using st_icon_set_icon_size() for the icon. This is not necessarily the size that the icon will be displayed at.</doc> <source-position filename="../src/st/st-icon.h" line="75"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="674">The explicitly set size, or -1 if no size has been set</doc> <type name="gint" c:type="gint"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="669">an #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> </parameters> </method> <method name="set_fallback_gicon" c:identifier="st_icon_set_fallback_gicon"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="642">Sets a fallback #GIcon to show if the normal icon fails to load. If @fallback_gicon is %NULL or fails to load, the icon is unset and no texture will be visible for the fallback icon.</doc> <source-position filename="../src/st/st-icon.h" line="64"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="644">a #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> <parameter name="fallback_gicon" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="645">the fallback #GIcon</doc> <type name="Gio.Icon" c:type="GIcon*"/> </parameter> </parameters> </method> <method name="set_fallback_icon_name" c:identifier="st_icon_set_fallback_icon_name"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="735">This is a convenience method to set the fallback #GIcon to a #GThemedIcon created using the given icon name. If @fallback_icon_name is an empty string, %NULL or fails to load, the icon is unset and no texture will be visible for the fallback icon.</doc> <source-position filename="../src/st/st-icon.h" line="72"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="737">an #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> <parameter name="fallback_icon_name" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="738">the name of the fallback icon</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="set_gicon" c:identifier="st_icon_set_gicon"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="603">Sets a #GIcon to show for the icon. If @gicon is %NULL or fails to load, the fallback icon set using st_icon_set_fallback_icon() will be shown.</doc> <source-position filename="../src/st/st-icon.h" line="60"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="605">an #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> <parameter name="gicon" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="606">a #GIcon</doc> <type name="Gio.Icon" c:type="GIcon*"/> </parameter> </parameters> </method> <method name="set_icon_name" c:identifier="st_icon_set_icon_name"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="559">This is a convenience method to set the #GIcon to a #GThemedIcon created using the given icon name. If @icon_name is an empty string, %NULL or fails to load, the fallback icon will be shown.</doc> <source-position filename="../src/st/st-icon.h" line="68"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="561">an #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> <parameter name="icon_name" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="562">the name of the icon</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="set_icon_size" c:identifier="st_icon_set_icon_size"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="684">Sets an explicit size for the icon. Setting @size to -1 will use the size defined by the current style or the default icon size.</doc> <source-position filename="../src/st/st-icon.h" line="76"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="686">an #StIcon</doc> <type name="Icon" c:type="StIcon*"/> </instance-parameter> <parameter name="size" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon.c" line="687">if positive, the new size, otherwise the size will be derived from the current style</doc> <type name="gint" c:type="gint"/> </parameter> </parameters> </method> <property name="fallback-gicon" writable="1" transfer-ownership="none"> <type name="Gio.Icon"/> </property> <property name="fallback-icon-name" writable="1" transfer-ownership="none"> <type name="utf8" c:type="gchar*"/> </property> <property name="gicon" writable="1" transfer-ownership="none"> <type name="Gio.Icon"/> </property> <property name="icon-name" writable="1" transfer-ownership="none"> <type name="utf8" c:type="gchar*"/> </property> <property name="icon-size" writable="1" transfer-ownership="none"> <type name="gint" c:type="gint"/> </property> <field name="parent" readable="0" private="1"> <type name="Widget" c:type="StWidget"/> </field> <field name="priv" readable="0" private="1"> <type name="IconPrivate" c:type="StIconPrivate*"/> </field> </class> <record name="IconClass" c:type="StIconClass" glib:is-gtype-struct-for="Icon"> <source-position filename="../src/st/st-icon.h" line="40"/> <field name="parent_class"> <type name="WidgetClass" c:type="StWidgetClass"/> </field> </record> <record name="IconColors" c:type="StIconColors" glib:type-name="StIconColors" glib:get-type="st_icon_colors_get_type" c:symbol-prefix="icon_colors"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.h" line="13">The #StIconColors structure encapsulates colors for colorizing a symbolic icon.</doc> <source-position filename="../src/st/st-icon-colors.h" line="30"/> <field name="ref_count" writable="1"> <type name="guint" c:type="volatile guint"/> </field> <field name="foreground" writable="1"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.h" line="15">foreground color</doc> <type name="Clutter.Color" c:type="ClutterColor"/> </field> <field name="warning" writable="1"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.h" line="16">color indicating a warning state</doc> <type name="Clutter.Color" c:type="ClutterColor"/> </field> <field name="error" writable="1"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.h" line="17">color indicating an error state</doc> <type name="Clutter.Color" c:type="ClutterColor"/> </field> <field name="success" writable="1"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.h" line="18">color indicating a successful operation</doc> <type name="Clutter.Color" c:type="ClutterColor"/> </field> <constructor name="new" c:identifier="st_icon_colors_new"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="24">Creates a new #StIconColors. All colors are initialized to transparent black.</doc> <source-position filename="../src/st/st-icon-colors.h" line="34"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="29">a newly created #StIconColors. Free with st_icon_colors_unref()</doc> <type name="IconColors" c:type="StIconColors*"/> </return-value> </constructor> <method name="copy" c:identifier="st_icon_colors_copy"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="78">Creates a new StIconColors structure that is a copy of the passed in @colors. You would use this function instead of st_icon_colors_ref() if you were planning to change colors in the result.</doc> <source-position filename="../src/st/st-icon-colors.h" line="37"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="86">a newly created #StIconColors.</doc> <type name="IconColors" c:type="StIconColors*"/> </return-value> <parameters> <instance-parameter name="colors" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="80">a #StIconColors</doc> <type name="IconColors" c:type="StIconColors*"/> </instance-parameter> </parameters> </method> <method name="equal" c:identifier="st_icon_colors_equal"> <source-position filename="../src/st/st-icon-colors.h" line="38"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="110">%TRUE if the #StIconColors are equal</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="colors" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="107">a #StIconColors</doc> <type name="IconColors" c:type="StIconColors*"/> </instance-parameter> <parameter name="other" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="108">another #StIconColors</doc> <type name="IconColors" c:type="StIconColors*"/> </parameter> </parameters> </method> <method name="ref" c:identifier="st_icon_colors_ref"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="42">Atomically increments the reference count of @colors by one.</doc> <source-position filename="../src/st/st-icon-colors.h" line="35"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="48">the passed in #StIconColors.</doc> <type name="IconColors" c:type="StIconColors*"/> </return-value> <parameters> <instance-parameter name="colors" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="44">a #StIconColors</doc> <type name="IconColors" c:type="StIconColors*"/> </instance-parameter> </parameters> </method> <method name="unref" c:identifier="st_icon_colors_unref"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="60">Atomically decrements the reference count of @colors by one. If the reference count drops to 0, all memory allocated by the #StIconColors is released.</doc> <source-position filename="../src/st/st-icon-colors.h" line="36"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="colors" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-icon-colors.c" line="62">a #StIconColors</doc> <type name="IconColors" c:type="StIconColors*"/> </instance-parameter> </parameters> </method> </record> <record name="IconPrivate" c:type="StIconPrivate" disguised="1"> <source-position filename="../src/st/st-icon.h" line="42"/> </record> <enumeration name="IconStyle" glib:type-name="StIconStyle" glib:get-type="st_icon_style_get_type" c:type="StIconStyle"> <member name="requested" value="0" c:identifier="ST_ICON_STYLE_REQUESTED" glib:nick="requested"> </member> <member name="regular" value="1" c:identifier="ST_ICON_STYLE_REGULAR" glib:nick="regular"> </member> <member name="symbolic" value="2" c:identifier="ST_ICON_STYLE_SYMBOLIC" glib:nick="symbolic"> </member> </enumeration> <class name="ImageContent" c:symbol-prefix="image_content" c:type="StImageContent" parent="Clutter.Image" glib:type-name="StImageContent" glib:get-type="st_image_content_get_type" glib:type-struct="ImageContentClass"> <source-position filename="../src/st/st-image-content.h" line="27"/> <implements name="Clutter.Content"/> <function name="new_with_preferred_size" c:identifier="st_image_content_new_with_preferred_size"> <doc xml:space="preserve" filename="../src/st/st-image-content.c" line="174">Creates a new #StImageContent, a simple content for sized images.</doc> <source-position filename="../src/st/st-image-content.h" line="30"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-image-content.c" line="181">the newly created #StImageContent content Use g_object_unref() when done.</doc> <type name="Clutter.Content" c:type="ClutterContent*"/> </return-value> <parameters> <parameter name="width" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-image-content.c" line="176">The preferred width to be used when drawing the content</doc> <type name="gint" c:type="int"/> </parameter> <parameter name="height" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-image-content.c" line="177">The preferred width to be used when drawing the content</doc> <type name="gint" c:type="int"/> </parameter> </parameters> </function> <property name="preferred-height" writable="1" construct-only="1" transfer-ownership="none"> <type name="gint" c:type="gint"/> </property> <property name="preferred-width" writable="1" construct-only="1" transfer-ownership="none"> <type name="gint" c:type="gint"/> </property> </class> <record name="ImageContentClass" c:type="StImageContentClass" glib:is-gtype-struct-for="ImageContent"> <source-position filename="../src/st/st-image-content.h" line="27"/> <field name="parent_class"> <type name="Clutter.ImageClass" c:type="ClutterImageClass"/> </field> </record> <class name="Label" c:symbol-prefix="label" c:type="StLabel" parent="Widget" glib:type-name="StLabel" glib:get-type="st_label_get_type" glib:type-struct="LabelClass"> <doc xml:space="preserve" filename="../src/st/st-label.h" line="36">The contents of this structure is private and should only be accessed using the provided API.</doc> <source-position filename="../src/st/st-label.h" line="32"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <constructor name="new" c:identifier="st_label_new"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="311">Create a new #StLabel with the specified label</doc> <source-position filename="../src/st/st-label.h" line="50"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="317">a new #StLabel</doc> <type name="Widget" c:type="StWidget*"/> </return-value> <parameters> <parameter name="text" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="313">text to set the label to</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </constructor> <method name="get_clutter_text" c:identifier="st_label_get_clutter_text"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="377">Retrieve the internal #ClutterText so that extra parameters can be set</doc> <source-position filename="../src/st/st-label.h" line="54"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="383">ethe #ClutterText used by #StLabel. The label is owned by the #StLabel and should not be unref'ed by the application.</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="label" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="379">a #StLabel</doc> <type name="Label" c:type="StLabel*"/> </instance-parameter> </parameters> </method> <method name="get_text" c:identifier="st_label_get_text"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="330">Get the text displayed on the label</doc> <source-position filename="../src/st/st-label.h" line="51"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="336">the text for the label. This must not be freed by the application</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="label" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="332">a #StLabel</doc> <type name="Label" c:type="StLabel*"/> </instance-parameter> </parameters> </method> <method name="set_text" c:identifier="st_label_set_text"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="346">Sets the text displayed on the label</doc> <source-position filename="../src/st/st-label.h" line="52"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="label" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="348">a #StLabel</doc> <type name="Label" c:type="StLabel*"/> </instance-parameter> <parameter name="text" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-label.c" line="349">text to set the label to</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <property name="clutter-text" transfer-ownership="none"> <type name="Clutter.Text"/> </property> <property name="text" writable="1" transfer-ownership="none"> <type name="utf8" c:type="gchar*"/> </property> <field name="parent_instance" readable="0" private="1"> <type name="Widget" c:type="StWidget"/> </field> <field name="priv" readable="0" private="1"> <type name="LabelPrivate" c:type="StLabelPrivate*"/> </field> </class> <record name="LabelClass" c:type="StLabelClass" glib:is-gtype-struct-for="Label"> <source-position filename="../src/st/st-label.h" line="32"/> <field name="parent_class"> <type name="WidgetClass" c:type="StWidgetClass"/> </field> </record> <record name="LabelPrivate" c:type="StLabelPrivate" disguised="1"> <source-position filename="../src/st/st-label.h" line="34"/> </record> <class name="PasswordEntry" c:symbol-prefix="password_entry" c:type="StPasswordEntry" parent="Entry" glib:type-name="StPasswordEntry" glib:get-type="st_password_entry_get_type" glib:type-struct="PasswordEntryClass"> <source-position filename="../src/st/st-password-entry.h" line="33"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <constructor name="new" c:identifier="st_password_entry_new"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="189">Create a new #StPasswordEntry.</doc> <source-position filename="../src/st/st-password-entry.h" line="35"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="194">a new #StEntry</doc> <type name="Entry" c:type="StEntry*"/> </return-value> </constructor> <method name="get_password_visible" c:identifier="st_password_entry_get_password_visible"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="282">Gets whether the text is masked in the password entry.</doc> <source-position filename="../src/st/st-password-entry.h" line="36"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="284">a #StPasswordEntry</doc> <type name="PasswordEntry" c:type="StPasswordEntry*"/> </instance-parameter> </parameters> </method> <method name="get_show_peek_icon" c:identifier="st_password_entry_get_show_peek_icon"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="229">Gets whether peek-icon is shown or hidden in the password entry.</doc> <source-position filename="../src/st/st-password-entry.h" line="39"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="231">a #StPasswordEntry</doc> <type name="PasswordEntry" c:type="StPasswordEntry*"/> </instance-parameter> </parameters> </method> <method name="set_password_visible" c:identifier="st_password_entry_set_password_visible"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="246">Sets whether to show or hide text in the password entry.</doc> <source-position filename="../src/st/st-password-entry.h" line="37"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="248">a #StPasswordEntry</doc> <type name="PasswordEntry" c:type="StPasswordEntry*"/> </instance-parameter> <parameter name="value" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="249">#TRUE to show the password in the entry, #FALSE otherwise</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <method name="set_show_peek_icon" c:identifier="st_password_entry_set_show_peek_icon"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="202">Sets whether to show or hide the peek-icon in the password entry.</doc> <source-position filename="../src/st/st-password-entry.h" line="40"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="entry" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="204">a #StPasswordEntry</doc> <type name="PasswordEntry" c:type="StPasswordEntry*"/> </instance-parameter> <parameter name="value" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-password-entry.c" line="205">#TRUE to show the peek-icon in the entry, #FALSE otherwise</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <property name="password-visible" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="show-peek-icon" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> </class> <record name="PasswordEntryClass" c:type="StPasswordEntryClass" glib:is-gtype-struct-for="PasswordEntry"> <source-position filename="../src/st/st-password-entry.h" line="33"/> <field name="parent_class"> <type name="EntryClass" c:type="StEntryClass"/> </field> </record> <enumeration name="PolicyType" glib:type-name="StPolicyType" glib:get-type="st_policy_type_get_type" c:type="StPolicyType"> <member name="always" value="0" c:identifier="ST_POLICY_ALWAYS" glib:nick="always"> </member> <member name="automatic" value="1" c:identifier="ST_POLICY_AUTOMATIC" glib:nick="automatic"> </member> <member name="never" value="2" c:identifier="ST_POLICY_NEVER" glib:nick="never"> </member> <member name="external" value="3" c:identifier="ST_POLICY_EXTERNAL" glib:nick="external"> </member> </enumeration> <class name="ScrollBar" c:symbol-prefix="scroll_bar" c:type="StScrollBar" parent="Widget" glib:type-name="StScrollBar" glib:get-type="st_scroll_bar_get_type" glib:type-struct="ScrollBarClass"> <source-position filename="../src/st/st-scroll-bar.h" line="43"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <constructor name="new" c:identifier="st_scroll_bar_new"> <source-position filename="../src/st/st-scroll-bar.h" line="45"/> <return-value transfer-ownership="none"> <type name="Widget" c:type="StWidget*"/> </return-value> <parameters> <parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </parameter> </parameters> </constructor> <virtual-method name="scroll_start"> <source-position filename="../src/st/st-scroll-bar.h" line="41"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="bar" transfer-ownership="none"> <type name="ScrollBar" c:type="StScrollBar*"/> </instance-parameter> </parameters> </virtual-method> <virtual-method name="scroll_stop"> <source-position filename="../src/st/st-scroll-bar.h" line="42"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="bar" transfer-ownership="none"> <type name="ScrollBar" c:type="StScrollBar*"/> </instance-parameter> </parameters> </virtual-method> <method name="get_adjustment" c:identifier="st_scroll_bar_get_adjustment"> <doc xml:space="preserve" filename="../src/st/st-scroll-bar.c" line="952">Gets the adjustment object that stores the current position of the scrollbar.</doc> <source-position filename="../src/st/st-scroll-bar.h" line="49"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-bar.c" line="959">the adjustment</doc> <type name="Adjustment" c:type="StAdjustment*"/> </return-value> <parameters> <instance-parameter name="bar" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-bar.c" line="954">a #StScrollbar</doc> <type name="ScrollBar" c:type="StScrollBar*"/> </instance-parameter> </parameters> </method> <method name="set_adjustment" c:identifier="st_scroll_bar_set_adjustment"> <source-position filename="../src/st/st-scroll-bar.h" line="47"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="bar" transfer-ownership="none"> <type name="ScrollBar" c:type="StScrollBar*"/> </instance-parameter> <parameter name="adjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </parameter> </parameters> </method> <property name="adjustment" writable="1" transfer-ownership="none"> <type name="Adjustment"/> </property> <property name="vertical" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <field name="parent_instance"> <type name="Widget" c:type="StWidget"/> </field> <glib:signal name="scroll-start" when="last"> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> <glib:signal name="scroll-stop" when="last"> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> </class> <record name="ScrollBarClass" c:type="StScrollBarClass" glib:is-gtype-struct-for="ScrollBar"> <source-position filename="../src/st/st-scroll-bar.h" line="43"/> <field name="parent_class"> <type name="WidgetClass" c:type="StWidgetClass"/> </field> <field name="scroll_start"> <callback name="scroll_start"> <source-position filename="../src/st/st-scroll-bar.h" line="41"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="bar" transfer-ownership="none"> <type name="ScrollBar" c:type="StScrollBar*"/> </parameter> </parameters> </callback> </field> <field name="scroll_stop"> <callback name="scroll_stop"> <source-position filename="../src/st/st-scroll-bar.h" line="42"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="bar" transfer-ownership="none"> <type name="ScrollBar" c:type="StScrollBar*"/> </parameter> </parameters> </callback> </field> </record> <class name="ScrollView" c:symbol-prefix="scroll_view" c:type="StScrollView" parent="Bin" glib:type-name="StScrollView" glib:get-type="st_scroll_view_get_type" glib:type-struct="ScrollViewClass"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.h" line="47">The contents of this structure are private and should only be accessed through the public API.</doc> <source-position filename="../src/st/st-scroll-view.h" line="35"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <constructor name="new" c:identifier="st_scroll_view_new"> <source-position filename="../src/st/st-scroll-view.h" line="61"/> <return-value transfer-ownership="none"> <type name="Widget" c:type="StWidget*"/> </return-value> </constructor> <method name="get_column_size" c:identifier="st_scroll_view_get_column_size"> <source-position filename="../src/st/st-scroll-view.h" line="66"/> <return-value transfer-ownership="none"> <type name="gfloat" c:type="gfloat"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> </parameters> </method> <method name="get_hscroll_bar" c:identifier="st_scroll_view_get_hscroll_bar"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="986">Gets the horizontal scrollbar of the scrollbiew</doc> <source-position filename="../src/st/st-scroll-view.h" line="63"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="992">the horizontal #StScrollBar</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="988">a #StScrollView</doc> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> </parameters> </method> <method name="get_mouse_scrolling" c:identifier="st_scroll_view_get_mouse_scrolling"> <source-position filename="../src/st/st-scroll-view.h" line="76"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> </parameters> </method> <method name="get_overlay_scrollbars" c:identifier="st_scroll_view_get_overlay_scrollbars"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1148">Gets the value set by st_scroll_view_set_overlay_scrollbars().</doc> <source-position filename="../src/st/st-scroll-view.h" line="80"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1150">A #StScrollView</doc> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> </parameters> </method> <method name="get_row_size" c:identifier="st_scroll_view_get_row_size"> <source-position filename="../src/st/st-scroll-view.h" line="70"/> <return-value transfer-ownership="none"> <type name="gfloat" c:type="gfloat"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> </parameters> </method> <method name="get_vscroll_bar" c:identifier="st_scroll_view_get_vscroll_bar"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1002">Gets the vertical scrollbar of the scrollbiew</doc> <source-position filename="../src/st/st-scroll-view.h" line="64"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1008">the vertical #StScrollBar</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1004">a #StScrollView</doc> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> </parameters> </method> <method name="set_column_size" c:identifier="st_scroll_view_set_column_size"> <source-position filename="../src/st/st-scroll-view.h" line="67"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> <parameter name="column_size" transfer-ownership="none"> <type name="gfloat" c:type="gfloat"/> </parameter> </parameters> </method> <method name="set_mouse_scrolling" c:identifier="st_scroll_view_set_mouse_scrolling"> <source-position filename="../src/st/st-scroll-view.h" line="74"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> <parameter name="enabled" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <method name="set_overlay_scrollbars" c:identifier="st_scroll_view_set_overlay_scrollbars"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1122">Sets whether scrollbars are painted on top of the content.</doc> <source-position filename="../src/st/st-scroll-view.h" line="78"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1124">A #StScrollView</doc> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> <parameter name="enabled" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1125">Whether to enable overlay scrollbars</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <method name="set_policy" c:identifier="st_scroll_view_set_policy"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1166">Set the scroll policy.</doc> <source-position filename="../src/st/st-scroll-view.h" line="82"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1168">A #StScrollView</doc> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> <parameter name="hscroll" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1169">Whether to enable horizontal scrolling</doc> <type name="PolicyType" c:type="StPolicyType"/> </parameter> <parameter name="vscroll" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="1170">Whether to enable vertical scrolling</doc> <type name="PolicyType" c:type="StPolicyType"/> </parameter> </parameters> </method> <method name="set_row_size" c:identifier="st_scroll_view_set_row_size"> <source-position filename="../src/st/st-scroll-view.h" line="71"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> <parameter name="row_size" transfer-ownership="none"> <type name="gfloat" c:type="gfloat"/> </parameter> </parameters> </method> <method name="update_fade_effect" c:identifier="st_scroll_view_update_fade_effect"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="164">Sets the height of the fade area area in pixels. A value of 0 disables the effect.</doc> <source-position filename="../src/st/st-scroll-view.h" line="85"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scroll" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="166">a #StScrollView</doc> <type name="ScrollView" c:type="StScrollView*"/> </instance-parameter> <parameter name="vfade_offset" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="167">The length of the veritcal fade effect, in pixels.</doc> <type name="gfloat" c:type="float"/> </parameter> <parameter name="hfade_offset" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-scroll-view.c" line="168">The length of the horizontal fade effect, in pixels.</doc> <type name="gfloat" c:type="float"/> </parameter> </parameters> </method> <property name="enable-mouse-scrolling" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="hscroll" transfer-ownership="none"> <type name="ScrollBar"/> </property> <property name="hscrollbar-policy" writable="1" transfer-ownership="none"> <type name="PolicyType"/> </property> <property name="hscrollbar-visible" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="overlay-scrollbars" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="vscroll" transfer-ownership="none"> <type name="ScrollBar"/> </property> <property name="vscrollbar-policy" writable="1" transfer-ownership="none"> <type name="PolicyType"/> </property> <property name="vscrollbar-visible" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <field name="parent_instance" readable="0" private="1"> <type name="Bin" c:type="StBin"/> </field> <field name="priv" readable="0" private="1"> <type name="ScrollViewPrivate" c:type="StScrollViewPrivate*"/> </field> </class> <record name="ScrollViewClass" c:type="StScrollViewClass" glib:is-gtype-struct-for="ScrollView"> <source-position filename="../src/st/st-scroll-view.h" line="35"/> <field name="parent_class"> <type name="BinClass" c:type="StBinClass"/> </field> </record> <class name="ScrollViewFade" c:symbol-prefix="scroll_view_fade" c:type="StScrollViewFade" parent="Clutter.ShaderEffect" glib:type-name="StScrollViewFade" glib:get-type="st_scroll_view_fade_get_type" glib:type-struct="ScrollViewFadeClass"> <source-position filename="../src/st/st-scroll-view-fade.h" line="29"/> <constructor name="new" c:identifier="st_scroll_view_fade_new"> <source-position filename="../src/st/st-scroll-view-fade.h" line="32"/> <return-value transfer-ownership="none"> <type name="Clutter.Effect" c:type="ClutterEffect*"/> </return-value> </constructor> <property name="fade-edges" writable="1" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="hfade-offset" writable="1" transfer-ownership="none"> <type name="gfloat" c:type="gfloat"/> </property> <property name="vfade-offset" writable="1" transfer-ownership="none"> <type name="gfloat" c:type="gfloat"/> </property> </class> <record name="ScrollViewFadeClass" c:type="StScrollViewFadeClass" glib:is-gtype-struct-for="ScrollViewFade"> <source-position filename="../src/st/st-scroll-view-fade.h" line="29"/> <field name="parent_class"> <type name="Clutter.ShaderEffectClass" c:type="ClutterShaderEffectClass"/> </field> </record> <record name="ScrollViewPrivate" c:type="StScrollViewPrivate" disguised="1"> <source-position filename="../src/st/st-scroll-view.h" line="45"/> </record> <interface name="Scrollable" c:symbol-prefix="scrollable" c:type="StScrollable" glib:type-name="StScrollable" glib:get-type="st_scrollable_get_type" glib:type-struct="ScrollableInterface"> <source-position filename="../src/st/st-scrollable.h" line="48"/> <virtual-method name="get_adjustments" invoker="get_adjustments"> <source-position filename="../src/st/st-scrollable.h" line="45"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scrollable" transfer-ownership="none"> <type name="Scrollable" c:type="StScrollable*"/> </instance-parameter> <parameter name="hadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment**"/> </parameter> <parameter name="vadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment**"/> </parameter> </parameters> </virtual-method> <virtual-method name="set_adjustments" invoker="set_adjustments"> <source-position filename="../src/st/st-scrollable.h" line="42"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scrollable" transfer-ownership="none"> <type name="Scrollable" c:type="StScrollable*"/> </instance-parameter> <parameter name="hadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </parameter> <parameter name="vadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </parameter> </parameters> </virtual-method> <method name="get_adjustments" c:identifier="st_scrollable_get_adjustments"> <source-position filename="../src/st/st-scrollable.h" line="53"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scrollable" transfer-ownership="none"> <type name="Scrollable" c:type="StScrollable*"/> </instance-parameter> <parameter name="hadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment**"/> </parameter> <parameter name="vadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment**"/> </parameter> </parameters> </method> <method name="set_adjustments" c:identifier="st_scrollable_set_adjustments"> <source-position filename="../src/st/st-scrollable.h" line="50"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="scrollable" transfer-ownership="none"> <type name="Scrollable" c:type="StScrollable*"/> </instance-parameter> <parameter name="hadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </parameter> <parameter name="vadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </parameter> </parameters> </method> <property name="hadjustment" writable="1" transfer-ownership="none"> <type name="Adjustment"/> </property> <property name="vadjustment" writable="1" transfer-ownership="none"> <type name="Adjustment"/> </property> </interface> <record name="ScrollableInterface" c:type="StScrollableInterface" glib:is-gtype-struct-for="Scrollable"> <source-position filename="../src/st/st-scrollable.h" line="48"/> <field name="parent"> <type name="GObject.TypeInterface" c:type="GTypeInterface"/> </field> <field name="set_adjustments"> <callback name="set_adjustments"> <source-position filename="../src/st/st-scrollable.h" line="42"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="scrollable" transfer-ownership="none"> <type name="Scrollable" c:type="StScrollable*"/> </parameter> <parameter name="hadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </parameter> <parameter name="vadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment*"/> </parameter> </parameters> </callback> </field> <field name="get_adjustments"> <callback name="get_adjustments"> <source-position filename="../src/st/st-scrollable.h" line="45"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="scrollable" transfer-ownership="none"> <type name="Scrollable" c:type="StScrollable*"/> </parameter> <parameter name="hadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment**"/> </parameter> <parameter name="vadjustment" transfer-ownership="none"> <type name="Adjustment" c:type="StAdjustment**"/> </parameter> </parameters> </callback> </field> </record> <class name="Settings" c:symbol-prefix="settings" c:type="StSettings" parent="GObject.Object" glib:type-name="StSettings" glib:get-type="st_settings_get_type" glib:type-struct="SettingsClass"> <source-position filename="../src/st/st-settings.h" line="32"/> <function name="get" c:identifier="st_settings_get"> <doc xml:space="preserve" filename="../src/st/st-settings.c" line="338">Gets the #StSettings</doc> <source-position filename="../src/st/st-settings.h" line="34"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-settings.c" line="343">a settings object</doc> <type name="Settings" c:type="StSettings*"/> </return-value> </function> <method name="inhibit_animations" c:identifier="st_settings_inhibit_animations"> <source-position filename="../src/st/st-settings.h" line="36"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="settings" transfer-ownership="none"> <type name="Settings" c:type="StSettings*"/> </instance-parameter> </parameters> </method> <method name="uninhibit_animations" c:identifier="st_settings_uninhibit_animations"> <source-position filename="../src/st/st-settings.h" line="38"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="settings" transfer-ownership="none"> <type name="Settings" c:type="StSettings*"/> </instance-parameter> </parameters> </method> <property name="drag-threshold" transfer-ownership="none"> <type name="gint" c:type="gint"/> </property> <property name="enable-animations" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="font-name" transfer-ownership="none"> <type name="utf8" c:type="gchar*"/> </property> <property name="gtk-icon-theme" transfer-ownership="none"> <type name="utf8" c:type="gchar*"/> </property> <property name="gtk-theme" transfer-ownership="none"> <type name="utf8" c:type="gchar*"/> </property> <property name="magnifier-active" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="primary-paste" transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </property> <property name="slow-down-factor" writable="1" transfer-ownership="none"> <type name="gdouble" c:type="gdouble"/> </property> </class> <record name="SettingsClass" c:type="StSettingsClass" glib:is-gtype-struct-for="Settings"> <source-position filename="../src/st/st-settings.h" line="32"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> </record> <record name="Shadow" c:type="StShadow" glib:type-name="StShadow" glib:get-type="st_shadow_get_type" c:symbol-prefix="shadow"> <doc xml:space="preserve" filename="../src/st/st-shadow.h" line="34">Attributes of the -st-shadow property.</doc> <source-position filename="../src/st/st-shadow.h" line="55"/> <field name="color" writable="1"> <doc xml:space="preserve" filename="../src/st/st-shadow.h" line="36">shadow's color</doc> <type name="Clutter.Color" c:type="ClutterColor"/> </field> <field name="xoffset" writable="1"> <doc xml:space="preserve" filename="../src/st/st-shadow.h" line="37">horizontal offset - positive values mean placement to the right, negative values placement to the left of the element.</doc> <type name="gdouble" c:type="gdouble"/> </field> <field name="yoffset" writable="1"> <doc xml:space="preserve" filename="../src/st/st-shadow.h" line="39">vertical offset - positive values mean placement below, negative values placement above the element.</doc> <type name="gdouble" c:type="gdouble"/> </field> <field name="blur" writable="1"> <doc xml:space="preserve" filename="../src/st/st-shadow.h" line="41">shadow's blur radius - a value of 0.0 will result in a hard shadow.</doc> <type name="gdouble" c:type="gdouble"/> </field> <field name="spread" writable="1"> <doc xml:space="preserve" filename="../src/st/st-shadow.h" line="42">shadow's spread radius - grow the shadow without enlarging the blur.</doc> <type name="gdouble" c:type="gdouble"/> </field> <field name="inset" writable="1"> <type name="gboolean" c:type="gboolean"/> </field> <field name="ref_count" writable="1"> <type name="gint" c:type="volatile int"/> </field> <constructor name="new" c:identifier="st_shadow_new"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="39">Creates a new #StShadow</doc> <source-position filename="../src/st/st-shadow.h" line="59"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="50">the newly allocated shadow. Use st_shadow_free() when done</doc> <type name="Shadow" c:type="StShadow*"/> </return-value> <parameters> <parameter name="color" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="41">shadow's color</doc> <type name="Clutter.Color" c:type="ClutterColor*"/> </parameter> <parameter name="xoffset" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="42">horizontal offset</doc> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="yoffset" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="43">vertical offset</doc> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="blur" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="44">blur radius</doc> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="spread" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="45">spread radius</doc> <type name="gdouble" c:type="gdouble"/> </parameter> <parameter name="inset" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="46">whether the shadow should be inset</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </constructor> <method name="equal" c:identifier="st_shadow_equal"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="111">Check if two shadow objects are identical. Note that two shadows may compare non-identically if they differ only by floating point rounding errors.</doc> <source-position filename="../src/st/st-shadow.h" line="68"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="120">%TRUE if the two shadows are identical</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="shadow" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="113">a #StShadow</doc> <type name="Shadow" c:type="StShadow*"/> </instance-parameter> <parameter name="other" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="114">a different #StShadow</doc> <type name="Shadow" c:type="StShadow*"/> </parameter> </parameters> </method> <method name="get_box" c:identifier="st_shadow_get_box"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="143">Gets the box used to paint @shadow, which will be partly outside of @actor_box</doc> <source-position filename="../src/st/st-shadow.h" line="71"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="shadow" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="145">a #StShadow</doc> <type name="Shadow" c:type="StShadow*"/> </instance-parameter> <parameter name="actor_box" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="146">the box allocated to a #ClutterAlctor</doc> <type name="Clutter.ActorBox" c:type="const ClutterActorBox*"/> </parameter> <parameter name="shadow_box" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="147">computed box occupied by @shadow</doc> <type name="Clutter.ActorBox" c:type="ClutterActorBox*"/> </parameter> </parameters> </method> <method name="ref" c:identifier="st_shadow_ref"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="75">Atomically increments the reference count of @shadow by one.</doc> <source-position filename="../src/st/st-shadow.h" line="65"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="81">the passed in #StShadow.</doc> <type name="Shadow" c:type="StShadow*"/> </return-value> <parameters> <instance-parameter name="shadow" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="77">a #StShadow</doc> <type name="Shadow" c:type="StShadow*"/> </instance-parameter> </parameters> </method> <method name="unref" c:identifier="st_shadow_unref"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="93">Atomically decrements the reference count of @shadow by one. If the reference count drops to 0, all memory allocated by the #StShadow is released.</doc> <source-position filename="../src/st/st-shadow.h" line="66"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="shadow" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="95">a #StShadow</doc> <type name="Shadow" c:type="StShadow*"/> </instance-parameter> </parameters> </method> </record> <record name="ShadowHelper" c:type="StShadowHelper" glib:type-name="StShadowHelper" glib:get-type="st_shadow_helper_get_type" c:symbol-prefix="shadow_helper"> <source-position filename="../src/st/st-shadow.h" line="32"/> <constructor name="new" c:identifier="st_shadow_helper_new"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="199">Builds a #StShadowHelper that will build a drop shadow using @source as the mask.</doc> <source-position filename="../src/st/st-shadow.h" line="80"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="206">a new #StShadowHelper</doc> <type name="ShadowHelper" c:type="StShadowHelper*"/> </return-value> <parameters> <parameter name="shadow" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="201">a #StShadow representing the shadow properties</doc> <type name="Shadow" c:type="StShadow*"/> </parameter> </parameters> </constructor> <method name="copy" c:identifier="st_shadow_helper_copy"> <source-position filename="../src/st/st-shadow.h" line="82"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="244">a copy of @helper</doc> <type name="ShadowHelper" c:type="StShadowHelper*"/> </return-value> <parameters> <instance-parameter name="helper" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="242">the #StShadowHelper to copy</doc> <type name="ShadowHelper" c:type="StShadowHelper*"/> </instance-parameter> </parameters> </method> <method name="free" c:identifier="st_shadow_helper_free"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="260">Free resources associated with @helper.</doc> <source-position filename="../src/st/st-shadow.h" line="83"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="helper" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="262">a #StShadowHelper</doc> <type name="ShadowHelper" c:type="StShadowHelper*"/> </instance-parameter> </parameters> </method> <method name="paint" c:identifier="st_shadow_helper_paint"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="276">Paints the shadow associated with @helper This must only be called from the implementation of ClutterActor::paint().</doc> <source-position filename="../src/st/st-shadow.h" line="88"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="helper" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="278">a #StShadowHelper</doc> <type name="ShadowHelper" c:type="StShadowHelper*"/> </instance-parameter> <parameter name="framebuffer" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="279">a #CoglFramebuffer</doc> <type name="Cogl.Framebuffer" c:type="CoglFramebuffer*"/> </parameter> <parameter name="actor_box" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="280">the bounding box of the shadow</doc> <type name="Clutter.ActorBox" c:type="ClutterActorBox*"/> </parameter> <parameter name="paint_opacity" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-shadow.c" line="281">the opacity at which the shadow is painted</doc> <type name="guint8" c:type="guint8"/> </parameter> </parameters> </method> <method name="update" c:identifier="st_shadow_helper_update"> <source-position filename="../src/st/st-shadow.h" line="85"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="helper" transfer-ownership="none"> <type name="ShadowHelper" c:type="StShadowHelper*"/> </instance-parameter> <parameter name="source" transfer-ownership="none"> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> </parameters> </method> </record> <enumeration name="Side" glib:type-name="StSide" glib:get-type="st_side_get_type" c:type="StSide"> <member name="top" value="0" c:identifier="ST_SIDE_TOP" glib:nick="top"> </member> <member name="right" value="1" c:identifier="ST_SIDE_RIGHT" glib:nick="right"> </member> <member name="bottom" value="2" c:identifier="ST_SIDE_BOTTOM" glib:nick="bottom"> </member> <member name="left" value="3" c:identifier="ST_SIDE_LEFT" glib:nick="left"> </member> </enumeration> <enumeration name="TextAlign" glib:type-name="StTextAlign" glib:get-type="st_text_align_get_type" c:type="StTextAlign"> <member name="left" value="0" c:identifier="ST_TEXT_ALIGN_LEFT" glib:nick="left"> </member> <member name="center" value="1" c:identifier="ST_TEXT_ALIGN_CENTER" glib:nick="center"> </member> <member name="right" value="2" c:identifier="ST_TEXT_ALIGN_RIGHT" glib:nick="right"> </member> <member name="justify" value="3" c:identifier="ST_TEXT_ALIGN_JUSTIFY" glib:nick="justify"> </member> </enumeration> <bitfield name="TextDecoration" glib:type-name="StTextDecoration" glib:get-type="st_text_decoration_get_type" c:type="StTextDecoration"> <member name="underline" value="1" c:identifier="ST_TEXT_DECORATION_UNDERLINE" glib:nick="underline"> </member> <member name="overline" value="2" c:identifier="ST_TEXT_DECORATION_OVERLINE" glib:nick="overline"> </member> <member name="line_through" value="4" c:identifier="ST_TEXT_DECORATION_LINE_THROUGH" glib:nick="line-through"> </member> <member name="blink" value="8" c:identifier="ST_TEXT_DECORATION_BLINK" glib:nick="blink"> </member> </bitfield> <class name="TextureCache" c:symbol-prefix="texture_cache" c:type="StTextureCache" parent="GObject.Object" glib:type-name="StTextureCache" glib:get-type="st_texture_cache_get_type" glib:type-struct="TextureCacheClass"> <source-position filename="../src/st/st-texture-cache.h" line="38"/> <function name="get_default" c:identifier="st_texture_cache_get_default"> <source-position filename="../src/st/st-texture-cache.h" line="55"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1618">The global texture cache</doc> <type name="TextureCache" c:type="StTextureCache*"/> </return-value> </function> <method name="bind_cairo_surface_property" c:identifier="st_texture_cache_bind_cairo_surface_property"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="805">Create a #ClutterActor which tracks the #cairo_surface_t value of a GObject property named by @property_name. Unlike other methods in StTextureCache, the underlying #CoglTexture is not shared by default with other invocations to this method. If the source object is destroyed, the texture will continue to show the last value of the property.</doc> <source-position filename="../src/st/st-texture-cache.h" line="67"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="818">A new #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </return-value> <parameters> <instance-parameter name="cache" transfer-ownership="none"> <type name="TextureCache" c:type="StTextureCache*"/> </instance-parameter> <parameter name="object" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="808">A #GObject with a property @property_name of type #GdkPixbuf</doc> <type name="GObject.Object" c:type="GObject*"/> </parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="809">Name of a property</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="size" transfer-ownership="none"> <type name="gint" c:type="gint"/> </parameter> </parameters> </method> <method name="load" c:identifier="st_texture_cache_load" introspectable="0" throws="1"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="854">Load an arbitrary texture, caching it. The string chosen for @key should be of the form "type-prefix:type-uuid". For example, "url:file:///usr/share/icons/hicolor/48x48/apps/firefox.png", or "stock-icon:gtk-ok".</doc> <source-position filename="../src/st/st-texture-cache.h" line="109"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="868">A newly-referenced handle to the texture</doc> <type name="Cogl.Texture" c:type="CoglTexture*"/> </return-value> <parameters> <instance-parameter name="cache" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="856">A #StTextureCache</doc> <type name="TextureCache" c:type="StTextureCache*"/> </instance-parameter> <parameter name="key" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="857">Arbitrary string used to refer to item</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="policy" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="858">Caching policy</doc> <type name="TextureCachePolicy" c:type="StTextureCachePolicy"/> </parameter> <parameter name="load" transfer-ownership="none" closure="3"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="859">Function to create the texture, if not already cached</doc> <type name="TextureCacheLoader" c:type="StTextureCacheLoader"/> </parameter> <parameter name="data" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="860">User data passed to @load</doc> <type name="gpointer" c:type="void*"/> </parameter> </parameters> </method> <method name="load_file_async" c:identifier="st_texture_cache_load_file_async"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1375">Asynchronously load an image. Initially, the returned texture will have a natural size of zero. At some later point, either the image will be loaded successfully and at that point size will be negotiated, or upon an error, no image will be set.</doc> <source-position filename="../src/st/st-texture-cache.h" line="79"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1388">A new #ClutterActor with no image loaded initially.</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="cache" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1377">The texture cache instance</doc> <type name="TextureCache" c:type="StTextureCache*"/> </instance-parameter> <parameter name="file" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1378">a #GFile of the image file from which to create a pixbuf</doc> <type name="Gio.File" c:type="GFile*"/> </parameter> <parameter name="available_width" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1379">available width for the image, can be -1 if not limited</doc> <type name="gint" c:type="int"/> </parameter> <parameter name="available_height" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1380">available height for the image, can be -1 if not limited</doc> <type name="gint" c:type="int"/> </parameter> <parameter name="paint_scale" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1381">scale factor of the display</doc> <type name="gint" c:type="int"/> </parameter> <parameter name="resource_scale" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1382">Resource scale factor</doc> <type name="gfloat" c:type="gfloat"/> </parameter> </parameters> </method> <method name="load_file_to_cairo_surface" c:identifier="st_texture_cache_load_file_to_cairo_surface"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1576">This function synchronously loads the given file path into a cairo surface. On error, a warning is emitted and %NULL is returned.</doc> <source-position filename="../src/st/st-texture-cache.h" line="91"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1587">a new #cairo_surface_t</doc> <type name="cairo.Surface" c:type="cairo_surface_t*"/> </return-value> <parameters> <instance-parameter name="cache" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1578">A #StTextureCache</doc> <type name="TextureCache" c:type="StTextureCache*"/> </instance-parameter> <parameter name="file" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1579">A #GFile in supported image format</doc> <type name="Gio.File" c:type="GFile*"/> </parameter> <parameter name="paint_scale" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1580">Scale factor of the display</doc> <type name="gint" c:type="gint"/> </parameter> <parameter name="resource_scale" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1581">Resource scale factor</doc> <type name="gfloat" c:type="gfloat"/> </parameter> </parameters> </method> <method name="load_file_to_cogl_texture" c:identifier="st_texture_cache_load_file_to_cogl_texture" introspectable="0"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1539">This function synchronously loads the given file path into a COGL texture. On error, a warning is emitted and %NULL is returned.</doc> <source-position filename="../src/st/st-texture-cache.h" line="86"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1550">a new #CoglTexture</doc> <type name="Cogl.Texture" c:type="CoglTexture*"/> </return-value> <parameters> <instance-parameter name="cache" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1541">A #StTextureCache</doc> <type name="TextureCache" c:type="StTextureCache*"/> </instance-parameter> <parameter name="file" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1542">A #GFile in supported image format</doc> <type name="Gio.File" c:type="GFile*"/> </parameter> <parameter name="paint_scale" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1543">Scale factor of the display</doc> <type name="gint" c:type="gint"/> </parameter> <parameter name="resource_scale" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1544">Resource scale factor</doc> <type name="gfloat" c:type="gfloat"/> </parameter> </parameters> </method> <method name="load_gicon" c:identifier="st_texture_cache_load_gicon"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="947">This method returns a new #ClutterActor for a given #GIcon. If the icon isn't loaded already, the texture will be filled asynchronously.</doc> <source-position filename="../src/st/st-texture-cache.h" line="72"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="961">A new #ClutterActor for the icon, or %NULL if not found</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="cache" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="949">The texture cache instance</doc> <type name="TextureCache" c:type="StTextureCache*"/> </instance-parameter> <parameter name="theme_node" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="950">The #StThemeNode to use for colors, or NULL if the icon must not be recolored</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </parameter> <parameter name="icon" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="952">the #GIcon to load</doc> <type name="Gio.Icon" c:type="GIcon*"/> </parameter> <parameter name="size" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="953">Size of themed</doc> <type name="gint" c:type="gint"/> </parameter> <parameter name="paint_scale" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="954">Scale factor of display</doc> <type name="gint" c:type="gint"/> </parameter> <parameter name="resource_scale" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="955">Resource scale factor</doc> <type name="gfloat" c:type="gfloat"/> </parameter> </parameters> </method> <method name="load_sliced_image" c:identifier="st_texture_cache_load_sliced_image"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1314">This function reads a single image file which contains multiple images internally. The image file will be divided using @grid_width and @grid_height; note that the dimensions of the image loaded from @path should be a multiple of the specified grid dimensions.</doc> <source-position filename="../src/st/st-texture-cache.h" line="58"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1329">A new #ClutterActor</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="cache" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1316">A #StTextureCache</doc> <type name="TextureCache" c:type="StTextureCache*"/> </instance-parameter> <parameter name="file" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1317">A #GFile</doc> <type name="Gio.File" c:type="GFile*"/> </parameter> <parameter name="grid_width" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1318">Width in pixels</doc> <type name="gint" c:type="gint"/> </parameter> <parameter name="grid_height" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1319">Height in pixels</doc> <type name="gint" c:type="gint"/> </parameter> <parameter name="paint_scale" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1320">Scale factor of the display</doc> <type name="gint" c:type="gint"/> </parameter> <parameter name="resource_scale" transfer-ownership="none"> <type name="gfloat" c:type="gfloat"/> </parameter> <parameter name="load_callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="6"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1321">Function called when the image is loaded, or %NULL</doc> <type name="GLib.Func" c:type="GFunc"/> </parameter> <parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.c" line="1322">Data to pass to the load callback</doc> <type name="gpointer" c:type="gpointer"/> </parameter> </parameters> </method> <method name="rescan_icon_theme" c:identifier="st_texture_cache_rescan_icon_theme"> <source-position filename="../src/st/st-texture-cache.h" line="116"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="cache" transfer-ownership="none"> <type name="TextureCache" c:type="StTextureCache*"/> </instance-parameter> </parameters> </method> <field name="parent"> <type name="GObject.Object" c:type="GObject"/> </field> <field name="priv"> <type name="TextureCachePrivate" c:type="StTextureCachePrivate*"/> </field> <glib:signal name="icon-theme-changed" when="last"> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> <glib:signal name="texture-file-changed" when="last"> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="object" transfer-ownership="none"> <type name="Gio.File"/> </parameter> </parameters> </glib:signal> </class> <record name="TextureCacheClass" c:type="StTextureCacheClass" glib:is-gtype-struct-for="TextureCache"> <source-position filename="../src/st/st-texture-cache.h" line="38"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> </record> <callback name="TextureCacheLoader" c:type="StTextureCacheLoader" introspectable="0" throws="1"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.h" line="96">See st_texture_cache_load(). Implementations should return a texture handle for the given key, or set @error.</doc> <source-position filename="../src/st/st-texture-cache.h" line="107"/> <return-value> <type name="Cogl.Texture" c:type="CoglTexture*"/> </return-value> <parameters> <parameter name="cache" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.h" line="98">a #StTextureCache</doc> <type name="TextureCache" c:type="StTextureCache*"/> </parameter> <parameter name="key" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.h" line="99">Unique identifier for this texture</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="data" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-texture-cache.h" line="100">Callback user data</doc> <type name="gpointer" c:type="void*"/> </parameter> </parameters> </callback> <enumeration name="TextureCachePolicy" glib:type-name="StTextureCachePolicy" glib:get-type="st_texture_cache_policy_get_type" c:type="StTextureCachePolicy"> <member name="none" value="0" c:identifier="ST_TEXTURE_CACHE_POLICY_NONE" glib:nick="none"> </member> <member name="forever" value="1" c:identifier="ST_TEXTURE_CACHE_POLICY_FOREVER" glib:nick="forever"> </member> </enumeration> <record name="TextureCachePrivate" c:type="StTextureCachePrivate" disguised="1"> <source-position filename="../src/st/st-texture-cache.h" line="41"/> </record> <class name="Theme" c:symbol-prefix="theme" c:type="StTheme" parent="GObject.Object" glib:type-name="StTheme" glib:get-type="st_theme_get_type" glib:type-struct="ThemeClass"> <source-position filename="../src/st/st-theme.h" line="39"/> <constructor name="new" c:identifier="st_theme_new"> <source-position filename="../src/st/st-theme.h" line="41"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme.c" line="464">the newly created theme object</doc> <type name="Theme" c:type="StTheme*"/> </return-value> <parameters> <parameter name="application_stylesheet" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme.c" line="457">The highest priority stylesheet, representing application-specific styling; this is associated with the CSS "author" stylesheet, may be %NULL</doc> <type name="Gio.File" c:type="GFile*"/> </parameter> <parameter name="theme_stylesheet" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme.c" line="459">The second priority stylesheet, representing theme-specific styling ; this is associated with the CSS "user" stylesheet, may be %NULL</doc> <type name="Gio.File" c:type="GFile*"/> </parameter> <parameter name="default_stylesheet" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme.c" line="461">The lowest priority stylesheet, representing global default styling; this is associated with the CSS "user agent" stylesheet, may be %NULL</doc> <type name="Gio.File" c:type="GFile*"/> </parameter> </parameters> </constructor> <method name="get_custom_stylesheets" c:identifier="st_theme_get_custom_stylesheets"> <source-position filename="../src/st/st-theme.h" line="47"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme.c" line="304">the list of stylesheet files that were loaded with st_theme_load_stylesheet()</doc> <type name="GLib.SList" c:type="GSList*"> <type name="Gio.File"/> </type> </return-value> <parameters> <instance-parameter name="theme" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme.c" line="302">an #StTheme</doc> <type name="Theme" c:type="StTheme*"/> </instance-parameter> </parameters> </method> <method name="load_stylesheet" c:identifier="st_theme_load_stylesheet" throws="1"> <source-position filename="../src/st/st-theme.h" line="45"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="theme" transfer-ownership="none"> <type name="Theme" c:type="StTheme*"/> </instance-parameter> <parameter name="file" transfer-ownership="none"> <type name="Gio.File" c:type="GFile*"/> </parameter> </parameters> </method> <method name="unload_stylesheet" c:identifier="st_theme_unload_stylesheet"> <source-position filename="../src/st/st-theme.h" line="46"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="theme" transfer-ownership="none"> <type name="Theme" c:type="StTheme*"/> </instance-parameter> <parameter name="file" transfer-ownership="none"> <type name="Gio.File" c:type="GFile*"/> </parameter> </parameters> </method> <property name="application-stylesheet" writable="1" construct-only="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme.c" line="128">The highest priority stylesheet, representing application-specific styling; this is associated with the CSS "author" stylesheet.</doc> <type name="Gio.File"/> </property> <property name="default-stylesheet" writable="1" construct-only="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme.c" line="156">The lowest priority stylesheet, representing global default styling; this is associated with the CSS "user agent" stylesheet.</doc> <type name="Gio.File"/> </property> <property name="theme-stylesheet" writable="1" construct-only="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme.c" line="142">The second priority stylesheet, representing theme-specific styling; this is associated with the CSS "user" stylesheet.</doc> <type name="Gio.File"/> </property> <glib:signal name="custom-stylesheets-changed" when="last"> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> </class> <record name="ThemeClass" c:type="StThemeClass" glib:is-gtype-struct-for="Theme"> <source-position filename="../src/st/st-theme.h" line="39"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> </record> <class name="ThemeContext" c:symbol-prefix="theme_context" c:type="StThemeContext" parent="GObject.Object" glib:type-name="StThemeContext" glib:get-type="st_theme_context_get_type" glib:type-struct="ThemeContextClass"> <source-position filename="../src/st/st-theme-context.h" line="42"/> <constructor name="new" c:identifier="st_theme_context_new"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="210">Create a new theme context not associated with any #ClutterStage. This can be useful in testing scenarios, or if using StThemeContext with something other than #ClutterActor objects, but you generally should use st_theme_context_get_for_stage() instead.</doc> <source-position filename="../src/st/st-theme-context.h" line="45"/> <return-value transfer-ownership="full"> <type name="ThemeContext" c:type="StThemeContext*"/> </return-value> </constructor> <function name="get_for_stage" c:identifier="st_theme_context_get_for_stage"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="293">Gets a singleton theme context associated with the stage.</doc> <source-position filename="../src/st/st-theme-context.h" line="46"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="299">the singleton theme context for the stage</doc> <type name="ThemeContext" c:type="StThemeContext*"/> </return-value> <parameters> <parameter name="stage" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="295">a #ClutterStage</doc> <type name="Clutter.Stage" c:type="ClutterStage*"/> </parameter> </parameters> </function> <method name="get_font" c:identifier="st_theme_context_get_font"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="398">Gets the default font for the theme context. See st_theme_context_set_font().</doc> <source-position filename="../src/st/st-theme-context.h" line="54"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="404">the default font for the theme context.</doc> <type name="Pango.FontDescription" c:type="const PangoFontDescription*"/> </return-value> <parameters> <instance-parameter name="context" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="400">a #StThemeContext</doc> <type name="ThemeContext" c:type="StThemeContext*"/> </instance-parameter> </parameters> </method> <method name="get_root_node" c:identifier="st_theme_context_get_root_node"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="414">Gets the root node of the tree of theme style nodes that associated with this context. For the node tree associated with a stage, this node represents styles applied to the stage itself.</doc> <source-position filename="../src/st/st-theme-context.h" line="56"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="422">the root node of the context's style tree</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </return-value> <parameters> <instance-parameter name="context" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="416">a #StThemeContext</doc> <type name="ThemeContext" c:type="StThemeContext*"/> </instance-parameter> </parameters> </method> <method name="get_scale_factor" c:identifier="st_theme_context_get_scale_factor"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="458">Return the current scale factor of @context.</doc> <source-position filename="../src/st/st-theme-context.h" line="61"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="464">a scale factor</doc> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="context" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="460">a #StThemeContext</doc> <type name="ThemeContext" c:type="StThemeContext*"/> </instance-parameter> </parameters> </method> <method name="get_theme" c:identifier="st_theme_context_get_theme"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="355">Gets the default theme for the context. See st_theme_context_set_theme()</doc> <source-position filename="../src/st/st-theme-context.h" line="50"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="361">the default theme for the context</doc> <type name="Theme" c:type="StTheme*"/> </return-value> <parameters> <instance-parameter name="context" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="357">a #StThemeContext</doc> <type name="ThemeContext" c:type="StThemeContext*"/> </instance-parameter> </parameters> </method> <method name="intern_node" c:identifier="st_theme_context_intern_node"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="434">Return an existing node matching @node, or if that isn't possible, @node itself.</doc> <source-position filename="../src/st/st-theme-context.h" line="58"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="442">a node with the same properties as @node</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </return-value> <parameters> <instance-parameter name="context" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="436">a #StThemeContext</doc> <type name="ThemeContext" c:type="StThemeContext*"/> </instance-parameter> <parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="437">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </parameter> </parameters> </method> <method name="set_font" c:identifier="st_theme_context_set_font"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="371">Sets the default font for the theme context. This is the font that is inherited by the root node of the tree of theme nodes. If the font is not overriden, then this font will be used. If the font is partially modified (for example, with 'font-size: 110%', then that modification is based on this font.</doc> <source-position filename="../src/st/st-theme-context.h" line="52"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="context" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="373">a #StThemeContext</doc> <type name="ThemeContext" c:type="StThemeContext*"/> </instance-parameter> <parameter name="font" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="374">the default font for theme context</doc> <type name="Pango.FontDescription" c:type="const PangoFontDescription*"/> </parameter> </parameters> </method> <method name="set_theme" c:identifier="st_theme_context_set_theme"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="320">Sets the default set of theme stylesheets for the context. This theme will be used for the root node and for nodes descending from it, unless some other style is explicitely specified.</doc> <source-position filename="../src/st/st-theme-context.h" line="48"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="context" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="322">a #StThemeContext</doc> <type name="ThemeContext" c:type="StThemeContext*"/> </instance-parameter> <parameter name="theme" transfer-ownership="none"> <type name="Theme" c:type="StTheme*"/> </parameter> </parameters> </method> <property name="scale-factor" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-context.c" line="118">The scaling factor used or high dpi scaling.</doc> <type name="gint" c:type="gint"/> </property> <glib:signal name="changed" when="last"> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> </class> <record name="ThemeContextClass" c:type="StThemeContextClass" glib:is-gtype-struct-for="ThemeContext"> <source-position filename="../src/st/st-theme-context.h" line="42"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> </record> <class name="ThemeNode" c:symbol-prefix="theme_node" c:type="StThemeNode" parent="GObject.Object" glib:type-name="StThemeNode" glib:get-type="st_theme_node_get_type" glib:type-struct="ThemeNodeClass"> <source-position filename="../src/st/st-theme-node.h" line="52"/> <constructor name="new" c:identifier="st_theme_node_new"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="167">Creates a new #StThemeNode. Once created, a node is immutable. Of any of the attributes of the node (like the @element_class) change the node and its child nodes must be destroyed and recreated.</doc> <source-position filename="../src/st/st-theme-node.h" line="115"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="187">the theme node</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </return-value> <parameters> <parameter name="context" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="169">the context representing global state for this themed tree</doc> <type name="ThemeContext" c:type="StThemeContext*"/> </parameter> <parameter name="parent_node" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="170">the parent node of this node</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </parameter> <parameter name="theme" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="171">a theme (stylesheet set) that overrides the theme inherited from the parent node</doc> <type name="Theme" c:type="StTheme*"/> </parameter> <parameter name="element_type" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="173">the type of the GObject represented by this node in the tree (corresponding to an element if we were theming an XML document. %G_TYPE_NONE means this style was created for the stage actor and matches a selector element name of 'stage'.</doc> <type name="GType" c:type="GType"/> </parameter> <parameter name="element_id" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="177">the ID to match CSS rules against</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="element_class" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="178">a whitespace-separated list of classes to match CSS rules against</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="pseudo_class" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="180">a whitespace-separated list of pseudo-classes (like 'hover' or 'visited') to match CSS rules against</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="inline_style" transfer-ownership="none"> <type name="utf8" c:type="const char*"/> </parameter> </parameters> </constructor> <method name="adjust_for_height" c:identifier="st_theme_node_adjust_for_height"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3674">Adjusts a "for height" passed to clutter_actor_get_preferred_width() to account for borders and padding. This is a convenience function meant to be called from a get_preferred_width() method of a #ClutterActor subclass. The value after adjustment is the height available for the actor's content.</doc> <source-position filename="../src/st/st-theme-node.h" line="248"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3676">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="for_height" direction="inout" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3677">the "for height" to adjust</doc> <type name="gfloat" c:type="float*"/> </parameter> </parameters> </method> <method name="adjust_for_width" c:identifier="st_theme_node_adjust_for_width"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3741">Adjusts a "for width" passed to clutter_actor_get_preferred_height() to account for borders and padding. This is a convenience function meant to be called from a get_preferred_height() method of a #ClutterActor subclass. The value after adjustment is the width available for the actor's content.</doc> <source-position filename="../src/st/st-theme-node.h" line="253"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3743">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="for_width" direction="inout" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3744">the "for width" to adjust</doc> <type name="gfloat" c:type="float*"/> </parameter> </parameters> </method> <method name="adjust_preferred_height" c:identifier="st_theme_node_adjust_preferred_height"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3766">Adjusts the minimum and natural height computed for an actor by adding on the necessary space for borders and padding and taking into account any minimum or maximum height. This is a convenience function meant to be called from the get_preferred_height() method of a #ClutterActor subclass</doc> <source-position filename="../src/st/st-theme-node.h" line="255"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3768">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="min_height_p" direction="inout" caller-allocates="0" transfer-ownership="full" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3769">the minimum height to adjust</doc> <type name="gfloat" c:type="float*"/> </parameter> <parameter name="natural_height_p" direction="inout" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3770">the natural height to adjust</doc> <type name="gfloat" c:type="float*"/> </parameter> </parameters> </method> <method name="adjust_preferred_width" c:identifier="st_theme_node_adjust_preferred_width"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3699">Adjusts the minimum and natural width computed for an actor by adding on the necessary space for borders and padding and taking into account any minimum or maximum width. This is a convenience function meant to be called from the get_preferred_width() method of a #ClutterActor subclass</doc> <source-position filename="../src/st/st-theme-node.h" line="250"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3701">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="min_width_p" direction="inout" caller-allocates="0" transfer-ownership="full" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3702">the minimum width to adjust</doc> <type name="gfloat" c:type="float*"/> </parameter> <parameter name="natural_width_p" direction="inout" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3703">the natural width to adjust</doc> <type name="gfloat" c:type="float*"/> </parameter> </parameters> </method> <method name="equal" c:identifier="st_theme_node_equal"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="301">Compare two #StThemeNodes. Two nodes which compare equal will match the same CSS rules and have the same style properties. However, two nodes that have ended up with identical style properties do not necessarily compare equal. In detail, @node_a and @node_b are considered equal iff <itemizedlist> <listitem> <para>they share the same #StTheme and #StThemeContext</para> </listitem> <listitem> <para>they have the same parent</para> </listitem> <listitem> <para>they have the same element type</para> </listitem> <listitem> <para>their id, class, pseudo-class and inline-style match</para> </listitem> </itemizedlist></doc> <source-position filename="../src/st/st-theme-node.h" line="128"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="326">%TRUE if @node_a equals @node_b</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="node_a" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="303">first #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="node_b" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="304">second #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </parameter> </parameters> </method> <method name="geometry_equal" c:identifier="st_theme_node_geometry_equal"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3936">Tests if two theme nodes have the same borders and padding; this can be used to optimize having to relayout when the style applied to a Clutter actor changes colors without changing the geometry.</doc> <source-position filename="../src/st/st-theme-node.h" line="272"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3938">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="other" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3939">a different #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </parameter> </parameters> </method> <method name="get_background_color" c:identifier="st_theme_node_get_background_color"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2145">Gets @node's background color.</doc> <source-position filename="../src/st/st-theme-node.h" line="181"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2147">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="color" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2148">location to store the color</doc> <type name="Clutter.Color" c:type="ClutterColor*"/> </parameter> </parameters> </method> <method name="get_background_gradient" c:identifier="st_theme_node_get_background_gradient"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2225">The @start and @end arguments will only be set if @type is not #ST_GRADIENT_NONE.</doc> <source-position filename="../src/st/st-theme-node.h" line="185"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2227">A #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="type" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2228">Type of gradient</doc> <type name="GradientType" c:type="StGradientType*"/> </parameter> <parameter name="start" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2229">Color at start of gradient</doc> <type name="Clutter.Color" c:type="ClutterColor*"/> </parameter> <parameter name="end" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2230">Color at end of gradient</doc> <type name="Clutter.Color" c:type="ClutterColor*"/> </parameter> </parameters> </method> <method name="get_background_image" c:identifier="st_theme_node_get_background_image"> <source-position filename="../src/st/st-theme-node.h" line="190"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2167">@node's background image.</doc> <type name="Gio.File" c:type="GFile*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2165">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_background_image_shadow" c:identifier="st_theme_node_get_background_image_shadow"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3452">Gets the value for the -st-background-image-shadow style property</doc> <source-position filename="../src/st/st-theme-node.h" line="243"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3458">the node's background image shadow, or %NULL if node has no such shadow</doc> <type name="Shadow" c:type="StShadow*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3454">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_background_paint_box" c:identifier="st_theme_node_get_background_paint_box"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3852">Gets the box used to paint the actor's background, including the area occupied by properties which paint outside the actor's assigned allocation.</doc> <source-position filename="../src/st/st-theme-node.h" line="268"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3854">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="allocation" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3855">the box allocated to a #ClutterActor</doc> <type name="Clutter.ActorBox" c:type="const ClutterActorBox*"/> </parameter> <parameter name="paint_box" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3856">computed box occupied when painting the actor's background</doc> <type name="Clutter.ActorBox" c:type="ClutterActorBox*"/> </parameter> </parameters> </method> <method name="get_border_color" c:identifier="st_theme_node_get_border_color"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2252">Gets the color of @node's border on @side</doc> <source-position filename="../src/st/st-theme-node.h" line="196"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2254">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="side" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2255">a #StSide</doc> <type name="Side" c:type="StSide"/> </parameter> <parameter name="color" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2256">location to store the color</doc> <type name="Clutter.Color" c:type="ClutterColor*"/> </parameter> </parameters> </method> <method name="get_border_image" c:identifier="st_theme_node_get_border_image"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2992">Gets the value for the border-image style property</doc> <source-position filename="../src/st/st-theme-node.h" line="239"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2998">the border image, or %NULL if there is no border image.</doc> <type name="BorderImage" c:type="StBorderImage*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2994">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_border_radius" c:identifier="st_theme_node_get_border_radius"> <source-position filename="../src/st/st-theme-node.h" line="194"/> <return-value transfer-ownership="none"> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="corner" transfer-ownership="none"> <type name="Corner" c:type="StCorner"/> </parameter> </parameters> </method> <method name="get_border_width" c:identifier="st_theme_node_get_border_width"> <source-position filename="../src/st/st-theme-node.h" line="192"/> <return-value transfer-ownership="none"> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="side" transfer-ownership="none"> <type name="Side" c:type="StSide"/> </parameter> </parameters> </method> <method name="get_box_shadow" c:identifier="st_theme_node_get_box_shadow"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3419">Gets the value for the box-shadow style property</doc> <source-position filename="../src/st/st-theme-node.h" line="240"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3425">the node's shadow, or %NULL if node has no shadow</doc> <type name="Shadow" c:type="StShadow*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3421">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_color" c:identifier="st_theme_node_get_color"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="681">Generically looks up a property containing a single color value. When specific getters (like st_theme_node_get_background_color()) exist, they should be used instead. They are cached, so more efficient, and have handling for shortcut properties and other details of CSS. If @property_name is not found, a warning will be logged and a default color returned. See also st_theme_node_lookup_color(), which provides more options, and lets you handle the case where the theme does not specify the indicated color.</doc> <source-position filename="../src/st/st-theme-node.h" line="167"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="683">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="684">The name of the color property</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="color" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="685">location to store the color that was determined.</doc> <type name="Clutter.Color" c:type="ClutterColor*"/> </parameter> </parameters> </method> <method name="get_content_box" c:identifier="st_theme_node_get_content_box"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3807">Gets the box within an actor's allocation that contents the content of an actor (excluding borders and padding). This is a convenience function meant to be used from the allocate() or paint() methods of a #ClutterActor subclass.</doc> <source-position filename="../src/st/st-theme-node.h" line="260"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3809">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="allocation" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3810">the box allocated to a #ClutterAlctor</doc> <type name="Clutter.ActorBox" c:type="const ClutterActorBox*"/> </parameter> <parameter name="content_box" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3811">computed box occupied by the actor's content</doc> <type name="Clutter.ActorBox" c:type="ClutterActorBox*"/> </parameter> </parameters> </method> <method name="get_double" c:identifier="st_theme_node_get_double"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="828">Generically looks up a property containing a single numeric value without units. See also st_theme_node_lookup_double(), which provides more options, and lets you handle the case where the theme does not specify the indicated value.</doc> <source-position filename="../src/st/st-theme-node.h" line="170"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="840">the value found. If @property_name is not found, a warning will be logged and 0 will be returned.</doc> <type name="gdouble" c:type="gdouble"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="830">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="831">The name of the numeric property</doc> <type name="utf8" c:type="const char*"/> </parameter> </parameters> </method> <method name="get_element_classes" c:identifier="st_theme_node_get_element_classes"> <source-position filename="../src/st/st-theme-node.h" line="133"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="278">the element's classes</doc> <array c:type="GStrv"> <type name="utf8"/> </array> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_element_id" c:identifier="st_theme_node_get_element_id"> <source-position filename="../src/st/st-theme-node.h" line="132"/> <return-value transfer-ownership="none"> <type name="utf8" c:type="const char*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_element_type" c:identifier="st_theme_node_get_element_type"> <source-position filename="../src/st/st-theme-node.h" line="131"/> <return-value transfer-ownership="none"> <type name="GType" c:type="GType"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_font" c:identifier="st_theme_node_get_font"> <source-position filename="../src/st/st-theme-node.h" line="235"/> <return-value transfer-ownership="none"> <type name="Pango.FontDescription" c:type="const PangoFontDescription*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_font_features" c:identifier="st_theme_node_get_font_features"> <source-position filename="../src/st/st-theme-node.h" line="237"/> <return-value transfer-ownership="full"> <type name="utf8" c:type="gchar*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_foreground_color" c:identifier="st_theme_node_get_foreground_color"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2179">Gets @node's foreground color.</doc> <source-position filename="../src/st/st-theme-node.h" line="183"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2181">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="color" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2182">location to store the color</doc> <type name="Clutter.Color" c:type="ClutterColor*"/> </parameter> </parameters> </method> <method name="get_height" c:identifier="st_theme_node_get_height"> <source-position filename="../src/st/st-theme-node.h" line="214"/> <return-value transfer-ownership="none"> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_horizontal_padding" c:identifier="st_theme_node_get_horizontal_padding"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3131">Gets the total horizonal padding (left + right padding)</doc> <source-position filename="../src/st/st-theme-node.h" line="207"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3137">the total horizonal padding in pixels</doc> <type name="gdouble" c:type="double"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3133">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_icon_colors" c:identifier="st_theme_node_get_icon_colors"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3538">Gets the colors that should be used for colorizing symbolic icons according the style of this node.</doc> <source-position filename="../src/st/st-theme-node.h" line="245"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3545">the icon colors to use for this theme node</doc> <type name="IconColors" c:type="StIconColors*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3540">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_icon_style" c:identifier="st_theme_node_get_icon_style"> <source-position filename="../src/st/st-theme-node.h" line="222"/> <return-value transfer-ownership="none"> <type name="IconStyle" c:type="StIconStyle"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_length" c:identifier="st_theme_node_get_length"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1193">Generically looks up a property containing a single length value. When specific getters (like st_theme_node_get_border_width()) exist, they should be used instead. They are cached, so more efficient, and have handling for shortcut properties and other details of CSS. Unlike st_theme_node_get_color() and st_theme_node_get_double(), this does not print a warning if the property is not found; it just returns 0. See also st_theme_node_lookup_length(), which provides more options.</doc> <source-position filename="../src/st/st-theme-node.h" line="172"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1209">the length, in pixels, or 0 if the property was not found.</doc> <type name="gdouble" c:type="gdouble"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1195">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1196">The name of the length property</doc> <type name="utf8" c:type="const char*"/> </parameter> </parameters> </method> <method name="get_letter_spacing" c:identifier="st_theme_node_get_letter_spacing"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2485">Gets the value for the letter-spacing style property, in pixels.</doc> <source-position filename="../src/st/st-theme-node.h" line="228"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2491">the value of the letter-spacing property, if found, or zero if such property has not been found.</doc> <type name="gdouble" c:type="double"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2487">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_margin" c:identifier="st_theme_node_get_margin"> <source-position filename="../src/st/st-theme-node.h" line="210"/> <return-value transfer-ownership="none"> <type name="gdouble" c:type="double"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="side" transfer-ownership="none"> <type name="Side" c:type="StSide"/> </parameter> </parameters> </method> <method name="get_max_height" c:identifier="st_theme_node_get_max_height"> <source-position filename="../src/st/st-theme-node.h" line="218"/> <return-value transfer-ownership="none"> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_max_width" c:identifier="st_theme_node_get_max_width"> <source-position filename="../src/st/st-theme-node.h" line="217"/> <return-value transfer-ownership="none"> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_min_height" c:identifier="st_theme_node_get_min_height"> <source-position filename="../src/st/st-theme-node.h" line="216"/> <return-value transfer-ownership="none"> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_min_width" c:identifier="st_theme_node_get_min_width"> <source-position filename="../src/st/st-theme-node.h" line="215"/> <return-value transfer-ownership="none"> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_outline_color" c:identifier="st_theme_node_get_outline_color"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1844">Gets the color of @node's outline.</doc> <source-position filename="../src/st/st-theme-node.h" line="201"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1846">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="color" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1847">location to store the color</doc> <type name="Clutter.Color" c:type="ClutterColor*"/> </parameter> </parameters> </method> <method name="get_outline_width" c:identifier="st_theme_node_get_outline_width"> <source-position filename="../src/st/st-theme-node.h" line="200"/> <return-value transfer-ownership="none"> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_padding" c:identifier="st_theme_node_get_padding"> <source-position filename="../src/st/st-theme-node.h" line="204"/> <return-value transfer-ownership="none"> <type name="gdouble" c:type="double"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="side" transfer-ownership="none"> <type name="Side" c:type="StSide"/> </parameter> </parameters> </method> <method name="get_paint_box" c:identifier="st_theme_node_get_paint_box"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3888">Gets the box used to paint the actor, including the area occupied by properties which paint outside the actor's assigned allocation. When painting @node to an offscreen buffer, this function can be used to determine the necessary size of the buffer.</doc> <source-position filename="../src/st/st-theme-node.h" line="264"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3890">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="allocation" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3891">the box allocated to a #ClutterActor</doc> <type name="Clutter.ActorBox" c:type="const ClutterActorBox*"/> </parameter> <parameter name="paint_box" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3892">computed box occupied when painting the actor</doc> <type name="Clutter.ActorBox" c:type="ClutterActorBox*"/> </parameter> </parameters> </method> <method name="get_parent" c:identifier="st_theme_node_get_parent"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="226">Gets the parent themed element node.</doc> <source-position filename="../src/st/st-theme-node.h" line="124"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="232">the parent #StThemeNode, or %NULL if this is the root node of the tree of theme elements.</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="228">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_pseudo_classes" c:identifier="st_theme_node_get_pseudo_classes"> <source-position filename="../src/st/st-theme-node.h" line="134"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="291">the element's pseudo-classes</doc> <array c:type="GStrv"> <type name="utf8"/> </array> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_shadow" c:identifier="st_theme_node_get_shadow"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3390">Generically looks up a property containing a set of shadow values. When specific getters (like st_theme_node_get_box_shadow()) exist, they should be used instead. They are cached, so more efficient, and have handling for shortcut properties and other details of CSS. Like st_theme_get_length(), this does not print a warning if the property is not found; it just returns %NULL See also st_theme_node_lookup_shadow (), which provides more options.</doc> <source-position filename="../src/st/st-theme-node.h" line="174"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3405">the shadow, or %NULL if the property was not found.</doc> <type name="Shadow" c:type="StShadow*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3392">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3393">The name of the shadow property</doc> <type name="utf8" c:type="const char*"/> </parameter> </parameters> </method> <method name="get_text_align" c:identifier="st_theme_node_get_text_align"> <source-position filename="../src/st/st-theme-node.h" line="226"/> <return-value transfer-ownership="none"> <type name="TextAlign" c:type="StTextAlign"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_text_decoration" c:identifier="st_theme_node_get_text_decoration"> <source-position filename="../src/st/st-theme-node.h" line="224"/> <return-value transfer-ownership="none"> <type name="TextDecoration" c:type="StTextDecoration"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_text_shadow" c:identifier="st_theme_node_get_text_shadow"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3493">Gets the value for the text-shadow style property</doc> <source-position filename="../src/st/st-theme-node.h" line="241"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3499">the node's text-shadow, or %NULL if node has no text-shadow</doc> <type name="Shadow" c:type="StShadow*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3495">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_theme" c:identifier="st_theme_node_get_theme"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="243">Gets the theme stylesheet set that styles this node</doc> <source-position filename="../src/st/st-theme-node.h" line="126"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="249">the theme stylesheet set</doc> <type name="Theme" c:type="StTheme*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="245">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_transition_duration" c:identifier="st_theme_node_get_transition_duration"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2297">Get the value of the transition-duration property, which specifies the transition time between the previous #StThemeNode and @node.</doc> <source-position filename="../src/st/st-theme-node.h" line="220"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2305">the node's transition duration in milliseconds</doc> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="2299">an #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_url" c:identifier="st_theme_node_get_url"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="920">Looks up a property containing a single URL value. See also st_theme_node_lookup_url(), which provides more options, and lets you handle the case where the theme does not specify the indicated value.</doc> <source-position filename="../src/st/st-theme-node.h" line="176"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="931">the newly allocated value if found. If @property_name is not found, a warning will be logged and %NULL will be returned.</doc> <type name="Gio.File" c:type="GFile*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="922">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="923">The name of the string property</doc> <type name="utf8" c:type="const char*"/> </parameter> </parameters> </method> <method name="get_vertical_padding" c:identifier="st_theme_node_get_vertical_padding"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3150">Gets the total vertical padding (top + bottom padding)</doc> <source-position filename="../src/st/st-theme-node.h" line="208"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3156">the total vertical padding in pixels</doc> <type name="gdouble" c:type="double"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3152">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="get_width" c:identifier="st_theme_node_get_width"> <source-position filename="../src/st/st-theme-node.h" line="213"/> <return-value transfer-ownership="none"> <type name="gint" c:type="int"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="hash" c:identifier="st_theme_node_hash"> <source-position filename="../src/st/st-theme-node.h" line="129"/> <return-value transfer-ownership="none"> <type name="guint" c:type="guint"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="invalidate_background_image" c:identifier="st_theme_node_invalidate_background_image"> <source-position filename="../src/st/st-theme-node.h" line="287"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="invalidate_border_image" c:identifier="st_theme_node_invalidate_border_image"> <source-position filename="../src/st/st-theme-node.h" line="288"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> <method name="lookup_color" c:identifier="st_theme_node_lookup_color"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="620">Generically looks up a property containing a single color value. When specific getters (like st_theme_node_get_background_color()) exist, they should be used instead. They are cached, so more efficient, and have handling for shortcut properties and other details of CSS. See also st_theme_node_get_color(), which provides a simpler API.</doc> <source-position filename="../src/st/st-theme-node.h" line="141"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="640">%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="622">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="623">The name of the color property</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="inherit" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="624">if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for @inherit; this only affects the default behavior for inheritance.</doc> <type name="gboolean" c:type="gboolean"/> </parameter> <parameter name="color" direction="out" caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="629">location to store the color that was determined. If the property is not found, the value in this location will not be changed.</doc> <type name="Clutter.Color" c:type="ClutterColor*"/> </parameter> </parameters> </method> <method name="lookup_double" c:identifier="st_theme_node_lookup_double"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="712">Generically looks up a property containing a single numeric value without units. See also st_theme_node_get_double(), which provides a simpler API.</doc> <source-position filename="../src/st/st-theme-node.h" line="145"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="730">%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="714">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="715">The name of the numeric property</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="inherit" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="716">if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for @inherit; this only affects the default behavior for inheritance.</doc> <type name="gboolean" c:type="gboolean"/> </parameter> <parameter name="value" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="721">location to store the value that was determined. If the property is not found, the value in this location will not be changed.</doc> <type name="gdouble" c:type="double*"/> </parameter> </parameters> </method> <method name="lookup_length" c:identifier="st_theme_node_lookup_length"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1151">Generically looks up a property containing a single length value. When specific getters (like st_theme_node_get_border_width()) exist, they should be used instead. They are cached, so more efficient, and have handling for shortcut properties and other details of CSS. See also st_theme_node_get_length(), which provides a simpler API.</doc> <source-position filename="../src/st/st-theme-node.h" line="149"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1172">%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1153">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1154">The name of the length property</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="inherit" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1155">if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for @inherit; this only affects the default behavior for inheritance.</doc> <type name="gboolean" c:type="gboolean"/> </parameter> <parameter name="length" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="1160">location to store the length that was determined. If the property is not found, the value in this location will not be changed. The returned length is resolved to pixels.</doc> <type name="gdouble" c:type="gdouble*"/> </parameter> </parameters> </method> <method name="lookup_shadow" c:identifier="st_theme_node_lookup_shadow"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3299">If the property is not found, the value in the shadow variable will not be changed. Generically looks up a property containing a set of shadow values. When specific getters (like st_theme_node_get_box_shadow ()) exist, they should be used instead. They are cached, so more efficient, and have handling for shortcut properties and other details of CSS. See also st_theme_node_get_shadow(), which provides a simpler API.</doc> <source-position filename="../src/st/st-theme-node.h" line="157"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3320">%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.), %FALSE if the property was not found, or was explicitly set to 'none'.</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3301">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3302">The name of the shadow property</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="inherit" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3303">if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for @inherit; this only affects the default behavior for inheritance.</doc> <type name="gboolean" c:type="gboolean"/> </parameter> <parameter name="shadow" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3308">location to store the shadow</doc> <type name="Shadow" c:type="StShadow**"/> </parameter> </parameters> </method> <method name="lookup_time" c:identifier="st_theme_node_lookup_time"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="767">Generically looks up a property containing a single time value, which is converted to milliseconds.</doc> <source-position filename="../src/st/st-theme-node.h" line="153"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="783">%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="769">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="770">The name of the time property</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="inherit" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="771">if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for @inherit; this only affects the default behavior for inheritance.</doc> <type name="gboolean" c:type="gboolean"/> </parameter> <parameter name="value" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="776">location to store the value that was determined. If the property is not found, the value in this location will not be changed.</doc> <type name="gdouble" c:type="gdouble*"/> </parameter> </parameters> </method> <method name="lookup_url" c:identifier="st_theme_node_lookup_url"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="858">Looks up a property containing a single URL value. See also st_theme_node_get_url(), which provides a simpler API.</doc> <source-position filename="../src/st/st-theme-node.h" line="161"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="875">%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="860">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="property_name" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="861">The name of the string property</doc> <type name="utf8" c:type="const char*"/> </parameter> <parameter name="inherit" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="862">if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for @inherit; this only affects the default behavior for inheritance.</doc> <type name="gboolean" c:type="gboolean"/> </parameter> <parameter name="file" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="867">location to store the newly allocated value that was determined. If the property is not found, the value in this location will not be changed.</doc> <type name="Gio.File" c:type="GFile**"/> </parameter> </parameters> </method> <method name="paint" c:identifier="st_theme_node_paint" introspectable="0"> <source-position filename="../src/st/st-theme-node.h" line="280"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="state" transfer-ownership="none"> <type name="ThemeNodePaintState" c:type="StThemeNodePaintState*"/> </parameter> <parameter name="framebuffer" transfer-ownership="none"> <type name="Cogl.Framebuffer" c:type="CoglFramebuffer*"/> </parameter> <parameter name="box" transfer-ownership="none"> <type name="Clutter.ActorBox" c:type="const ClutterActorBox*"/> </parameter> <parameter name="paint_opacity" transfer-ownership="none"> <type name="guint8" c:type="guint8"/> </parameter> <parameter name="resource_scale" transfer-ownership="none"> <type name="gfloat" c:type="float"/> </parameter> </parameters> </method> <method name="paint_equal" c:identifier="st_theme_node_paint_equal"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3982">Check if st_theme_node_paint() will paint identically for @node as it does for @other. Note that in some cases this function may return %TRUE even if there is no visible difference in the painting.</doc> <source-position filename="../src/st/st-theme-node.h" line="274"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3991">%TRUE if the two theme nodes paint identically. %FALSE if the two nodes potentially paint differently.</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3984">a #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> <parameter name="other" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-theme-node.c" line="3985">a different #StThemeNode</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </parameter> </parameters> </method> <method name="to_string" c:identifier="st_theme_node_to_string"> <source-position filename="../src/st/st-theme-node.h" line="290"/> <return-value transfer-ownership="full"> <type name="utf8" c:type="gchar*"/> </return-value> <parameters> <instance-parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </instance-parameter> </parameters> </method> </class> <record name="ThemeNodeClass" c:type="StThemeNodeClass" glib:is-gtype-struct-for="ThemeNode"> <source-position filename="../src/st/st-theme-node.h" line="52"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> </record> <record name="ThemeNodePaintState" c:type="StThemeNodePaintState"> <source-position filename="../src/st/st-theme-node.h" line="113"/> <field name="node" writable="1"> <type name="ThemeNode" c:type="StThemeNode*"/> </field> <field name="alloc_width" writable="1"> <type name="gfloat" c:type="float"/> </field> <field name="alloc_height" writable="1"> <type name="gfloat" c:type="float"/> </field> <field name="box_shadow_width" writable="1"> <type name="gfloat" c:type="float"/> </field> <field name="box_shadow_height" writable="1"> <type name="gfloat" c:type="float"/> </field> <field name="resource_scale" writable="1"> <type name="gfloat" c:type="float"/> </field> <field name="box_shadow_pipeline" writable="1"> <type name="Cogl.Pipeline" c:type="CoglPipeline*"/> </field> <field name="prerendered_texture" writable="1"> <type name="Cogl.Pipeline" c:type="CoglPipeline*"/> </field> <field name="prerendered_pipeline" writable="1"> <type name="Cogl.Pipeline" c:type="CoglPipeline*"/> </field> <field name="corner_material" writable="1"> <array zero-terminated="0" fixed-size="4"> <type name="Cogl.Pipeline" c:type="CoglPipeline*"/> </array> </field> <method name="copy" c:identifier="st_theme_node_paint_state_copy"> <source-position filename="../src/st/st-theme-node.h" line="294"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="state" transfer-ownership="none"> <type name="ThemeNodePaintState" c:type="StThemeNodePaintState*"/> </instance-parameter> <parameter name="other" transfer-ownership="none"> <type name="ThemeNodePaintState" c:type="StThemeNodePaintState*"/> </parameter> </parameters> </method> <method name="free" c:identifier="st_theme_node_paint_state_free"> <source-position filename="../src/st/st-theme-node.h" line="293"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="state" transfer-ownership="none"> <type name="ThemeNodePaintState" c:type="StThemeNodePaintState*"/> </instance-parameter> </parameters> </method> <method name="init" c:identifier="st_theme_node_paint_state_init"> <source-position filename="../src/st/st-theme-node.h" line="292"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="state" transfer-ownership="none"> <type name="ThemeNodePaintState" c:type="StThemeNodePaintState*"/> </instance-parameter> </parameters> </method> <method name="invalidate" c:identifier="st_theme_node_paint_state_invalidate"> <source-position filename="../src/st/st-theme-node.h" line="296"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="state" transfer-ownership="none"> <type name="ThemeNodePaintState" c:type="StThemeNodePaintState*"/> </instance-parameter> </parameters> </method> <method name="invalidate_for_file" c:identifier="st_theme_node_paint_state_invalidate_for_file"> <source-position filename="../src/st/st-theme-node.h" line="297"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="state" transfer-ownership="none"> <type name="ThemeNodePaintState" c:type="StThemeNodePaintState*"/> </instance-parameter> <parameter name="file" transfer-ownership="none"> <type name="Gio.File" c:type="GFile*"/> </parameter> </parameters> </method> <method name="set_node" c:identifier="st_theme_node_paint_state_set_node"> <source-position filename="../src/st/st-theme-node.h" line="300"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="state" transfer-ownership="none"> <type name="ThemeNodePaintState" c:type="StThemeNodePaintState*"/> </instance-parameter> <parameter name="node" transfer-ownership="none"> <type name="ThemeNode" c:type="StThemeNode*"/> </parameter> </parameters> </method> </record> <class name="Viewport" c:symbol-prefix="viewport" c:type="StViewport" parent="Widget" glib:type-name="StViewport" glib:get-type="st_viewport_get_type" glib:type-struct="ViewportClass"> <source-position filename="../src/st/st-viewport.h" line="38"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <implements name="Scrollable"/> <field name="parent_instance"> <type name="Widget" c:type="StWidget"/> </field> </class> <record name="ViewportClass" c:type="StViewportClass" glib:is-gtype-struct-for="Viewport"> <source-position filename="../src/st/st-viewport.h" line="38"/> <field name="parent_class"> <type name="WidgetClass" c:type="StWidgetClass"/> </field> </record> <function-macro name="WIDGET_ACCESSIBLE" c:identifier="ST_WIDGET_ACCESSIBLE" introspectable="0"> <source-position filename="../src/st/st-widget-accessible.h" line="35"/> <parameters> <parameter name="obj"> </parameter> </parameters> </function-macro> <function-macro name="WIDGET_ACCESSIBLE_CLASS" c:identifier="ST_WIDGET_ACCESSIBLE_CLASS" introspectable="0"> <source-position filename="../src/st/st-widget-accessible.h" line="43"/> <parameters> <parameter name="klass"> </parameter> </parameters> </function-macro> <function-macro name="WIDGET_ACCESSIBLE_GET_CLASS" c:identifier="ST_WIDGET_ACCESSIBLE_GET_CLASS" introspectable="0"> <source-position filename="../src/st/st-widget-accessible.h" line="51"/> <parameters> <parameter name="obj"> </parameter> </parameters> </function-macro> <class name="Widget" c:symbol-prefix="widget" c:type="StWidget" parent="Clutter.Actor" glib:type-name="StWidget" glib:get-type="st_widget_get_type" glib:type-struct="WidgetClass"> <source-position filename="../src/st/st-widget.h" line="82"/> <implements name="Atk.ImplementorIface"/> <implements name="Clutter.Animatable"/> <implements name="Clutter.Container"/> <implements name="Clutter.Scriptable"/> <virtual-method name="get_focus_chain" invoker="get_focus_chain"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="3044">Gets a list of the focusable children of @widget, in "Tab" order. By default, this returns all visible (as in clutter_actor_is_visible()) children of @widget.</doc> <source-position filename="../src/st/st-widget.h" line="81"/> <return-value transfer-ownership="container"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="3052"> @widget's focusable children</doc> <type name="GLib.List" c:type="GList*"> <type name="Clutter.Actor"/> </type> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="3046">An #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </virtual-method> <virtual-method name="navigate_focus"> <source-position filename="../src/st/st-widget.h" line="76"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="self" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.h" line="72">the "top level" container</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="from" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-widget.h" line="73">the actor that the focus is coming from</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> <parameter name="direction" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.h" line="74">the direction focus is moving in</doc> <type name="DirectionType" c:type="StDirectionType"/> </parameter> </parameters> </virtual-method> <virtual-method name="popup_menu" invoker="popup_menu"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1975">Asks the widget to pop-up a context menu.</doc> <source-position filename="../src/st/st-widget.h" line="65"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="self" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1977">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </virtual-method> <virtual-method name="resource_scale_changed"> <source-position filename="../src/st/st-widget.h" line="66"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="self" transfer-ownership="none"> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </virtual-method> <virtual-method name="style_changed" invoker="style_changed"> <source-position filename="../src/st/st-widget.h" line="64"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="self" transfer-ownership="none"> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </virtual-method> <method name="add_accessible_state" c:identifier="st_widget_add_accessible_state"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2556">This method adds @state as one of the accessible states for @widget. The list of states of a widget describes the current state of user interface element @widget and is provided so that assistive technologies know how to present @widget to the user. Usually you will have no need to add accessible states for an object, as the accessible object can extract most of the states from the object itself (ie: a #StButton knows when it is pressed). This method is only required when one cannot extract the information automatically from the object itself (i.e.: a generic container used as a toggle menu item will not automatically include the toggled state).</doc> <source-position filename="../src/st/st-widget.h" line="148"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2558">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="state" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2559">#AtkStateType state to add</doc> <type name="Atk.StateType" c:type="AtkStateType"/> </parameter> </parameters> </method> <method name="add_style_class_name" c:identifier="st_widget_add_style_class_name"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1141">Adds @style_class to @actor's style class name list, if it is not already present.</doc> <source-position filename="../src/st/st-widget.h" line="96"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1143">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="style_class" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1144">a style class name string</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="add_style_pseudo_class" c:identifier="st_widget_add_style_pseudo_class"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1304">Adds @pseudo_class to @actor's pseudo class list, if it is not already present.</doc> <source-position filename="../src/st/st-widget.h" line="86"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1306">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="pseudo_class" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1307">a pseudo class string</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="ensure_style" c:identifier="st_widget_ensure_style"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1778">Ensures that @widget has read its style information.</doc> <source-position filename="../src/st/st-widget.h" line="116"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1780">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_accessible_name" c:identifier="st_widget_get_accessible_name"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2463">Gets the accessible name for this widget. See st_widget_set_accessible_name() for more information.</doc> <source-position filename="../src/st/st-widget.h" line="154"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2470">a character string representing the accessible name of the widget.</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2465">widget to get the accessible name for</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_accessible_role" c:identifier="st_widget_get_accessible_role"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2518">Gets the #AtkRole for this widget. See st_widget_set_accessible_role() for more information.</doc> <source-position filename="../src/st/st-widget.h" line="147"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2525">accessible #AtkRole for this widget</doc> <type name="Atk.Role" c:type="AtkRole"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2520">widget to get the accessible role for</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_can_focus" c:identifier="st_widget_get_can_focus"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1958">Returns the current value of the can-focus property. See st_widget_set_can_focus() for more information.</doc> <source-position filename="../src/st/st-widget.h" line="120"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1965">current value of can-focus on @widget</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1960">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_focus_chain" c:identifier="st_widget_get_focus_chain"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="3044">Gets a list of the focusable children of @widget, in "Tab" order. By default, this returns all visible (as in clutter_actor_is_visible()) children of @widget.</doc> <source-position filename="../src/st/st-widget.h" line="135"/> <return-value transfer-ownership="container"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="3052"> @widget's focusable children</doc> <type name="GLib.List" c:type="GList*"> <type name="Clutter.Actor"/> </type> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="3046">An #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_hover" c:identifier="st_widget_get_hover"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1915">If #StWidget:track-hover is set, this returns whether the pointer is currently over the widget.</doc> <source-position filename="../src/st/st-widget.h" line="113"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1922">current value of hover on @widget</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1917">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_label_actor" c:identifier="st_widget_get_label_actor"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2381">Gets the label that identifies @widget if it is defined</doc> <source-position filename="../src/st/st-widget.h" line="126"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2387">the label that identifies the widget</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2383">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_resource_scale" c:identifier="st_widget_get_resource_scale"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1402">Retrieves the resource scale for this #StWidget, if available. The resource scale refers to the scale the actor should use for its resources.</doc> <source-position filename="../src/st/st-widget.h" line="138"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1404">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="resource_scale" direction="out" caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1405">return location for the resource scale</doc> <type name="gfloat" c:type="float*"/> </parameter> </parameters> </method> <method name="get_style" c:identifier="st_widget_get_style"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1385">Get the current inline style string. See st_widget_set_style().</doc> <source-position filename="../src/st/st-widget.h" line="106"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1391">The inline style string, or %NULL. The string is owned by the #StWidget and should not be modified or freed.</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1387">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_style_class_name" c:identifier="st_widget_get_style_class_name"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1193">Get the current style class name</doc> <source-position filename="../src/st/st-widget.h" line="100"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1199">the class name string. The string is owned by the #StWidget and should not be modified or freed.</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1195">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_style_pseudo_class" c:identifier="st_widget_get_style_pseudo_class"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1233">Get the current style pseudo class list. Note that an actor can have multiple pseudo classes; if you just want to test for the presence of a specific pseudo class, use st_widget_has_style_pseudo_class().</doc> <source-position filename="../src/st/st-widget.h" line="90"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1243">the pseudo class list string. The string is owned by the #StWidget and should not be modified or freed.</doc> <type name="utf8" c:type="const gchar*"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1235">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_theme_node" c:identifier="st_widget_get_theme_node"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="558">Gets the theme node holding style information for the widget. The theme node is used to access standard and custom CSS properties of the widget. Note: it is a fatal error to call this on a widget that is not been added to a stage.</doc> <source-position filename="../src/st/st-widget.h" line="132"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="569">the theme node for the widget. This is owned by the widget. When attributes of the widget or the environment that affect the styling change (for example the style_class property of the widget), it will be recreated, and the ::style-changed signal will be emitted on the widget.</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="560">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="get_track_hover" c:identifier="st_widget_get_track_hover"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1841">Returns the current value of the track-hover property. See st_widget_set_track_hover() for more information.</doc> <source-position filename="../src/st/st-widget.h" line="109"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1848">current value of track-hover on @widget</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1843">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="has_style_class_name" c:identifier="st_widget_has_style_class_name"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1210">Tests if @actor's style class list includes @style_class.</doc> <source-position filename="../src/st/st-widget.h" line="101"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1217">whether or not @actor's style class list includes @style_class.</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1212">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="style_class" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1213">a style class string</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="has_style_pseudo_class" c:identifier="st_widget_has_style_pseudo_class"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1254">Tests if @actor's pseudo class list includes @pseudo_class.</doc> <source-position filename="../src/st/st-widget.h" line="91"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1261">whether or not @actor's pseudo class list includes @pseudo_class.</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1256">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="pseudo_class" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1257">a pseudo class string</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="navigate_focus" c:identifier="st_widget_navigate_focus"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2232">Tries to update the keyboard focus within @widget in response to a keyboard event. If @from is a descendant of @widget, this attempts to move the keyboard focus to the next descendant of @widget (in the order implied by @direction) that has the #StWidget:can-focus property set. If @from is %NULL, this attempts to focus either @widget itself, or its first descendant in the order implied by @direction. If @from is outside of @widget, it behaves as if it was a descendant if @direction is one of the directional arrows and as if it was %NULL otherwise. If a container type is marked #StWidget:can-focus, the expected behavior is that it will only take up a single slot on the focus chain as a whole, rather than allowing navigation between its child actors (or having a distinction between itself being focused and one of its children being focused). Some widget classes might have slightly different behavior from the above, where that would make more sense. If @wrap_around is %TRUE and @from is a child of @widget, but the widget has no further children that can accept the focus in the given direction, then st_widget_navigate_focus() will try a second time, using a %NULL @from, which should cause it to reset the focus to the first available widget in the given direction.</doc> <source-position filename="../src/st/st-widget.h" line="121"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2266">%TRUE if clutter_actor_grab_key_focus() has been called on an actor. %FALSE if not.</doc> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2234">the "top level" container</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="from" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2235">the actor that the focus is coming from</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> <parameter name="direction" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2236">the direction focus is moving in</doc> <type name="DirectionType" c:type="StDirectionType"/> </parameter> <parameter name="wrap_around" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2237">whether focus should wrap around</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <method name="paint_background" c:identifier="st_widget_paint_background"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="398">Paint the background of the widget. This is meant to be called by subclasses of StWidget that need to paint the background without painting children.</doc> <source-position filename="../src/st/st-widget.h" line="136"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="400">The #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="paint_context" transfer-ownership="none"> <type name="Clutter.PaintContext" c:type="ClutterPaintContext*"/> </parameter> </parameters> </method> <method name="peek_theme_node" c:identifier="st_widget_peek_theme_node"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="648">Returns the theme node for the widget if it has already been computed, %NULL if the widget hasn't been added to a stage or the theme node hasn't been computed. If %NULL is returned, then ::style-changed will be reliably emitted before the widget is allocated or painted.</doc> <source-position filename="../src/st/st-widget.h" line="133"/> <return-value transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="657">the theme node for the widget. This is owned by the widget. When attributes of the widget or the environment that affect the styling change (for example the style_class property of the widget), it will be recreated, and the ::style-changed signal will be emitted on the widget.</doc> <type name="ThemeNode" c:type="StThemeNode*"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="650">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="popup_menu" c:identifier="st_widget_popup_menu"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1975">Asks the widget to pop-up a context menu.</doc> <source-position filename="../src/st/st-widget.h" line="114"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="self" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1977">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="remove_accessible_state" c:identifier="st_widget_remove_accessible_state"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2589">This method removes @state as on of the accessible states for @widget. See st_widget_add_accessible_state() for more information.</doc> <source-position filename="../src/st/st-widget.h" line="150"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2591">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="state" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2592">#AtkState state to remove</doc> <type name="Atk.StateType" c:type="AtkStateType"/> </parameter> </parameters> </method> <method name="remove_style_class_name" c:identifier="st_widget_remove_style_class_name"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1167">Removes @style_class from @actor's style class name, if it is present.</doc> <source-position filename="../src/st/st-widget.h" line="98"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1169">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="style_class" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1170">a style class name string</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="remove_style_pseudo_class" c:identifier="st_widget_remove_style_pseudo_class"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1330">Removes @pseudo_class from @actor's pseudo class, if it is present.</doc> <source-position filename="../src/st/st-widget.h" line="88"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1332">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="pseudo_class" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1333">a pseudo class string</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="set_accessible" c:identifier="st_widget_set_accessible"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2703">This method allows to set a customly created accessible object to this widget. For example if you define a new subclass of #StWidgetAccessible at the javascript code. NULL is a valid value for @accessible. That contemplates the hypothetical case of not needing anymore a custom accessible object for the widget. Next call of st_widget_get_accessible() would create and return a default accessible. It assumes that the call to atk_object_initialize that bound the gobject with the custom accessible object was already called, so not a responsibility of this method.</doc> <source-position filename="../src/st/st-widget.h" line="155"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2705">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="accessible" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2706">an accessible (#AtkObject)</doc> <type name="Atk.Object" c:type="AtkObject*"/> </parameter> </parameters> </method> <method name="set_accessible_name" c:identifier="st_widget_set_accessible_name"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2431">This method sets @name as the accessible name for @widget. Usually you will have no need to set the accessible name for an object, as usually there is a label for most of the interface elements. So in general it is better to just use @st_widget_set_label_actor. This method is only required when you need to set an accessible name and there is no available label object.</doc> <source-position filename="../src/st/st-widget.h" line="152"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2433">widget to set the accessible name for</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="name" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2434">a character string to be set as the accessible name</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="set_accessible_role" c:identifier="st_widget_set_accessible_role"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2481">This method sets @role as the accessible role for @widget. This role describes what kind of user interface element @widget is and is provided so that assistive technologies know how to present @widget to the user. Usually you will have no need to set the accessible role for an object, as this information is extracted from the context of the object (ie: a #StButton has by default a push button role). This method is only required when you need to redefine the role currently associated with the widget, for instance if it is being used in an unusual way (ie: a #StButton used as a togglebutton), or if a generic object is used directly (ie: a container as a menu item). If @role is #ATK_ROLE_INVALID, the role will not be changed and the accessible's default role will be used instead.</doc> <source-position filename="../src/st/st-widget.h" line="145"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2483">widget to set the accessible role for</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="role" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2484">The role to use</doc> <type name="Atk.Role" c:type="AtkRole"/> </parameter> </parameters> </method> <method name="set_can_focus" c:identifier="st_widget_set_can_focus"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1932">Marks @widget as being able to receive keyboard focus via keyboard navigation.</doc> <source-position filename="../src/st/st-widget.h" line="118"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1934">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="can_focus" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1935">%TRUE if the widget can receive keyboard focus via keyboard navigation</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <method name="set_hover" c:identifier="st_widget_set_hover"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1858">Sets @widget's hover property and adds or removes "hover" from its pseudo class accordingly. If you have set #StWidget:track-hover, you should not need to call this directly. You can call st_widget_sync_hover() if the hover state might be out of sync due to another actor's pointer grab.</doc> <source-position filename="../src/st/st-widget.h" line="110"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1860">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="hover" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1861">whether the pointer is hovering over the widget</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <method name="set_label_actor" c:identifier="st_widget_set_label_actor"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2397">Sets @label as the #ClutterActor that identifies (labels) @widget. @label can be %NULL to indicate that @widget is not labelled any more</doc> <source-position filename="../src/st/st-widget.h" line="127"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2399">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="label" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2400">a #ClutterActor</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> </parameters> </method> <method name="set_style" c:identifier="st_widget_set_style"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1355">Set the inline style string for this widget. The inline style string is an optional ';'-separated list of CSS properties that override the style as determined from the stylesheets of the current theme.</doc> <source-position filename="../src/st/st-widget.h" line="104"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1357">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="style" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1358">a inline style string, or %NULL</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="set_style_class_name" c:identifier="st_widget_set_style_class_name"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1114">Set the style class name list. @style_class_list can either be %NULL, for no classes, or a space-separated list of style class names. See also st_widget_add_style_class_name() and st_widget_remove_style_class_name().</doc> <source-position filename="../src/st/st-widget.h" line="94"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1116">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="style_class_list" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1117">a new style class list string</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="set_style_pseudo_class" c:identifier="st_widget_set_style_pseudo_class"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1277">Set the style pseudo class list. @pseudo_class_list can either be %NULL, for no classes, or a space-separated list of pseudo class names. See also st_widget_add_style_pseudo_class() and st_widget_remove_style_pseudo_class().</doc> <source-position filename="../src/st/st-widget.h" line="84"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1279">a #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="pseudo_class_list" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1280">a new pseudo class list string</doc> <type name="utf8" c:type="const gchar*"/> </parameter> </parameters> </method> <method name="set_track_hover" c:identifier="st_widget_set_track_hover"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1801">Enables hover tracking on the #StWidget. If hover tracking is enabled, and the widget is visible and reactive, then @widget's #StWidget:hover property will be updated automatically to reflect whether the pointer is in @widget (or one of its children), and @widget's #StWidget:pseudo-class will have the "hover" class added and removed from it accordingly. Note that currently it is not possible to correctly track the hover state when another actor has a pointer grab. You can use st_widget_sync_hover() to update the property manually in this case.</doc> <source-position filename="../src/st/st-widget.h" line="107"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1803">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> <parameter name="track_hover" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1804">%TRUE if the widget should track the pointer hover state</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> </method> <method name="style_changed" c:identifier="st_widget_style_changed"> <source-position filename="../src/st/st-widget.h" line="131"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <method name="sync_hover" c:identifier="st_widget_sync_hover"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1891">Sets @widget's hover state according to the current pointer position. This can be used to ensure that it is correct after (or during) a pointer grab.</doc> <source-position filename="../src/st/st-widget.h" line="112"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <instance-parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1893">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </instance-parameter> </parameters> </method> <property name="accessible-name" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="961">Object instance's name for assistive technology access.</doc> <type name="utf8" c:type="gchar*"/> </property> <property name="accessible-role" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="948">The accessible role of this object</doc> <type name="Atk.Role"/> </property> <property name="can-focus" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="924">Whether or not the widget can be focused via keyboard navigation.</doc> <type name="gboolean" c:type="gboolean"/> </property> <property name="hover" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="910">Whether or not the pointer is currently hovering over the widget. This is only tracked automatically if #StWidget:track-hover is %TRUE, but you can adjust it manually in any case.</doc> <type name="gboolean" c:type="gboolean"/> </property> <property name="label-actor" writable="1" transfer-ownership="none"> <type name="Clutter.Actor"/> </property> <property name="pseudo-class" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="856">The pseudo-class of the actor. Typical values include "hover", "active", "focus".</doc> <type name="utf8" c:type="gchar*"/> </property> <property name="style" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="881">Inline style information for the actor as a ';'-separated list of CSS properties.</doc> <type name="utf8" c:type="gchar*"/> </property> <property name="style-class" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="869">The style-class of the actor for use in styling.</doc> <type name="utf8" c:type="gchar*"/> </property> <property name="track-hover" writable="1" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="894">Determines whether the widget tracks pointer hover state. If %TRUE (and the widget is visible and reactive), the #StWidget:hover property and "hover" style pseudo class will be adjusted automatically as the pointer moves in and out of the widget.</doc> <type name="gboolean" c:type="gboolean"/> </property> <field name="parent_instance"> <type name="Clutter.Actor" c:type="ClutterActor"/> </field> <glib:signal name="popup-menu" when="last"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="990">Emitted when the user has requested a context menu (eg, via a keybinding)</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> <glib:signal name="resource-scale-changed" when="last"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1005">Emitted when the paint scale that the widget will be painted as changed.</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> <glib:signal name="style-changed" when="last"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="975">Emitted when the style information that the widget derives from the theme changes</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </glib:signal> </class> <class name="WidgetAccessible" c:symbol-prefix="widget_accessible" c:type="StWidgetAccessible" parent="Cally.Actor" glib:type-name="StWidgetAccessible" glib:get-type="st_widget_accessible_get_type" glib:type-struct="WidgetAccessibleClass"> <source-position filename="../src/st/st-widget-accessible.h" line="70"/> <implements name="Atk.Action"/> <implements name="Atk.Component"/> <field name="parent"> <type name="Cally.Actor" c:type="CallyActor"/> </field> <field name="priv" readable="0" private="1"> <type name="WidgetAccessiblePrivate" c:type="StWidgetAccessiblePrivate*"/> </field> </class> <record name="WidgetAccessibleClass" c:type="StWidgetAccessibleClass" glib:is-gtype-struct-for="WidgetAccessible"> <source-position filename="../src/st/st-widget-accessible.h" line="70"/> <field name="parent_class"> <type name="Cally.ActorClass" c:type="CallyActorClass"/> </field> </record> <record name="WidgetAccessiblePrivate" c:type="StWidgetAccessiblePrivate" disguised="1"> <source-position filename="../src/st/st-widget-accessible.h" line="57"/> </record> <record name="WidgetClass" c:type="StWidgetClass" glib:is-gtype-struct-for="Widget"> <doc xml:space="preserve" filename="../src/st/st-widget.h" line="53">Base class for stylable actors.</doc> <source-position filename="../src/st/st-widget.h" line="82"/> <field name="parent_class" readable="0" private="1"> <type name="Clutter.ActorClass" c:type="ClutterActorClass"/> </field> <field name="style_changed"> <callback name="style_changed"> <source-position filename="../src/st/st-widget.h" line="64"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="self" transfer-ownership="none"> <type name="Widget" c:type="StWidget*"/> </parameter> </parameters> </callback> </field> <field name="popup_menu"> <callback name="popup_menu"> <source-position filename="../src/st/st-widget.h" line="65"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="self" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="1977">A #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </parameter> </parameters> </callback> </field> <field name="resource_scale_changed"> <callback name="resource_scale_changed"> <source-position filename="../src/st/st-widget.h" line="66"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> <parameters> <parameter name="self" transfer-ownership="none"> <type name="Widget" c:type="StWidget*"/> </parameter> </parameters> </callback> </field> <field name="navigate_focus"> <callback name="navigate_focus"> <source-position filename="../src/st/st-widget.h" line="76"/> <return-value transfer-ownership="none"> <type name="gboolean" c:type="gboolean"/> </return-value> <parameters> <parameter name="self" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.h" line="72">the "top level" container</doc> <type name="Widget" c:type="StWidget*"/> </parameter> <parameter name="from" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve" filename="../src/st/st-widget.h" line="73">the actor that the focus is coming from</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> <parameter name="direction" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.h" line="74">the direction focus is moving in</doc> <type name="DirectionType" c:type="StDirectionType"/> </parameter> </parameters> </callback> </field> <field name="get_accessible_type"> <callback name="get_accessible_type"> <source-position filename="../src/st/st-widget.h" line="79"/> <return-value transfer-ownership="none"> <type name="GType" c:type="GType"/> </return-value> </callback> </field> <field name="get_focus_chain"> <callback name="get_focus_chain"> <source-position filename="../src/st/st-widget.h" line="81"/> <return-value transfer-ownership="container"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="3052"> @widget's focusable children</doc> <type name="GLib.List" c:type="GList*"> <type name="Clutter.Actor"/> </type> </return-value> <parameters> <parameter name="widget" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="3046">An #StWidget</doc> <type name="Widget" c:type="StWidget*"/> </parameter> </parameters> </callback> </field> </record> <function name="describe_actor" c:identifier="st_describe_actor"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2304">Creates a string describing @actor, for use in debugging. This includes the class name and actor name (if any), plus if @actor is an #StWidget, its style class and pseudo class names.</doc> <source-position filename="../src/st/st-widget.h" line="142"/> <return-value transfer-ownership="full"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2312">the debug name.</doc> <type name="utf8" c:type="char*"/> </return-value> <parameters> <parameter name="actor" transfer-ownership="none"> <doc xml:space="preserve" filename="../src/st/st-widget.c" line="2306">a #ClutterActor</doc> <type name="Clutter.Actor" c:type="ClutterActor*"/> </parameter> </parameters> </function> </namespace> </repository>
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.28 | Генерация страницы: 0.08 |
proxy
|
phpinfo
|
Настройка