v_sim.UiDockWindow¶
Fields¶
None
Methods¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Details¶
- class v_sim.UiDockWindow¶
 Short name for the structure of containers of
v_sim.UiPanel.- getCharacteristics(id, visibility, x, y, width, height)¶
 - Parameters:
 id (
str) – a location to store the identifier (owned by V_Sim) ;visibility (
bool) – a location to store the status of the dock, hidden or not ;x (
int) – a location to store its x position on the root window ;y (
int) – a location to store its y position on the root window ;width (
int) – a location to store its width ;height (
int) – a location to store its height.
A routine to know everything about a
v_sim.UiDockWindow.
- getContainer()¶
 - Returns:
 a top-level container (usually a
Gtk.VBox).- Return type:
 
A dock window is a small utility window with a list of
v_sim.UiPanel. This window can be embedded in a container or have its ownGtk.Window. This routine get the top-level container inside a givenv_sim.UiDockWindow. If you prefer to get theGtk.Windowcontaining thev_sim.UiDockWindowusev_sim.UiDockWindow.getWindow() instead.
- getNotebook()¶
 - Returns:
 the
Gtk.Notebookcontaining thev_sim.UiPanelof thisv_sim.UiDockWindow.- Return type:
 
A dock window is a small utility window with a list of
v_sim.UiPanel. Allv_sim.UiPanelare contained in aGtk.Notebook. This routine gets it.
- getWindow()¶
 - Returns:
 a top-level container (usually a
Gtk.Window) orNone.- Return type:
 
A dock window is a small utility window with a list of
v_sim.UiPanel. This window can be embedded in a container or have its ownGtk.Window. This routine get theGtk.Windowcontaining thev_sim.UiDockWindowin the case the dock is stand-alone. If notNoneis returned.
- setPosition(x, y)¶
 - 
Change the position of the given
v_sim.UiDockWindow. The position is possibly adapted to avoid been out of screen. 
- setSize(width, height)¶
 - 
Change the size of the given
v_sim.UiDockWindow. The size is possibly adapted to avoid been out of screen. 
- setVisibility(visible)¶
 - Parameters:
 visible (
bool) – a boolean.
Change the visibility of a
v_sim.UiDockWindow. If hidden, the dock is added to the list of hiddenv_sim.UiDockWindowthat can be shown again using the pop-up menu on every visiblev_sim.UiDockWindow. The ‘Main’ dock window can not be hidden.