Class

IdeDeviceManager

Description

final class Ide.DeviceManager : Ide.Object
  implements Gio.ActionGroup, Gio.AsyncInitable, Gio.ListModel {
  /* No available fields */
}
No description available.

Hierarchy

hierarchy this IdeDeviceManager implements_0 GActionGroup this--implements_0 implements_1 GAsyncInitable this--implements_1 implements_2 GListModel this--implements_2 ancestor_0 IdeObject ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Functions

ide_device_manager_from_context
No description available.

Instance methods

ide_device_manager_deploy_async

Requests that the application be deployed to the device. This may need to be done before running the application so that the device has the most up to date build.

ide_device_manager_deploy_finish

Completes a request to deploy the application to the device.

ide_device_manager_get_device

Gets the currently selected device. Usually, this is an IdeLocalDevice.

ide_device_manager_get_device_by_id

Fetches the first device that matches the device identifier device_id.

ide_device_manager_get_progress
No description available.

ide_device_manager_set_device

Sets the IdeDeviceManager:device property, which is the currently selected device. Builder uses this to determine how to build the current project for the devices architecture and operating system.

Methods inherited from IdeObject (29)

Please see IdeObject for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GActionGroup (14)
g_action_group_action_added

Emits the GActionGroup::action-added signal on action_group.

since: 2.28

g_action_group_action_enabled_changed

Emits the GActionGroup::action-enabled-changed signal on action_group.

since: 2.28

g_action_group_action_removed

Emits the GActionGroup::action-removed signal on action_group.

since: 2.28

g_action_group_action_state_changed

Emits the GActionGroup::action-state-changed signal on action_group.

since: 2.28

g_action_group_activate_action

Activate the named action within action_group.

since: 2.28

g_action_group_change_action_state

Request for the state of the named action within action_group to be changed to value.

since: 2.28

g_action_group_get_action_enabled

Checks if the named action within action_group is currently enabled.

since: 2.28

g_action_group_get_action_parameter_type

Queries the type of the parameter that must be given when activating the named action within action_group.

since: 2.28

g_action_group_get_action_state

Queries the current state of the named action within action_group.

since: 2.28

g_action_group_get_action_state_hint

Requests a hint about the valid range of values for the state of the named action within action_group.

since: 2.28

g_action_group_get_action_state_type

Queries the type of the state of the named action within action_group.

since: 2.28

g_action_group_has_action

Checks if the named action exists within action_group.

since: 2.28

g_action_group_list_actions

Lists the actions contained within action_group.

since: 2.28

g_action_group_query_action

Queries all aspects of the named action within an action_group.

since: 2.32

Methods inherited from GAsyncInitable (3)
g_async_initable_init_async

Starts asynchronous initialization of the object implementing the interface. This must be done before any real use of the object after initial construction. If the object also implements GInitable you can optionally call g_initable_init() instead.

since: 2.22

g_async_initable_init_finish

Finishes asynchronous initialization and returns the result. See g_async_initable_init_async().

since: 2.22

g_async_initable_new_finish

Finishes the async construction for the various g_async_initable_new calls, returning the created object or NULL on error.

since: 2.22

Methods inherited from GListModel (5)
g_list_model_get_item

Get the item at position.

since: 2.44

g_list_model_get_item_type

Gets the type of the items in list.

since: 2.44

g_list_model_get_n_items

Gets the number of items in list.

since: 2.44

g_list_model_get_object

Get the item at position.

since: 2.44

g_list_model_items_changed

Emits the GListModel::items-changed signal on list.

since: 2.44

Properties

Ide.DeviceManager:device

The “device” property indicates the currently selected device by the user. This is the device we will try to deploy to when running, and execute the application on.

Ide.DeviceManager:progress

The “progress” property is updated with a value between 0.0 and 1.0 while the deployment is in progress.

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

Ide.DeviceManager::deploy-finished
No description available.

Ide.DeviceManager::deploy-started
No description available.

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.

Signals inherited from GActionGroup (4)
GActionGroup::action-added

Signals that a new action was just added to the group. This signal is emitted after the action has been added and is now visible.

since: 2.28

GActionGroup::action-enabled-changed

Signals that the enabled status of the named action has changed.

since: 2.28

GActionGroup::action-removed

Signals that an action is just about to be removed from the group. This signal is emitted before the action is removed, so the action is still visible and can be queried from the signal handler.

since: 2.28

GActionGroup::action-state-changed

Signals that the state of the named action has changed.

since: 2.28

Signals inherited from GListModel (1)
GListModel::items-changed

This signal is emitted whenever items were added to or removed from list. At position, removed items were removed and added items were added in their place.

since: 2.44

Class structure

struct IdeDeviceManagerClass {
  IdeObjectClass parent_class;
  
}
No description available.
Class members
parent_class: IdeObjectClass
No description available.