Class
IdeGreeterWorkspace
Ancestors
- IdeWorkspace
- DzlApplicationWindow
- GtkApplicationWindow
- GtkWindow
- GtkBin
- GtkContainer
- GtkWidget
- GInitiallyUnowned
- GObject
Constructors
ide_greeter_workspace_new
Instance methods
ide_greeter_workspace_add_button
ide_greeter_workspace_begin
This function will disable various actions and should be called before
an IdeGreeterAddin
begins doing work that cannot be undone except to
cancel the operation.
Available since: 3.32
ide_greeter_workspace_end
Restores actions after a call to ide_greeter_workspace_begin()
.
Available since: 3.32
ide_greeter_workspace_get_selection_mode
Gets if the greeter is in selection mode, which means that the workspace allows selecting projects for removal.
Available since: 3.32
ide_greeter_workspace_open_project
Opens the project described by project_info
.
Available since: 3.32
ide_greeter_workspace_remove_section
Remvoes the IdeGreeterSection
from the display. This should be a section
that was previously added with ide_greeter_workspace_add_section()
.
Available since: 3.32
ide_greeter_workspace_set_selection_mode
Sets the workspace in selection mode.
Available since: 3.32
Methods inherited from IdeWorkspace (13)
ide_workspace_add_surface
Adds a new IdeSurface
to the workspace.
Available since: 3.32
ide_workspace_addin_find_by_module_name
Finds the addin (if any) matching the plugin’s module_name
.
Available since: 3.40
ide_workspace_foreach_page
Calls callback
for each IdePage
found within the workspace.
Available since: 3.32
ide_workspace_foreach_surface
Calls callback for every IdeSurface
based GtkWidget
that is registered
in the workspace.
Available since: 3.32
ide_workspace_get_cancellable
Gets a cancellable for a window. This is useful when you want operations to be cancelled if a window is closed.
Available since: 3.32
ide_workspace_get_context
Gets the IdeContext
for the IdeWorkspace
, which is set when the
workspace joins an IdeWorkbench
.
Available since: 3.32
ide_workspace_get_header_bar
Gets the headerbar for the workspace, if it is an IdeHeaderBar
.
Also works around Gtk giving back a GtkStack for the header bar.
Available since: 3.32
ide_workspace_get_most_recent_page
Gets the most recently focused IdePage
.
Available since: 3.32
ide_workspace_get_overlay
Gets a GtkOverlay
that contains all of the primary contents of the window
(everything except the headerbar). This can be used by plugins to draw
above the workspace contents.
Available since: 3.32
ide_workspace_get_surface_by_name
Locates an IdeSurface
that has been added to the workspace by the name
that was registered for the widget using gtk_widget_set_name()
.
Available since: 3.32
ide_workspace_get_visible_surface
Gets the currently visible IdeSurface
, or NULL
.
Available since: 3.32
ide_workspace_set_visible_surface
Sets the IdeWorkspace:visible-surface
property which is the currently
visible IdeSurface
in the workspace.
Available since: 3.32
ide_workspace_set_visible_surface_name
Sets the visible surface based on the name of the surface. The name of the
surface comes from gtk_widget_get_name()
, which should be set when creating
the surface using gtk_widget_set_name()
.
Available since: 3.32
Properties
Ide.GreeterWorkspace:selection-mode
The “selection-mode” property indicates if the workspace allows selecting existing projects and removing them, including source files and cached data.
Available since: 3.32
Properties inherited from IdeWorkspace (2)
Ide.Workspace:context
The “context” property is the IdeContext
for the workspace. This is set
when the workspace joins a workbench.
Available since: 3.32
Ide.Workspace:visible-surface
The “visible-surface” property contains the currently foremost surface in the workspaces stack of surfaces. Usually, this is the editor surface, but may be other surfaces such as build preferences, profiler, etc.
Available since: 3.32