Class
IdeWorkbench
Constructors
ide_workbench_new_for_context
Creates a new IdeWorkbench
using context
for the IdeWorkbench:context
.
Instance methods
ide_workbench_focus_workspace
Requests that workspace
be raised in the windows of self
, and
displayed to the user.
ide_workbench_foreach_page
Calls callback
for every page loaded in the workbench, by iterating
workspaces in order of most-recently-used.
ide_workbench_foreach_workspace
Iterates the available workspaces in the workbench. Workspaces are iterated in most-recently-used order.
ide_workbench_get_current_workspace
Gets the most recently focused workspace, which may be used to deliver events such as opening new pages.
ide_workbench_get_project_info
Gets the IdeProjectInfo
for the workbench, if a project has been or is
currently, loading.
ide_workbench_has_project
Returns TRUE
if a project is loaded (or currently loading) in the workbench.
ide_workbench_load_project_finish
Completes an asynchronous request to open a project using ide_workbench_load_project_async().
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.
ide_workbench_open_finish
Completes a request to open a file using either
ide_workbench_open_async()
or ide_workbench_open_at_async().
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.
ide_workbench_resolve_file_finish
Completes an asynchronous request to ide_workbench_resolve_file_async().
Methods inherited from GtkWindowGroup (3)
gtk_window_group_add_window
Adds a window to a GtkWindowGroup
.
gtk_window_group_list_windows
Returns a list of the GtkWindows
that belong to window_group
.
gtk_window_group_remove_window
Removes a window from a GtkWindowGroup
.
Properties
Ide.Workbench:vcs
The “vcs” property contains an IdeVcs
that represents the version control
system that is currently loaded for the project.
Signals
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.