Import line: | GLib = imports.gi.GLib; |
GIR File: | GLib-2.0.gir |
C documentation: | GVariantType |
Struct : | VariantType |
None |
Method / Constructor | Defined By | |
---|---|---|
dup_string
()
:
String
|
GLib.VariantType | |
element
()
:
GLib.VariantType
|
GLib.VariantType | |
first
()
:
GLib.VariantType
|
GLib.VariantType | |
free
()
:
none
|
GLib.VariantType | |
get_string_length
()
:
guint32
|
GLib.VariantType | |
is_array
()
:
gboolean
|
GLib.VariantType | |
is_basic
()
:
gboolean
|
GLib.VariantType | |
is_container
()
:
gboolean
|
GLib.VariantType | |
is_definite
()
:
gboolean
|
GLib.VariantType | |
is_dict_entry
()
:
gboolean
|
GLib.VariantType | |
is_maybe
()
:
gboolean
|
GLib.VariantType | |
is_subtype_of
(VariantType supertype)
:
gboolean
|
GLib.VariantType | |
is_tuple
()
:
gboolean
|
GLib.VariantType | |
is_variant
()
:
gboolean
|
GLib.VariantType | |
key
()
:
GLib.VariantType
|
GLib.VariantType | |
n_items
()
:
guint32
|
GLib.VariantType | |
next
()
:
GLib.VariantType
|
GLib.VariantType | |
peek_string
()
:
String
|
GLib.VariantType | |
value
()
:
GLib.VariantType
|
GLib.VariantType |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GLib
Method |
|
GLib
Method |
|
GLib
Method |
|
GLib.Variant
Method |
new GLib.Variant.array
(VariantType child_type, Variant children, guint32 n_children)
:
GLib.Variant
Create a new GLib.Variant
|
GLib.Variant
Method |
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
|
GLib.Variant
Method |
Create a new GLib.Variant
|
GLib.Variant
Method |
is_of_type
(VariantType type)
:
gboolean
|
GLib.Variant
Method |
|
GLib.VariantBuilder
Method |
init
(VariantType type)
:
none
|
GLib.VariantBuilder
Method |
open
(VariantType type)
:
none
|
Gio.Action
Method |
get_parameter_type
()
:
GLib.VariantType
Queries the type of the parameter that must be given when activating
When activating the action using g_action_activate(), the GVariant given to that function must be of the type returned by this function. |
Gio.Action
Method |
get_state_type
()
:
GLib.VariantType
Queries the type of the state of action.
|
Gio.ActionGroup
Method |
get_action_parameter_type
(String action_name)
:
GLib.VariantType
Queries the type of the parameter that must be given when activating
the named action within action_group. |
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_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.SimpleAction
Method |
Create a new Gio.SimpleAction
|
Gio.SimpleAction
Method |
new Gio.SimpleAction.stateful
(String name, VariantType parameter_type, Variant state)
:
Gio.SimpleAction
Create a new Gio.SimpleAction
|