Class
IdeWorkbench
Constructors
ide_workbench_new_for_context
Creates a new IdeWorkbench
using context
for the IdeWorkbench:context
.
Available since: 3.32
Instance methods
ide_workbench_activate
This function will attempt to raise the most recently focused workspace.
Available since: 3.32
ide_workbench_addin_find_by_module_name
Finds the addin (if any) matching the plugin’s module_name
.
Available since: 3.32
ide_workbench_focus_workspace
Requests that workspace
be raised in the windows of self
, and
displayed to the user.
Available since: 3.32
ide_workbench_foreach_page
Calls callback
for every page loaded in the workbench, by iterating
workspaces in order of most-recently-used.
Available since: 3.32
ide_workbench_foreach_workspace
Iterates the available workspaces in the workbench. Workspaces are iterated in most-recently-used order.
Available since: 3.32
ide_workbench_get_build_system
Gets the IdeBuildSystem
for the workbench, if any.
Available since: 3.32
ide_workbench_get_current_workspace
Gets the most recently focused workspace, which may be used to deliver events such as opening new pages.
Available since: 3.32
ide_workbench_get_project_info
Gets the IdeProjectInfo
for the workbench, if a project has been or is
currently, loading.
Available since: 3.32
ide_workbench_get_search_engine
Gets the search engine for the workbench, if any.
Available since: 3.32
ide_workbench_get_vcs
Gets the IdeVcs
that has been loaded for the workbench, if any.
Available since: 3.32
ide_workbench_get_vcs_monitor
Gets the IdeVcsMonitor
for the workbench, if any.
Available since: 3.32
ide_workbench_get_workspace_by_type
Gets the most-recently-used workspace that matches type
.
Available since: 3.32
ide_workbench_has_project
Returns TRUE
if a project is loaded (or currently loading) in the workbench.
Available since: 3.32
ide_workbench_load_project_async
Requests that a project be opened in the workbench.
Available since: 3.32
ide_workbench_load_project_finish
Completes an asynchronous request to open a project using
ide_workbench_load_project_async()
.
Available since: 3.32
ide_workbench_open_all_async
Requests that the workbench open all of the GFile
denoted by files
.
Available since: 3.32
ide_workbench_open_at_async
Like ide_workbench_open_async()
, this allows opening a file
within the workbench. However, it also allows specifying a
line and column offset within the file to focus. Usually, this
only makes sense for files that can be opened in an editor.
Available since: 3.32
ide_workbench_open_finish
Completes a request to open a file using either
ide_workbench_open_async()
or ide_workbench_open_at_async()
.
Available since: 3.32
ide_workbench_resolve_file_async
This function will try to locate a given file based on the filename, possibly resolving it from a build directory, or source directory.
Available since: 3.32
ide_workbench_resolve_file_finish
Completes an asynchronous request to ide_workbench_resolve_file_async()
.
Available since: 3.32
Properties
Ide.Workbench:context
The “context” property is the IdeContext
for the project.
Available since: 3.32
Ide.Workbench:vcs
The “vcs” property contains an IdeVcs
that represents the version control
system that is currently loaded for the project.
Available since: 3.32
Class structure
struct IdeWorkbenchClass {
GtkWindowGroupClass parent_class;
}
Class members
parent_class |
|
No description available. |
Functions
ide_workbench_from_context
Helper to get the IdeWorkbench
for a given context.
Available since: 3.40