Import line: | GLib = imports.gi.GLib; |
GIR File: | GLib-2.0.gir |
C documentation: | GVariant |
Struct : | Variant |
None |
Method / Constructor | Defined By | |
---|---|---|
new GLib.Variant.array
(VariantType child_type, Variant children, guint32 n_children)
:
GLib.Variant
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
new GLib.Variant.from_data
(VariantType type, void* data, guint32 size, gboolean trusted, Function notify, void* user_data)
:
GLib.Variant
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
Create a new GLib.Variant
Create a new GLib.Variant
|
||
byteswap
()
:
GLib.Variant
|
GLib.Variant | |
classify
()
:
GLib.VariantClass
|
GLib.Variant | |
GLib.Variant | ||
GLib.Variant | ||
get_boolean
()
:
gboolean
|
GLib.Variant | |
get_byte
()
:
guint8
|
GLib.Variant | |
get_bytestring
()
:
String
|
GLib.Variant | |
get_child_value
(guint32 index_)
:
GLib.Variant
|
GLib.Variant | |
get_double
()
:
gdouble
|
GLib.Variant | |
get_handle
()
:
gint32
|
GLib.Variant | |
get_int16
()
:
gint16
|
GLib.Variant | |
get_int32
()
:
gint32
|
GLib.Variant | |
get_int64
()
:
gint64
|
GLib.Variant | |
get_maybe
()
:
GLib.Variant
|
GLib.Variant | |
get_normal_form
()
:
GLib.Variant
|
GLib.Variant | |
get_size
()
:
guint32
|
GLib.Variant | |
GLib.Variant | ||
GLib.Variant | ||
get_type_string
()
:
String
|
GLib.Variant | |
get_uint16
()
:
guint16
|
GLib.Variant | |
get_uint32
()
:
guint32
|
GLib.Variant | |
get_uint64
()
:
guint64
|
GLib.Variant | |
get_variant
()
:
GLib.Variant
|
GLib.Variant | |
is_container
()
:
gboolean
|
GLib.Variant | |
is_floating
()
:
gboolean
|
GLib.Variant | |
is_normal_form
()
:
gboolean
|
GLib.Variant | |
is_of_type
(VariantType type)
:
gboolean
|
GLib.Variant | |
|
GLib.Variant | |
n_children
()
:
guint32
|
GLib.Variant | |
new_dict_entry
(Variant value)
:
GLib.Variant
|
GLib.Variant | |
new_variant
()
:
GLib.Variant
|
GLib.Variant | |
GLib.Variant | ||
ref_sink
()
:
GLib.Variant
|
GLib.Variant | |
store
(void* data)
:
none
|
GLib.Variant |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Dbusmenu.Client
Signal |
|
Dbusmenu.Menuitem
Signal |
|
Dbusmenu.Menuitem
Signal |
|
Dbusmenu.Menuitem
Method |
|
Dbusmenu.Menuitem
Method |
property_get_variant
(String property)
:
GLib.Variant
|
Dbusmenu.Menuitem
Method |
|
Dbusmenu.Server
Signal |
|
Dee
Method |
|
Dee
Method |
|
Dee.Model
Method |
|
Dee.Model
Method |
|
Dee.Model
Method |
|
Dee.Serializable
Method |
externalize
()
:
GLib.Variant
|
Dee.Serializable
Method |
serialize
()
:
GLib.Variant
|
GLib
Method |
|
GLib
Method |
|
GLib
Method |
|
GLib.VariantBuilder
Method |
add_value
(Variant value)
:
none
|
GLib.VariantBuilder
Method |
end
()
:
GLib.Variant
|
GLib.VariantIter
Method |
|
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 |
Signals that the state of the named action has changed.
|
Gio.ActionGroup
Method |
Emits the GActionGroup::action-state-changed signal on action_group.
|
Gio.ActionGroup
Method |
Activate the named action within action_group.
|
Gio.ActionGroup
Method |
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 |
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 |
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 |
Checks if the given value is of the correct type and within the
permitted range for key. |
Gio.Settings
Method |
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 |
|