Back to Seed Clases

GLib


Classes

Interfaces

Structs

Unions

Enums

Struct GLib.Variant

Import line: GLib = imports.gi.GLib;
GIR File: GLib-2.0.gir
C documentation: GVariant
Struct : Variant
Properties
None
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Dbusmenu.Client
Signal
event_result (Client self, Object object, String p0, Variant p1, guint32 p2, void* p3) : none
Dbusmenu.Menuitem
Signal
event (Menuitem self, String object, Variant p0, guint32 p1) : gboolean
Dbusmenu.Menuitem
Signal
property_changed (Menuitem self, String object, Variant p0) : none
Dbusmenu.Menuitem
Method
handle_event (String name, Variant variant, guint32 timestamp) : none
Dbusmenu.Menuitem
Method
property_get_variant (String property) : GLib.Variant
Dbusmenu.Menuitem
Method
property_set_variant (String property, Variant value) : gboolean
Dbusmenu.Server
Signal
item_property_updated (Server self, gint32 object, String p0, Variant p1) : none
Dee
Method
Dee.serializable_parse (Variant data, Number type) : GObject.Object
Dee
Method
Dee.serializable_parse_external (Variant data) : GObject.Object
Dee.Model
Method
get_row (ModelIter iter, Object out_values) : GLib.Variant
Dee.Model
Method
get_value (ModelIter iter, guint32 column) : GLib.Variant
Dee.Model
Method
set_value (ModelIter iter, guint32 column, Variant value) : none
Dee.Serializable
Method
externalize () : GLib.Variant
Dee.Serializable
Method
serialize () : GLib.Variant
GLib
Method
GLib.variant_get_type (Variant value) : GLib.VariantType
GLib
Method
GLib.variant_new_tuple (Variant children, guint32 n_children) : GLib.Variant
GLib
Method
GLib.variant_parse (VariantType type, String text, String limit, String endptr) : GLib.Variant
GLib.VariantBuilder
Method
add_value (Variant value) : none
GLib.VariantBuilder
Method
end () : GLib.Variant
GLib.VariantIter
Method
init (Variant value) : guint32
GLib.VariantIter
Method
next_value () : GLib.Variant
GObject.Value
Method
dup_variant () : GLib.Variant
Get the contents of a variant GValue, increasing its refcount.
GObject.Value
Method
get_variant () : GLib.Variant
Get the contents of a variant GValue.
GObject.Value
Method
set_variant (Variant variant) : none
Set the contents of a variant GValue to variant.
GObject.Value
Method
take_variant (Variant variant) : none
Set the contents of a variant GValue to variant, and takes over
the ownership of the caller's reference to variant;
the caller doesn't have to unref it any more (i.e.
Gio.Action
Property
state : GLib.Variant
The state of the action, or NULL if the action is stateless.
Gio.Action
Method
activate (Variant parameter) : none
Activates the action.
Gio.Action
Method
get_state () : GLib.Variant
Queries the current state of action.
Gio.Action
Method
get_state_hint () : GLib.Variant
Requests a hint about the valid range of values for the state of
If NULL is returned it either means that the action is not stateful
or that there is no hint about the valid range of values for the
state of the action.
Gio.Action
Method
set_state (Variant value) : none
Request for the state of action to be changed to value.
Gio.ActionGroup
Signal
action_state_changed (ActionGroup self, String action_name, Variant value) : none
Signals that the state of the named action has changed.
Gio.ActionGroup
Method
action_state_changed (String action_name, Variant state) : none
Emits the GActionGroup::action-state-changed signal on action_group.
Gio.ActionGroup
Method
activate_action (String action_name, Variant parameter) : none
Activate the named action within action_group.
Gio.ActionGroup
Method
change_action_state (String action_name, Variant value) : none
Request for the state of the named action within action_group to be
changed to value.
Gio.ActionGroup
Method
get_action_state (String action_name) : GLib.Variant
Queries the current state of the named action within action_group.
Gio.ActionGroup
Method
get_action_state_hint (String action_name) : GLib.Variant
Requests a hint about the valid range of values for the state of the
named action within action_group.
Gio.ApplicationCommandLine
Property
arguments : GLib.Variant
Gio.ApplicationCommandLine
Property
platform_data : GLib.Variant
Gio.ApplicationCommandLine
Method
get_platform_data () : GLib.Variant
Gets the platform data associated with the invocation of cmdline.
Gio.DBusConnection
Method
call (String bus_name, String object_path, String interface_name, String method_name, Variant parameters, VariantType reply_type, DBusCallFlags flags, gint32 timeout_msec, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously invokes the method_name method on the
If connection is closed then the operation will fail with
G_IO_ERROR_CLOSED.
Gio.DBusConnection
Method
call_finish (AsyncResult res) : GLib.Variant
Finishes an operation started with g_dbus_connection_call().
Gio.DBusConnection
Method
call_sync (String bus_name, String object_path, String interface_name, String method_name, Variant parameters, VariantType reply_type, DBusCallFlags flags, gint32 timeout_msec, Cancellable cancellable) : GLib.Variant
Synchronously invokes the method_name method on the
If connection is closed then the operation will fail with
G_IO_ERROR_CLOSED.
Gio.DBusConnection
Method
emit_signal (String destination_bus_name, String object_path, String interface_name, String signal_name, Variant parameters) : gboolean
Emits a signal.
Gio.DBusMessage
Method
get_body () : GLib.Variant
Gets the body of a message.
Gio.DBusMessage
Method
get_header (DBusMessageHeaderField header_field) : GLib.Variant
Gets a header field on message.
Gio.DBusMessage
Method
set_body (Variant body) : none
Sets the body message.
Gio.DBusMessage
Method
set_header (DBusMessageHeaderField header_field, Variant value) : none
Sets a header field on message.
Gio.DBusMethodInvocation
Method
get_parameters () : GLib.Variant
Gets the parameters of the method invocation.
Gio.DBusMethodInvocation
Method
return_value (Variant parameters) : none
Finishes handling a D-Bus method call by returning parameters.
Gio.DBusProxy
Signal
g_properties_changed (DBusProxy self, Variant changed_properties, Array invalidated_properties) : none
Emitted when one or more D-Bus properties on proxy changes.
Gio.DBusProxy
Signal
g_signal (DBusProxy self, String sender_name, String signal_name, Variant parameters) : none
Emitted when a signal from the remote object and interface that proxy is for, has been received.
Gio.DBusProxy
Method
call (String method_name, Variant parameters, DBusCallFlags flags, gint32 timeout_msec, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously invokes the method_name method on proxy.
Gio.DBusProxy
Method
call_finish (AsyncResult res) : GLib.Variant
Finishes an operation started with g_dbus_proxy_call().
Gio.DBusProxy
Method
call_sync (String method_name, Variant parameters, DBusCallFlags flags, gint32 timeout_msec, Cancellable cancellable) : GLib.Variant
Synchronously invokes the method_name method on proxy.
Gio.DBusProxy
Method
get_cached_property (String property_name) : GLib.Variant
Looks up the value for a property from the cache.
Gio.DBusProxy
Method
set_cached_property (String property_name, Variant value) : none
If value is not NULL, sets the cached value for the property with
name property_name to the value in value.
Gio.Settings
Method
get_range (String key) : GLib.Variant
Queries the range of a key.
Gio.Settings
Method
get_value (String key) : GLib.Variant
Gets the value that is stored in settings for key.
Gio.Settings
Method
range_check (String key, Variant value) : gboolean
Checks if the given value is of the correct type and within the
permitted range for key.
Gio.Settings
Method
set_value (String key, Variant value) : gboolean
Sets key in settings to value.
Gio.SimpleAction
Property
state : GLib.Variant
The state of the action, or NULL if the action is stateless.
Gio.SimpleAction
Signal
activate (SimpleAction self, Variant parameter) : none
Indicates that the action was just activated.
Gio.SimpleAction
Method
new Gio.SimpleAction.stateful (String name, VariantType parameter_type, Variant state) : Gio.SimpleAction
Create a new Gio.SimpleAction
Notify.Notification
Method
set_hint (String key, Variant value) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:34 GMT+0800 (HKT)