⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.83
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
gnome-shell
/
Edit File: St-1.0.gir
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.
An #StAdjustment
A delta, retrieved directly from clutter_event_get_scroll_delta() or similar.
Gets all of @adjustment's values at once.
an #StAdjustment
the current value
the lower bound
the upper bound
the step increment
the page increment
the page size
Emitted when any of the adjustment values have changed
Base class for #StAdjustment.
Creates a new #StBin, a simple container for one child.
the newly created #StBin actor
Retrieves a pointer to the child of @bin.
a #ClutterActor, or %NULL
a #StBin
Retrieves the horizontal and vertical fill settings
a #StBin
return location for the horizontal fill, or %NULL
return location for the vertical fill, or %NULL
Sets @child as the child of @bin. If @bin already has a child, the previous child is removed.
a #StBin
a #ClutterActor, or %NULL
Sets whether the child of @bin should fill out the horizontal and/or vertical allocation of the parent
a #StBin
%TRUE if the child should fill horizontally the @bin
%TRUE if the child should fill vertically the @bin
The child #ClutterActor of the #StBin container.
Whether the child should fill the horizontal allocation
Whether the child should fill the vertical allocation
The #StBinClass struct contains only private data
Check if two border_image objects are identical.
%TRUE if the two border image objects are identical
a #StBorder_Image
a different #StBorder_Image
the #GFile for the #StBorder_Image
a #StBorder_Image
The contents of this structure are private and should only be accessed through the public API.
Create a new #StBoxLayout.
a newly allocated #StBoxLayout
Get the value of the #StBoxLayout::pack-start property.
%TRUE if pack-start is enabled
A #StBoxLayout
Get the value of the #StBoxLayout::vertical property.
%TRUE if the layout is vertical
A #StBoxLayout
Set the value of the #StBoxLayout::pack-start property.
A #StBoxLayout
%TRUE if the layout should use pack-start
Set the value of the #StBoxLayout::vertical property
A #StBoxLayout
%TRUE if the layout should be vertical
The contents of this structure are private and should only be accessed through the public API.
Create a new button
a new #StButton
Create a new #StButton with the specified label
a new #StButton
text to set the label to
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.
an #StButton
Gets the mask of mouse buttons that @button emits the #StButton::clicked signal for.
the mask of mouse buttons that @button emits the #StButton::clicked signal for.
a #StButton
Get the state of the button that is in toggle mode.
%TRUE if the button is checked, or %FALSE if not
a #StButton
Get the text displayed on the button
the text for the button. This must not be freed by the application
a #StButton
Get the toggle mode status of the button.
%TRUE if toggle mode is set, otherwise %FALSE
a #StButton
Sets which mouse buttons @button emits #StButton::clicked for.
a #Stbutton
the mask of mouse buttons that @button responds to
Sets the pressed state of the button. This is only really useful if the button has #toggle-mode mode set to %TRUE.
a #Stbutton
%TRUE or %FALSE
Sets the text displayed on the button
a #Stbutton
text to set the label to
Enables or disables toggle mode for the button. In toggle mode, the active state will be "toggled" when the user clicks the button.
a #Stbutton
%TRUE or %FALSE
Emitted when the user activates the button, either with a mouse press and release or with the keyboard.
the mouse button that was used
A mask representing which mouse buttons an StButton responds to.
button 1 (left)
button 2 (middle)
button 3 (right)
The contents of this structure is private and should only be accessed using the provided API.
Get the global #StClipboard object that represents the clipboard.
a #StClipboard owned by St and must not be unrefferenced or freed.
Request the data from the clipboard in text form. @callback is executed when the data is retreived.
A #StCliboard
The type of clipboard data you want
function to be called when the text is retreived
data to be passed to the callback
Sets the clipboard content.
A #StClipboard
The type of clipboard that you want to set
content mimetype
content data
Sets text as the current contents of the clipboard.
A #StClipboard
The type of clipboard that you want to set
text to copy to the clipboard
Callback function called when text is retrieved from the clipboard.
A #StClipboard
text from the clipboard
user data
Gets the Cairo context to paint to. This function must only be called from a signal hander for the ::repaint signal.
the Cairo context for the paint operation
the #StDrawingArea
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.
the #StDrawingArea
location to store the width of the painted area
location to store the height of the painted area
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.
the #StDrawingArea
Create a new #StEntry with the specified entry
a new #StEntry
text to set the entry to
This function is for private use by libgnome-shell. Do not ever use.
Retrieve the internal #ClutterText so that extra parameters can be set
the #ClutterText used by #StEntry. The entry is owned by the #StEntry and should not be unref'ed by the application.
a #StEntry
a #ClutterActor
a #StEntry
Gets the text that is displayed when the entry is empty and unfocused
the current value of the hint property. This string is owned by the #StEntry and should not be freed or modified.
a #StEntry
Gets the value of the #StEntry:input-hints property.
a #StEntry
Gets the value of the #StEntry:input-purpose property.
a #StEntry
a #ClutterActor
a #StEntry
a #ClutterActor
a #StEntry
Get the text displayed on the entry
the text for the entry. This must not be freed by the application
a #StEntry
Set the hint actor of the entry to @hint_actor
a #StEntry
a #ClutterActor
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.
a #StEntry
text to set as the entry hint
Sets the #StEntry:input-hints property, which allows input methods to fine-tune their behaviour.
a #StEntry
the hints
Sets the #StEntry:input-purpose property which can be used by on-screen keyboards and other input methods to adjust their behaviour.
a #StEntry
the purpose
Set the primary icon of the entry to @icon
a #StEntry
a #ClutterActor
Set the secondary icon of the entry to @icon
a #StEntry
an #ClutterActor
Sets the text displayed on the entry
a #StEntry
text to set the entry to
Emitted when the primary icon is clicked
Emitted when the secondary icon is clicked
The #StFocusManager struct contains only private data
Gets the #StFocusManager for @stage, creating it if necessary.
the focus manager for @stage
a #ClutterStage
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.
the #StFocusManager
the root container of the group
Checks if @widget is inside a focus group, and if so, returns the root of that group.
the focus group root, or %NULL if @widget is not in a focus group
the #StFocusManager
an #StWidget
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.
Whether a new actor was navigated to
the #StFocusManager
a #ClutterEvent
Removes the group rooted at @root from @manager
the #StFocusManager
the root container of the group
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.
value of the current element.
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.
maximum value of the accessible.
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.
value of the current element.
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.
minimum value of the accessible.
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.
the new value for the accessible
The contents of this structure are private and should only be accessed through the public API.
Create a newly allocated #StIcon
A newly allocated #StIcon
Gets the currently set fallback #GIcon.
The fallback #GIcon, if set, otherwise %NULL
a #StIcon
This is a convenience method to get the icon name of the fallback #GThemedIcon that is currently set.
The name of the icon or %NULL if no icon is set
an #StIcon
Gets the current #GIcon in use.
The current #GIcon, if set, otherwise %NULL
an #StIcon
This is a convenience method to get the icon name of the #GThemedIcon that is currently set.
The name of the icon or %NULL if no icon is set
an #StIcon
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.
The explicitly set size, or -1 if no size has been set
an #StIcon
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.
a #StIcon
the fallback #GIcon
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.
an #StIcon
the name of the fallback icon
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.
an #StIcon
a #GIcon
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.
an #StIcon
the name of the icon
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.
an #StIcon
if positive, the new size, otherwise the size will be derived from the current style
The #StIconColors structure encapsulates colors for colorizing a symbolic icon.
foreground color
color indicating a warning state
color indicating an error state
color indicating a successful operation
Creates a new #StIconColors. All colors are initialized to transparent black.
a newly created #StIconColors. Free with st_icon_colors_unref()
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.
a newly created #StIconColors.
a #StIconColors
%TRUE if the #StIconColors are equal
a #StIconColors
another #StIconColors
Atomically increments the reference count of @colors by one.
the passed in #StIconColors.
a #StIconColors
Atomically decrements the reference count of @colors by one. If the reference count drops to 0, all memory allocated by the #StIconColors is released.
a #StIconColors
Creates a new #StImageContent, a simple content for sized images.
the newly created #StImageContent content Use g_object_unref() when done.
The preferred width to be used when drawing the content
The preferred width to be used when drawing the content
The contents of this structure is private and should only be accessed using the provided API.
Create a new #StLabel with the specified label
a new #StLabel
text to set the label to
Retrieve the internal #ClutterText so that extra parameters can be set
ethe #ClutterText used by #StLabel. The label is owned by the #StLabel and should not be unref'ed by the application.
a #StLabel
Get the text displayed on the label
the text for the label. This must not be freed by the application
a #StLabel
Sets the text displayed on the label
a #StLabel
text to set the label to
Create a new #StPasswordEntry.
a new #StEntry
Gets whether the text is masked in the password entry.
a #StPasswordEntry
Gets whether peek-icon is shown or hidden in the password entry.
a #StPasswordEntry
Sets whether to show or hide text in the password entry.
a #StPasswordEntry
#TRUE to show the password in the entry, #FALSE otherwise
Sets whether to show or hide the peek-icon in the password entry.
a #StPasswordEntry
#TRUE to show the peek-icon in the entry, #FALSE otherwise
Gets the adjustment object that stores the current position of the scrollbar.
the adjustment
a #StScrollbar
The contents of this structure are private and should only be accessed through the public API.
Gets the horizontal scrollbar of the scrollbiew
the horizontal #StScrollBar
a #StScrollView
Gets the value set by st_scroll_view_set_overlay_scrollbars().
A #StScrollView
Gets the vertical scrollbar of the scrollbiew
the vertical #StScrollBar
a #StScrollView
Sets whether scrollbars are painted on top of the content.
A #StScrollView
Whether to enable overlay scrollbars
Set the scroll policy.
A #StScrollView
Whether to enable horizontal scrolling
Whether to enable vertical scrolling
Sets the height of the fade area area in pixels. A value of 0 disables the effect.
a #StScrollView
The length of the veritcal fade effect, in pixels.
The length of the horizontal fade effect, in pixels.
Gets the #StSettings
a settings object
Attributes of the -st-shadow property.
shadow's color
horizontal offset - positive values mean placement to the right, negative values placement to the left of the element.
vertical offset - positive values mean placement below, negative values placement above the element.
shadow's blur radius - a value of 0.0 will result in a hard shadow.
shadow's spread radius - grow the shadow without enlarging the blur.
Creates a new #StShadow
the newly allocated shadow. Use st_shadow_free() when done
shadow's color
horizontal offset
vertical offset
blur radius
spread radius
whether the shadow should be inset
Check if two shadow objects are identical. Note that two shadows may compare non-identically if they differ only by floating point rounding errors.
%TRUE if the two shadows are identical
a #StShadow
a different #StShadow
Gets the box used to paint @shadow, which will be partly outside of @actor_box
a #StShadow
the box allocated to a #ClutterAlctor
computed box occupied by @shadow
Atomically increments the reference count of @shadow by one.
the passed in #StShadow.
a #StShadow
Atomically decrements the reference count of @shadow by one. If the reference count drops to 0, all memory allocated by the #StShadow is released.
a #StShadow
Builds a #StShadowHelper that will build a drop shadow using @source as the mask.
a new #StShadowHelper
a #StShadow representing the shadow properties
a copy of @helper
the #StShadowHelper to copy
Free resources associated with @helper.
a #StShadowHelper
Paints the shadow associated with @helper This must only be called from the implementation of ClutterActor::paint().
a #StShadowHelper
a #CoglFramebuffer
the bounding box of the shadow
the opacity at which the shadow is painted
The global texture cache
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.
A new #StWidget
A #GObject with a property @property_name of type #GdkPixbuf
Name of a property
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".
A newly-referenced handle to the texture
A #StTextureCache
Arbitrary string used to refer to item
Caching policy
Function to create the texture, if not already cached
User data passed to @load
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.
A new #ClutterActor with no image loaded initially.
The texture cache instance
a #GFile of the image file from which to create a pixbuf
available width for the image, can be -1 if not limited
available height for the image, can be -1 if not limited
scale factor of the display
Resource scale factor
This function synchronously loads the given file path into a cairo surface. On error, a warning is emitted and %NULL is returned.
a new #cairo_surface_t
A #StTextureCache
A #GFile in supported image format
Scale factor of the display
Resource scale factor
This function synchronously loads the given file path into a COGL texture. On error, a warning is emitted and %NULL is returned.
a new #CoglTexture
A #StTextureCache
A #GFile in supported image format
Scale factor of the display
Resource scale factor
This method returns a new #ClutterActor for a given #GIcon. If the icon isn't loaded already, the texture will be filled asynchronously.
A new #ClutterActor for the icon, or %NULL if not found
The texture cache instance
The #StThemeNode to use for colors, or NULL if the icon must not be recolored
the #GIcon to load
Size of themed
Scale factor of display
Resource scale factor
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.
A new #ClutterActor
A #StTextureCache
A #GFile
Width in pixels
Height in pixels
Scale factor of the display
Function called when the image is loaded, or %NULL
Data to pass to the load callback
See st_texture_cache_load(). Implementations should return a texture handle for the given key, or set @error.
a #StTextureCache
Unique identifier for this texture
Callback user data
the newly created theme object
The highest priority stylesheet, representing application-specific styling; this is associated with the CSS "author" stylesheet, may be %NULL
The second priority stylesheet, representing theme-specific styling ; this is associated with the CSS "user" stylesheet, may be %NULL
The lowest priority stylesheet, representing global default styling; this is associated with the CSS "user agent" stylesheet, may be %NULL
the list of stylesheet files that were loaded with st_theme_load_stylesheet()
an #StTheme
The highest priority stylesheet, representing application-specific styling; this is associated with the CSS "author" stylesheet.
The lowest priority stylesheet, representing global default styling; this is associated with the CSS "user agent" stylesheet.
The second priority stylesheet, representing theme-specific styling; this is associated with the CSS "user" stylesheet.
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.
Gets a singleton theme context associated with the stage.
the singleton theme context for the stage
a #ClutterStage
Gets the default font for the theme context. See st_theme_context_set_font().
the default font for the theme context.
a #StThemeContext
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.
the root node of the context's style tree
a #StThemeContext
Return the current scale factor of @context.
a scale factor
a #StThemeContext
Gets the default theme for the context. See st_theme_context_set_theme()
the default theme for the context
a #StThemeContext
Return an existing node matching @node, or if that isn't possible, @node itself.
a node with the same properties as @node
a #StThemeContext
a #StThemeNode
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.
a #StThemeContext
the default font for theme context
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.
a #StThemeContext
The scaling factor used or high dpi scaling.
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.
the theme node
the context representing global state for this themed tree
the parent node of this node
a theme (stylesheet set) that overrides the theme inherited from the parent node
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'.
the ID to match CSS rules against
a whitespace-separated list of classes to match CSS rules against
a whitespace-separated list of pseudo-classes (like 'hover' or 'visited') to match CSS rules against
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.
a #StThemeNode
the "for height" to adjust
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.
a #StThemeNode
the "for width" to adjust
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
a #StThemeNode
the minimum height to adjust
the natural height to adjust
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
a #StThemeNode
the minimum width to adjust
the natural width to adjust
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>
%TRUE if @node_a equals @node_b
first #StThemeNode
second #StThemeNode
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.
a #StThemeNode
a different #StThemeNode
Gets @node's background color.
a #StThemeNode
location to store the color
The @start and @end arguments will only be set if @type is not #ST_GRADIENT_NONE.
A #StThemeNode
Type of gradient
Color at start of gradient
Color at end of gradient
@node's background image.
a #StThemeNode
Gets the value for the -st-background-image-shadow style property
the node's background image shadow, or %NULL if node has no such shadow
a #StThemeNode
Gets the box used to paint the actor's background, including the area occupied by properties which paint outside the actor's assigned allocation.
a #StThemeNode
the box allocated to a #ClutterActor
computed box occupied when painting the actor's background
Gets the color of @node's border on @side
a #StThemeNode
a #StSide
location to store the color
Gets the value for the border-image style property
the border image, or %NULL if there is no border image.
a #StThemeNode
Gets the value for the box-shadow style property
the node's shadow, or %NULL if node has no shadow
a #StThemeNode
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.
a #StThemeNode
The name of the color property
location to store the color that was determined.
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.
a #StThemeNode
the box allocated to a #ClutterAlctor
computed box occupied by the actor's content
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.
the value found. If @property_name is not found, a warning will be logged and 0 will be returned.
a #StThemeNode
The name of the numeric property
the element's classes
Gets @node's foreground color.
a #StThemeNode
location to store the color
Gets the total horizonal padding (left + right padding)
the total horizonal padding in pixels
a #StThemeNode
Gets the colors that should be used for colorizing symbolic icons according the style of this node.
the icon colors to use for this theme node
a #StThemeNode
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.
the length, in pixels, or 0 if the property was not found.
a #StThemeNode
The name of the length property
Gets the value for the letter-spacing style property, in pixels.
the value of the letter-spacing property, if found, or zero if such property has not been found.
a #StThemeNode
Gets the color of @node's outline.
a #StThemeNode
location to store the color
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.
a #StThemeNode
the box allocated to a #ClutterActor
computed box occupied when painting the actor
Gets the parent themed element node.
the parent #StThemeNode, or %NULL if this is the root node of the tree of theme elements.
a #StThemeNode
the element's pseudo-classes
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.
the shadow, or %NULL if the property was not found.
a #StThemeNode
The name of the shadow property
Gets the value for the text-shadow style property
the node's text-shadow, or %NULL if node has no text-shadow
a #StThemeNode
Gets the theme stylesheet set that styles this node
the theme stylesheet set
a #StThemeNode
Get the value of the transition-duration property, which specifies the transition time between the previous #StThemeNode and @node.
the node's transition duration in milliseconds
an #StThemeNode
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.
the newly allocated value if found. If @property_name is not found, a warning will be logged and %NULL will be returned.
a #StThemeNode
The name of the string property
Gets the total vertical padding (top + bottom padding)
the total vertical padding in pixels
a #StThemeNode
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.
%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
a #StThemeNode
The name of the color property
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.
location to store the color that was determined. If the property is not found, the value in this location will not be changed.
Generically looks up a property containing a single numeric value without units. See also st_theme_node_get_double(), which provides a simpler API.
%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
a #StThemeNode
The name of the numeric property
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.
location to store the value that was determined. If the property is not found, the value in this location will not be changed.
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.
%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
a #StThemeNode
The name of the length property
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.
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.
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.
%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'.
a #StThemeNode
The name of the shadow property
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.
location to store the shadow
Generically looks up a property containing a single time value, which is converted to milliseconds.
%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
a #StThemeNode
The name of the time property
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.
location to store the value that was determined. If the property is not found, the value in this location will not be changed.
Looks up a property containing a single URL value. See also st_theme_node_get_url(), which provides a simpler API.
%TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
a #StThemeNode
The name of the string property
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.
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.
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.
%TRUE if the two theme nodes paint identically. %FALSE if the two nodes potentially paint differently.
a #StThemeNode
a different #StThemeNode
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.
@widget's focusable children
An #StWidget
the "top level" container
the actor that the focus is coming from
the direction focus is moving in
Asks the widget to pop-up a context menu.
A #StWidget
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).
A #StWidget
#AtkStateType state to add
Adds @style_class to @actor's style class name list, if it is not already present.
a #StWidget
a style class name string
Adds @pseudo_class to @actor's pseudo class list, if it is not already present.
a #StWidget
a pseudo class string
Ensures that @widget has read its style information.
A #StWidget
Gets the accessible name for this widget. See st_widget_set_accessible_name() for more information.
a character string representing the accessible name of the widget.
widget to get the accessible name for
Gets the #AtkRole for this widget. See st_widget_set_accessible_role() for more information.
accessible #AtkRole for this widget
widget to get the accessible role for
Returns the current value of the can-focus property. See st_widget_set_can_focus() for more information.
current value of can-focus on @widget
A #StWidget
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.
@widget's focusable children
An #StWidget
If #StWidget:track-hover is set, this returns whether the pointer is currently over the widget.
current value of hover on @widget
A #StWidget
Gets the label that identifies @widget if it is defined
the label that identifies the widget
a #StWidget
Retrieves the resource scale for this #StWidget, if available. The resource scale refers to the scale the actor should use for its resources.
A #StWidget
return location for the resource scale
Get the current inline style string. See st_widget_set_style().
The inline style string, or %NULL. The string is owned by the #StWidget and should not be modified or freed.
a #StWidget
Get the current style class name
the class name string. The string is owned by the #StWidget and should not be modified or freed.
a #StWidget
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().
the pseudo class list string. The string is owned by the #StWidget and should not be modified or freed.
a #StWidget
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.
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.
a #StWidget
Returns the current value of the track-hover property. See st_widget_set_track_hover() for more information.
current value of track-hover on @widget
A #StWidget
Tests if @actor's style class list includes @style_class.
whether or not @actor's style class list includes @style_class.
a #StWidget
a style class string
Tests if @actor's pseudo class list includes @pseudo_class.
whether or not @actor's pseudo class list includes @pseudo_class.
a #StWidget
a pseudo class string
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.
%TRUE if clutter_actor_grab_key_focus() has been called on an actor. %FALSE if not.
the "top level" container
the actor that the focus is coming from
the direction focus is moving in
whether focus should wrap around
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.
The #StWidget
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.
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.
a #StWidget
Asks the widget to pop-up a context menu.
A #StWidget
This method removes @state as on of the accessible states for @widget. See st_widget_add_accessible_state() for more information.
A #StWidget
#AtkState state to remove
Removes @style_class from @actor's style class name, if it is present.
a #StWidget
a style class name string
Removes @pseudo_class from @actor's pseudo class, if it is present.
a #StWidget
a pseudo class string
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.
A #StWidget
an accessible (#AtkObject)
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.
widget to set the accessible name for
a character string to be set as the accessible name
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.
widget to set the accessible role for
The role to use
Marks @widget as being able to receive keyboard focus via keyboard navigation.
A #StWidget
%TRUE if the widget can receive keyboard focus via keyboard navigation
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.
A #StWidget
whether the pointer is hovering over the widget
Sets @label as the #ClutterActor that identifies (labels) @widget. @label can be %NULL to indicate that @widget is not labelled any more
a #StWidget
a #ClutterActor
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.
a #StWidget
a inline style string, or %NULL
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().
a #StWidget
a new style class list string
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().
a #StWidget
a new pseudo class list string
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.
A #StWidget
%TRUE if the widget should track the pointer hover state
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.
A #StWidget
Object instance's name for assistive technology access.
The accessible role of this object
Whether or not the widget can be focused via keyboard navigation.
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.
The pseudo-class of the actor. Typical values include "hover", "active", "focus".
Inline style information for the actor as a ';'-separated list of CSS properties.
The style-class of the actor for use in styling.
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.
Emitted when the user has requested a context menu (eg, via a keybinding)
Emitted when the paint scale that the widget will be painted as changed.
Emitted when the style information that the widget derives from the theme changes
Base class for stylable actors.
A #StWidget
the "top level" container
the actor that the focus is coming from
the direction focus is moving in
@widget's focusable children
An #StWidget
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.
the debug name.
a #ClutterActor
Simpan