Class

IdeWorkbench

Description

final class Ide.Workbench : Gtk.WindowGroup
{
  /* No available fields */
}
No description available.

Hierarchy

hierarchy this IdeWorkbench ancestor_0 GtkWindowGroup ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Constructors

ide_workbench_new

Creates a new IdeWorkbench.

ide_workbench_new_for_context

Creates a new IdeWorkbench using context for the IdeWorkbench:context.

Functions

ide_workbench_from_context

Helper to get the IdeWorkbench for a given context.

ide_workbench_from_widget

Finds the IdeWorkbench associated with a widget.

Instance methods

ide_workbench_activate

This function will attempt to raise the most recently focused workspace.

ide_workbench_add_workspace

Adds workspace to workbench.

ide_workbench_addin_find_by_module_name

Finds the addin (if any) matching the plugin’s module_name.

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_build_system

Gets the IdeBuildSystem for the workbench, if any.

ide_workbench_get_context

Gets the IdeContext for the workbench.

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_get_search_engine

Gets the search engine for the workbench, if any.

ide_workbench_get_vcs

Gets the IdeVcs that has been loaded for the workbench, if any.

ide_workbench_get_vcs_monitor

Gets the IdeVcsMonitor for the workbench, if any.

ide_workbench_get_workspace_by_type

Gets the most-recently-used workspace that matches type.

ide_workbench_has_project

Returns TRUE if a project is loaded (or currently loading) in the workbench.

ide_workbench_load_project_async

Requests that a project be opened 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_all_async

Requests that the workbench open all of the GFile denoted by files.

ide_workbench_open_async

Requests that the workbench open file.

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_remove_workspace

Removes workspace from workbench.

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().

ide_workbench_set_build_system

Sets the IdeBuildSystem for the workbench.

ide_workbench_set_vcs

Sets the IdeVcs for the workbench.

ide_workbench_unload_async

Asynchronously unloads the workbench.

ide_workbench_unload_finish

Completes a request to unload the workbench.

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.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Ide.Workbench:context

The “context” property is the IdeContext for the project.

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.

Class structure

struct IdeWorkbenchClass {
  GtkWindowGroupClass parent_class;
  
}
No description available.
Class members
parent_class: GtkWindowGroupClass
No description available.