Back to Seed Clases

GLib


Classes

Interfaces

Structs

Unions

Enums

Struct GLib.VariantType

Import line: GLib = imports.gi.GLib;
GIR File: GLib-2.0.gir
C documentation: GVariantType
Struct : VariantType
A type in the GVariant type system.
Two types may not be compared by value; use g_variant_type_equal() or
g_variant_type_is_subtype_of(). May be copied using
g_variant_type_copy() and freed using g_variant_type_free().
Properties
None
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
GLib
Method
GLib.variant_get_type (Variant value) : GLib.VariantType
GLib
Method
GLib.variant_parse (VariantType type, String text, String limit, String endptr) : GLib.Variant
GLib
Method
GLib.variant_type_checked_ (String unknown) : GLib.VariantType
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
new GLib.Variant.maybe (VariantType child_type, Variant child) : GLib.Variant
Create a new GLib.Variant
GLib.Variant
Method
is_of_type (VariantType type) : gboolean
GLib.Variant
Method
lookup_value (String key, VariantType expected_type) : GLib.Variant
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
new Gio.SimpleAction.c_new (String name, VariantType parameter_type) : Gio.SimpleAction
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
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:34 GMT+0800 (HKT)