Panel.Grid¶
- Subclasses:
 None
Methods¶
- Inherited:
 Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), Gtk.Buildable (1)
- Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Name  | 
Short Description  | 
|---|---|
The “create-frame” signal is used to create a new frame within the grid.  | 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
Class Details¶
- class Panel.Grid(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
The
Panel.Gridis a widget used to layout the dock item in the center area.- classmethod new()¶
 - Returns:
 a newly created
Panel.Grid- Return type:
 
Creates a new
Panel.Grid.
- add(widget)¶
 - Parameters:
 widget (
Panel.Widget) – aPanel.Widgetthe widget to add.
Add a
Panel.Widgetto the grid.
- agree_to_close_async(cancellable, callback, *user_data)¶
 - Parameters:
 cancellable (
Gio.CancellableorNone) –callback (
Gio.AsyncReadyCallback) – callback called when ready
Request to close, asynchronously. This will display the save dialog.
- agree_to_close_finish(result)¶
 - Parameters:
 result (
Gio.AsyncResult) –- Raises:
 - Return type:
 
- foreach_frame(callback, *user_data)¶
 - Parameters:
 callback (
Panel.FrameCallback) – aPanel.FrameCallback
Calls callback for each
Panel.Framewithin grid.
- get_column(column)¶
 - Parameters:
 column (
int) – a column index- Returns:
 - Return type:
 
Gets the
Panel.GridColumnfor a column index.
- get_most_recent_column()¶
 - Returns:
 - Return type:
 
Gets the most recently acive column on a grid.
- get_most_recent_frame()¶
 - Returns:
 a #PanelGridFrame
- Return type:
 
Gets the most recently acive frame on a grid.
- get_n_columns()¶
 - Returns:
 The number of columns.
- Return type:
 
Gets the number of columns in the grid.
Signal Details¶
- Panel.Grid.signals.create_frame(grid)¶
 - Signal Name:
 create-frame- Flags:
 - Parameters:
 grid (
Panel.Grid) – The object which received the signal- Returns:
 an unrooted
Panel.Frame- Return type:
 
The “create-frame” signal is used to create a new frame within the grid.
Consumers of this signal are required to return an unrooted
Panel.Framefrom this signal. The first signal handler wins.