Import line: | GObject = imports.gi.GObject; |
GIR File: | GObject-2.0.gir |
C documentation: | GParamSpec |
Struct : | ParamSpec |
Properties | Defined By | |
---|---|---|
_blurb : String
read only
|
GObject.ParamSpec | |
_nick : String
read only
|
GObject.ParamSpec | |
flags : GObject.ParamFlags
|
GObject.ParamSpec | |
g_type_instance : GObject.TypeInstance
|
GObject.ParamSpec | |
name : String
|
GObject.ParamSpec | |
owner_type : Number
|
GObject.ParamSpec | |
param_id : guint32
read only
|
GObject.ParamSpec | |
qdata : GLib.Data
read only
|
GObject.ParamSpec | |
ref_count : guint32
read only
|
GObject.ParamSpec | |
value_type : Number
|
GObject.ParamSpec |
Method / Constructor | Defined By | |
---|---|---|
new GObject.ParamSpec
()
Create a new GObject.ParamSpec
Create a new GObject.ParamSpec
|
||
get_blurb
()
:
String
Get the short description of a GParamSpec.
Get the short description of a GParamSpec.
|
GObject.ParamSpec | |
get_name
()
:
String
Get the name of a GParamSpec.
Get the name of a GParamSpec.
|
GObject.ParamSpec | |
get_nick
()
:
String
Get the nickname of a GParamSpec.
Get the nickname of a GParamSpec.
|
GObject.ParamSpec | |
GObject.ParamSpec | ||
get_redirect_target
()
:
GObject.ParamSpec
If the paramspec redirects operations to another paramspec,
returns that paramspec.
If the paramspec redirects operations to another paramspec,
returns that paramspec. Redirect is used typically for providing a new implementation of a property in a derived type while preserving all the properties from the parent type. Redirection is established by creating a property of type GParamSpecOverride. See g_object_class_override_property() for an example of the use of this capability. paramspec should be redirected, or NULL if none.
|
GObject.ParamSpec | |
Sets an opaque, named pointer on a GParamSpec.
Sets an opaque, named pointer on a GParamSpec. The name is
specified through a GQuark (retrieved e.g. via g_quark_from_static_string()), and the pointer can be gotten back from the pspec with g_param_spec_get_qdata(). Setting a previously set user data pointer, overrides (frees) the old pointer set, using NULL as pointer essentially removes the data stored.
|
GObject.ParamSpec | |
sink
()
:
none
The initial reference count of a newly created GParamSpec is 1,
even though no one has explicitly called g_param_spec_ref() on it yet.
The initial reference count of a newly created GParamSpec is 1,
even though no one has explicitly called g_param_spec_ref() on it yet. So the initial reference count is flagged as "floating", until someone calls (pspec); reference count (thus ending up with a pspec that has a reference count of 1 still, but is not flagged "floating" anymore).
|
GObject.ParamSpec | |
Gets back user data pointers stored via g_param_spec_set_qdata()
and removes the data from pspec without invoking its destroy() function (if any was set).
Gets back user data pointers stored via g_param_spec_set_qdata()
and removes the data from pspec without invoking its destroy() function (if any was set). Usually, calling this function is only required to update user data pointers with a destroy notifier.
|
GObject.ParamSpec |
None |
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 |
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 |
|
Clutter.Interval
Method |
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 |
Checks whether value contains the default value as specified in pspec.
|
GObject
Method |
Sets value to its default value as specified in pspec.
|
GObject
Method |
Ensures that the contents of value comply with the specifications
set out by pspec. |
GObject
Method |
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 |
Add a property to an interface; this is only useful for interfaces
that are added to GObject-derived types. |
GObject.ParamSpecPool
Method |
Inserts a GParamSpec in the pool.
|
GObject.ParamSpecPool
Method |
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 |
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 and bottom. |
Gtk
Method |
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 blue are integers between 0 and 65535 or floating-point numbers between 0 and 1. |
Gtk
Method |
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 |
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 |
Gtk.Builder
Method |
This function demarshals a value from a string.
|
Gtk.Settings
Method |
Gtk.Settings.install_property
(ParamSpec pspec)
:
none
|
Gtk.Settings
Method |
|
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 |
|
Json.Serializable
Method |
deserialize_property
(String property_name, Object out_values, ParamSpec pspec, Node property_node)
:
gboolean
|
Json.Serializable
Method |
|