Panel.DocumentWorkspace¶
- Subclasses:
None
Methods¶
- Inherited:
Panel.Workspace (8), Adw.ApplicationWindow (9), Gtk.ApplicationWindow (6), Gtk.Window (62), Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), Gtk.Buildable (1), Gtk.Native (6), Gtk.Root (3), Gio.ActionGroup (14), Gio.ActionMap (5)
- Structs:
Panel.WorkspaceClass (2), Gtk.WidgetClass (18), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Window (5), Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9), Gtk.ShortcutManager (2), Gio.ActionGroup (14), Gio.ActionMap (3)
|
Properties¶
- Inherited:
Panel.Workspace (1), Adw.ApplicationWindow (5), Gtk.ApplicationWindow (1), Gtk.Window (25), Gtk.Widget (35), Gtk.Accessible (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/en |
|||
r/en |
|||
r/en |
Signals¶
- Inherited:
Gtk.Window (5), Gtk.Widget (13), GObject.Object (1), Gio.ActionGroup (4)
Name |
Short Description |
---|---|
This signal is used to add a |
|
Creates a new |
Fields¶
- Inherited:
Gtk.Window (5), Gtk.Widget (13), GObject.Object (1), Gio.ActionGroup (4)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Panel.DocumentWorkspace(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
- Return type:
Creates a new
Panel.DocumentWorkspace
.New in version 1.4.
- add_widget(widget, position)¶
- Parameters:
widget (
Panel.Widget
) – aPanel.Widget
position (
Panel.Position
orNone
) – aPanel.Position
orNone
- Returns:
True
if widget was added; otherwiseFalse
and widget will haveGObject.Object.ref_sink
() called and unref’d from an idle callback.- Return type:
Requests the workspace add widget to the dock at position.
New in version 1.4.
- get_dock()¶
- Returns:
- Return type:
Get the
Panel.Dock
for the workspace.New in version 1.4.
- get_grid()¶
- Returns:
- Return type:
Get the document grid for the workspace.
New in version 1.4.
- get_statusbar()¶
- Returns:
- Return type:
Gets the statusbar for the workspace.
New in version 1.4.
- get_titlebar()¶
- Returns:
a
Gtk.Widget
orNone
- Return type:
Gtk.Widget
orNone
Gets the titlebar for the workspace.
New in version 1.4.
- set_titlebar(titlebar)¶
- Parameters:
titlebar (
Gtk.Widget
) –
- do_add_widget(widget, position) virtual¶
- Parameters:
widget (
Panel.Widget
) – aPanel.Widget
position (
Panel.Position
orNone
) – aPanel.Position
orNone
- Returns:
True
if widget was added; otherwiseFalse
and widget will haveGObject.Object.ref_sink
() called and unref’d from an idle callback.- Return type:
Requests the workspace add widget to the dock at position.
New in version 1.4.
Signal Details¶
- Panel.DocumentWorkspace.signals.add_widget(document_workspace, widget, position)¶
- Signal Name:
add-widget
- Flags:
- Parameters:
document_workspace (
Panel.DocumentWorkspace
) – The object which received the signalwidget (
Panel.Widget
) – aPanel.Widget
position (
Panel.Position
) – aPanel.Position
- Returns:
True
if the widget was added and no more signal handlers will be notified.- Return type:
This signal is used to add a
Panel.Widget
to the document workspace, generally in the document grid.New in version 1.4.
- Panel.DocumentWorkspace.signals.create_frame(document_workspace, position)¶
- Signal Name:
create-frame
- Flags:
- Parameters:
document_workspace (
Panel.DocumentWorkspace
) – The object which received the signalposition (
Panel.Position
) – the position of the frame
- Returns:
- Return type:
Creates a new
Panel.Frame
to be added to the document grid.New in version 1.4.
Property Details¶
- Panel.DocumentWorkspace.props.dock¶
- Name:
dock
- Type:
- Default Value:
- Flags:
- Panel.DocumentWorkspace.props.grid¶
- Name:
grid
- Type:
- Default Value:
- Flags:
- Panel.DocumentWorkspace.props.statusbar¶
- Name:
statusbar
- Type:
- Default Value:
- Flags: