Back to Seed Clases

GObject


Classes

Interfaces

Structs

Unions

Enums

Struct GObject.ParamSpec

Import line: GObject = imports.gi.GObject;
GIR File: GObject-2.0.gir
C documentation: GParamSpec
Struct : ParamSpec
GParamSpec is an object structure that encapsulates the metadata
required to specify parameters, such as e.g. GObject properties.

Parameter names need to start with a letter (a-z or A-Z). Subsequent
characters can be letters, numbers or a '-'.
All other characters are replaced by a '-' during construction.
The result of this replacement is called the canonical name of the
parameter.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new GObject.ParamSpec ()
Create a new GObject.ParamSpec
Create a new GObject.ParamSpec
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Clutter
Method
Clutter.container_class_find_child_property (ObjectClass klass, String property_name) : GObject.ParamSpec
Looks up the GParamSpec for a child property of klass.
Clutter.Animatable
Method
find_property (String property_name) : GObject.ParamSpec
Finds the GParamSpec for property_name
or NULL
Clutter.Container
Signal
child_notify (Container self, Actor actor, ParamSpec pspec) : none
The ::child-notify signal is emitted each time a property is
being set through the clutter_container_child_set() and
clutter_container_child_set_property() calls.
Clutter.Container
Method
child_notify (Actor child, ParamSpec pspec) : none
Clutter.Interval
Method
validate (ParamSpec pspec) : gboolean
Validates the initial and final values of interval against
a GParamSpec.
Clutter.LayoutManager
Method
find_child_property (String name) : GObject.ParamSpec
Retrieves the GParamSpec for the layout property name inside
the ClutterLayoutMeta sub-class used by manager
or NULL if no property with that name exists.
GObject
Method
GObject.param_value_convert (ParamSpec pspec, Value src_value, Value dest_value, gboolean strict_validation) : gboolean
Transforms src_value into dest_value if possible, and then
validates dest_value, in order for it to conform to pspec.
GObject
Method
GObject.param_value_defaults (ParamSpec pspec, Value value) : gboolean
Checks whether value contains the default value as specified in pspec.
GObject
Method
GObject.param_value_set_default (ParamSpec pspec, Value value) : none
Sets value to its default value as specified in pspec.
GObject
Method
GObject.param_value_validate (ParamSpec pspec, Value value) : gboolean
Ensures that the contents of value comply with the specifications
set out by pspec.
GObject
Method
GObject.param_values_cmp (ParamSpec pspec, Value value1, Value value2) : gint32
Compares value1 with value2 according to pspec, and return -1, 0 or +1,
if value1 is found to be less than, equal to or greater than value2,
respectively.
GObject.InitiallyUnowned
Method
GObject.InitiallyUnowned.interface_find_property (void* g_iface, String property_name) : GObject.ParamSpec
Find the GParamSpec with the given name for an
interface.
GObject.InitiallyUnowned
Method
GObject.InitiallyUnowned.interface_install_property (void* g_iface, ParamSpec pspec) : none
Add a property to an interface; this is only useful for interfaces
that are added to GObject-derived types.
GObject.ParamSpecPool
Method
insert (ParamSpec pspec, Number owner_type) : none
Inserts a GParamSpec in the pool.
GObject.ParamSpecPool
Method
lookup (String param_name, Number owner_type, gboolean walk_ancestors) : GObject.ParamSpec
Looks up a GParamSpec in the pool.
GObject.ParamSpecPool
Method
remove (ParamSpec pspec) : none
Removes a GParamSpec from the pool.
GObject.Value
Method
get_param () : GObject.ParamSpec
Get the contents of a G_TYPE_PARAM GValue.
GObject.Value
Method
set_param (ParamSpec param) : none
Set the contents of a G_TYPE_PARAM GValue to param.
Gtk
Method
Gtk.rc_property_parse_border (ParamSpec pspec, String gstring, Value property_value) : gboolean
A GtkRcPropertyParser for use with gtk_settings_install_property_parser()
or gtk_widget_class_install_style_property_parser() which parses
borders in the form
"{ left, right, top, bottom }" for integers
left, right, top and bottom.
Gtk
Method
Gtk.rc_property_parse_color (ParamSpec pspec, String gstring, Value property_value) : gboolean
A GtkRcPropertyParser for use with gtk_settings_install_property_parser()
or gtk_widget_class_install_style_property_parser() which parses a
color given either by its name or in the form
{ red, green, blue } where red, green and
blue are integers between 0 and 65535 or floating-point numbers
between 0 and 1.
Gtk
Method
Gtk.rc_property_parse_enum (ParamSpec pspec, String gstring, Value property_value) : gboolean
A GtkRcPropertyParser for use with gtk_settings_install_property_parser()
or gtk_widget_class_install_style_property_parser() which parses a single
enumeration value.
Gtk
Method
Gtk.rc_property_parse_flags (ParamSpec pspec, String gstring, Value property_value) : gboolean
A GtkRcPropertyParser for use with gtk_settings_install_property_parser()
or gtk_widget_class_install_style_property_parser() which parses flags.
Gtk
Method
Gtk.rc_property_parse_requisition (ParamSpec pspec, String gstring, Value property_value) : gboolean
A GtkRcPropertyParser for use with gtk_settings_install_property_parser()
or gtk_widget_class_install_style_property_parser() which parses a
requisition in the form
"{ width, height }" for integers width and height.
Gtk.Builder
Method
value_from_string (ParamSpec pspec, String string, Object out_values) : gboolean
This function demarshals a value from a string.
Gtk.Settings
Method
Gtk.Settings.install_property (ParamSpec pspec) : none
Gtk.Settings
Method
Gtk.Settings.install_property_parser (ParamSpec pspec, Function parser) : none
Gtk.StyleProvider
Method
get_style_property (WidgetPath path, StateFlags state, ParamSpec pspec, Object out_values) : gboolean
Looks up a widget style property as defined by provider for
the widget represented by path.
Json.Serializable
Method
default_deserialize_property (String property_name, Value value, ParamSpec pspec, Node property_node) : gboolean
Json.Serializable
Method
default_serialize_property (String property_name, Value value, ParamSpec pspec) : Json.Node
Json.Serializable
Method
deserialize_property (String property_name, Object out_values, ParamSpec pspec, Node property_node) : gboolean
Json.Serializable
Method
serialize_property (String property_name, Value value, ParamSpec pspec) : Json.Node
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:43 GMT+0800 (HKT)