Class
IdeDevice
Instance methods
ide_device_get_display_name
This function returns the name of the device. If no name has been set, then
NULL
is returned.
ide_device_get_id
Retrieves the “id” property of the IdeDevice
. This is generally not a
user friendly name as it is often a guid.
ide_device_get_info_finish
Completes an asynchronous request to load the information about a device.
Properties
Ide.Device:icon-name
The “icon-name” property is the icon to display with the device in various UI elements of Builder.
Properties inherited from IdeObject (2)
Ide.Object:cancellable
The “cancellable” property is a GCancellable
that can be used by operations
that will be cancelled when the IdeObject::destroy
signal is emitted on self
.
Ide.Object:parent
The parent IdeObject
, if any.
Signals
Signals inherited from IdeObject (1)
IdeObject::destroy
The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct IdeDeviceClass {
IdeObjectClass parent;
void (* prepare_configuration) (
IdeDevice* self,
IdeConfig* configuration
);
void (* get_info_async) (
IdeDevice* self,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
IdeDeviceInfo* (* get_info_finish) (
IdeDevice* self,
GAsyncResult* result,
GError** error
);
}
Class members
parent: IdeObjectClass
- No description available.
prepare_configuration: void (* prepare_configuration) ( IdeDevice* self, IdeConfig* configuration )
- No description available.
get_info_async: void (* get_info_async) ( IdeDevice* self, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
get_info_finish: IdeDeviceInfo* (* get_info_finish) ( IdeDevice* self, GAsyncResult* result, GError** error )
- No description available.
Virtual methods
Ide.DeviceClass.get_info_finish
Completes an asynchronous request to load the information about a device.