Class
IdeBuildManager
Instance methods
ide_build_manager_build_async
This function will request that phase
is completed in the underlying
build pipeline and execute a build. Upon completion, callback
will be
executed and it can determine the success or failure of the operation
using ide_build_manager_build_finish().
ide_build_manager_clean_finish
Completes an asynchronous request to ide_build_manager_clean_async().
ide_build_manager_get_last_build_time
This function returns a GDateTime
of the last build request. If
there has not yet been a build request, this will return NULL
.
ide_build_manager_get_pipeline
This function gets the current build pipeline. The pipeline will be reloaded as build configurations change.
ide_build_manager_get_running_time
Gets the amount of elapsed time of the current build as a
GTimeSpan
.
ide_build_manager_invalidate
Requests that the IdeBuildManager
invalidate the current pipeline and
setup a new pipeline.
ide_build_manager_rebuild_async
Asynchronously requests that the build pipeline clean and rebuild up to the given phase. This may involve discarding previous build artifacts to allow for the rebuild process.
ide_build_manager_rebuild_finish
Completes an asynchronous request to ide_build_manager_rebuild_async().
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 GInitable (1)
Properties
Ide.BuildManager:busy
The “busy” property indicates if there is currently a build executing. This can be bound to UI elements to display to the user that a build is active (and therefore other builds cannot be activated at the moment).
Ide.BuildManager:has-diagnostics
The “has-diagnostics” property indicates that there have been diagnostics found during the last execution of the build pipeline.
Ide.BuildManager:last-build-time
The “last-build-time” property contains a GDateTime
of the time
the last build request was submitted.
Ide.BuildManager:message
The “message” property contains a string message describing the current state of the build process. This may be bound to UI elements to notify the user of the buid progress.
Ide.BuildManager:pipeline
The “pipeline” property is the build pipeline that the build manager is currently managing.
Ide.BuildManager:running-time
The “running-time” property can be bound by UI elements that
want to track how long the current build has taken. g_object_notify()
is called on a regular interval during the build so that the UI
elements may automatically update.
Ide.BuildManager:warning-count
The “warning-count” property contains the number of warnings that have been discovered in the current build request.
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.BuildManager::build-failed
The “build-failed” signal is emitted when a build that was previously
notified via IdeBuildManager::build-started
has failed to complete successfully.
Ide.BuildManager::build-finished
The “build-finished” signal is emitted when a build completed successfully.
Ide.BuildManager::build-started
The “build-started” signal is emitted when a new build has started.
The build may be an incremental build. The pipeline
instance is
the build pipeline which is being executed.
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