The Glib.DBus_Interfaces.Gdbus_Interface type is the base type for D-Bus interfaces both on the service side (see Gdbus.Interface_Skeleton.Gdbus_Interface_Skeleton) and client side (see Gdbus.Proxy.Gdbus_Proxy).
function "+" (W : Gdbus_Interface) return Gdbus_Interface
function Convert (R : Glib.DBus_Interfaces.Gdbus_Interface) return System.Address
function Convert (R : System.Address) return Glib.DBus_Interfaces.Gdbus_Interface
subtype DBus_Interfaces_Interface_Descr is Glib.Object.Interface_Description;
function Dup_Object
(Self : Gdbus_Interface) return Glib.DBus_Objects.Gdbus_Object
Gets the Glib.DBus_Objects.Gdbus_Object that Interface_ belongs to, if any. Since: gtk+ 2.32
A Glib.DBus_Objects.Gdbus_Object or null. The returned reference should be freed with g_object_unref.
type Gdbus_Interface is new Glib.Types.GType_Interface;
subtype Gdbus_Interface_GList is Gdbus_Interface_List.GList;
package Gdbus_Interface_List is new Generic_List (Glib.DBus_Interfaces.Gdbus_Interface);
function Get_Info
(Self : Gdbus_Interface) return Glib.GDBus_Types.Gdbus_Interface_Info
Gets D-Bus introspection information for the D-Bus interface implemented by Interface_. Since: gtk+ 2.30
A Gdbus.Interface_Info.Gdbus_Interface_Info. Do not free.
function Get_Interfaces
(Self : Glib.DBus_Objects.Gdbus_Object)
return Gdbus_Interface_GList
Gets the D-Bus interfaces associated with Object. Since: gtk+ 2.30
A list of Glib.DBus_Interfaces.Gdbus_Interface instances. The returned list must be freed by g_list_free after each element has been freed with g_object_unref.
function Get_Object
(Self : Gdbus_Interface) return Glib.DBus_Objects.Gdbus_Object
Gets the Glib.DBus_Objects.Gdbus_Object that Interface_ belongs to, if any. It is not safe to use the returned object if Interface_ or the returned object is being used from other threads. See Glib.DBus_Interfaces.Dup_Object for a thread-safe alternative. Since: gtk+ 2.30
A Glib.DBus_Objects.Gdbus_Object or null. The returned reference belongs to Interface_ and should not be freed.
function Get_Type return Glib.GType
Null_Gdbus_Interface : constant Gdbus_Interface;
procedure Set_Dup_Object
(Self : DBus_Interfaces_Interface_Descr;
Handler : Virtual_Dup_Object)
procedure Set_Get_Info
(Self : DBus_Interfaces_Interface_Descr;
Handler : Virtual_Get_Info)
procedure Set_Get_Object
(Self : DBus_Interfaces_Interface_Descr;
Handler : Virtual_Get_Object)
procedure Set_Object
(Self : Gdbus_Interface;
Object : Glib.DBus_Objects.Gdbus_Object)
Sets the Glib.DBus_Objects.Gdbus_Object for Interface_ to Object. Note that Interface_ will hold a weak reference to Object. Since: gtk+ 2.30
A Glib.DBus_Objects.Gdbus_Object or null.
procedure Set_Set_Object
(Self : DBus_Interfaces_Interface_Descr;
Handler : Virtual_Set_Object)
See Glib.Object.Add_Interface
type Virtual_Dup_Object is access function
(Self : Gdbus_Interface) return Glib.DBus_Objects.Gdbus_Object;
Gets the Glib.DBus_Objects.Gdbus_Object that Interface_ belongs to, if any. Since: gtk+ 2.32
A Glib.DBus_Objects.Gdbus_Object or null. The returned reference should be freed with g_object_unref.
type Virtual_Get_Info is access function
(Self : Gdbus_Interface)
return access Glib.GDBus_Types.Gdbus_Interface_Info;
Gets D-Bus introspection information for the D-Bus interface implemented by Interface_. Since: gtk+ 2.30
A Gdbus.Interface_Info.Gdbus_Interface_Info. Do not free.
type Virtual_Get_Object is access function
(Self : Gdbus_Interface) return Glib.DBus_Objects.Gdbus_Object;
Gets the Glib.DBus_Objects.Gdbus_Object that Interface_ belongs to, if any. It is not safe to use the returned object if Interface_ or the returned object is being used from other threads. See Glib.DBus_Interfaces.Dup_Object for a thread-safe alternative. Since: gtk+ 2.30
A Glib.DBus_Objects.Gdbus_Object or null. The returned reference belongs to Interface_ and should not be freed.
type Virtual_Set_Object is access procedure
(Self : Gdbus_Interface;
Object : Glib.DBus_Objects.Gdbus_Object);
Sets the Glib.DBus_Objects.Gdbus_Object for Interface_ to Object. Note that Interface_ will hold a weak reference to Object. Since: gtk+ 2.30
A Glib.DBus_Objects.Gdbus_Object or null.