v_sim.UiRenderingWindow¶
- Subclasses:
 None
Methods¶
- Inherited:
 Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
 Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class  | 
  | 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
Properties¶
- Inherited:
 Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
display node coordinates in reduced values  | 
||
r/w  | 
Data marks are applied to  | 
||
r/w/co  | 
GlScene rendered in the window  | 
||
r  | 
GlView mark labels are aligned with  | 
||
r  | 
current interactive session  | 
||
r  | 
Label representing the data  | 
||
r  | 
currently selected node, if any  | 
||
w/co  | 
if the widget has a toolbar or not  | 
Child Properties¶
- Inherited:
 
Style Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Name  | 
Short Description  | 
|---|---|
Signal emitted when the user ask for data export.  | 
|
Signal emitted when the user ask to load next file of a given list.  | 
|
Signal emitted when the user ask to load previous file of a given list.  | 
|
Signal emitted when the user ask to open new data.  | 
|
Signal emitted when the user ask to reload current data.  | 
|
Signal emitted when the user ask to search info in current data.  | 
|
Signal emitted when the user ask to show the action dialog.  | 
|
Signal emitted when the user ask to raise the main panel.  | 
|
Signal emitted when the user ask to precisely select a camera angle.  | 
Fields¶
- Inherited:
 
Class Details¶
- class v_sim.UiRenderingWindow(*args, **kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Short form for a #VisuUiRenderingWindow_struct structure.
- classmethod new(width, height, withFrame, withToolBar)¶
 - Parameters:
 - Returns:
 a newly created
v_sim.UiRenderingWindowwidget.- Return type:
 
A
v_sim.UiRenderingWindowwidget is aGtk.Windowthat have an area for OpenGL drawing and a statusBar with many stuff like action buttons, real status bar for notifications, … The rendering area can be drawn with a frame or not. With this routine, only thev_sim.UiRenderingWindowwidget is created.
- classmethod new_withGlScene(scene, withToolBar)¶
 - Parameters:
 scene (
v_sim.GlNodeScene) – av_sim.GlViewobject.withToolBar (
bool) – a boolean.
- Returns:
 a newly created
v_sim.UiRenderingWindowwidget.- Return type:
 
Like
v_sim.UiRenderingWindow.new(), but use an already existing view.New in version 3.8.
- getAccelGroup()¶
 - Returns:
 the
Gtk.AccelGroupobject of self.- Return type:
 
Retrieve the accelerator group of self.
New in version 3.7.
- getDisplayCoordinatesInReduce()¶
 - 
Picked nodes have their coordinates displayed in the status bar of the rendering window. This methods retrieves if they are printed in reduced values or not.
New in version 3.6.
 
- getGlScene()¶
 - Returns:
 the
v_sim.GlNodeSceneattached to the self orNoneon error.- Return type:
 
This method is used to get the
v_sim.GlExtSetattached to the rendering window.New in version 3.8.
- loadFile(data, iSet)¶
 - Parameters:
 data (
v_sim.DataLoadableorNone) – thev_sim.Datato be loaded.iSet (
int) – the id of data to load.
This method calls the general function to load data from file and deals with errors with gtkDialogs. The filenames must have already been set into data using visu_data_addFile().
- open(parent)¶
 - Parameters:
 parent (
Gtk.WindoworNone) – the parent window for the filechooser dialog.
Do as if the load button has been pushed, i.e. open a filechooser dialog on the parent window, and load the resulting file, refreshing the view if necessary.
- popInteractive(inter)¶
 - Parameters:
 inter (
v_sim.Interactive) – av_sim.Interactiveobject.
It removes inter from the stack of interactive sessions currently attached to self. If inter was first on the stack, the next session is launched.
New in version 3.6.
- popMessage()¶
 Remove the last message.
- pushInteractive(inter)¶
 - Parameters:
 inter (
v_sim.Interactive) – av_sim.Interactiveobject.
It adds inter to the stack of interactive sessions currently attached to self and launch it.
New in version 3.6.
- pushMessage(message)¶
 - Parameters:
 message (
str) – an UTF8 string to print on the status bar.
Use this method to add some informations on the status bar.
- reload()¶
 This routines reloads the current
v_sim.Dataobject by rereading it on disk. If there is no currentv_sim.Dataobject, it reports an error.New in version 3.7.
Signal Details¶
- v_sim.UiRenderingWindow.signals.export(ui_rendering_window)¶
 - Signal Name:
 export- Flags:
 - Parameters:
 ui_rendering_window (
v_sim.UiRenderingWindow) – The object which received the signal
Signal emitted when the user ask for data export.
New in version 3.6.
- v_sim.UiRenderingWindow.signals.load_next_file(ui_rendering_window)¶
 - Signal Name:
 load-next-file- Flags:
 - Parameters:
 ui_rendering_window (
v_sim.UiRenderingWindow) – The object which received the signal
Signal emitted when the user ask to load next file of a given list.
New in version 3.7.
- v_sim.UiRenderingWindow.signals.load_prev_file(ui_rendering_window)¶
 - Signal Name:
 load-prev-file- Flags:
 - Parameters:
 ui_rendering_window (
v_sim.UiRenderingWindow) – The object which received the signal
Signal emitted when the user ask to load previous file of a given list.
New in version 3.7.
- v_sim.UiRenderingWindow.signals.open(ui_rendering_window)¶
 - Signal Name:
 open- Flags:
 - Parameters:
 ui_rendering_window (
v_sim.UiRenderingWindow) – The object which received the signal
Signal emitted when the user ask to open new data.
New in version 3.6.
- v_sim.UiRenderingWindow.signals.reload(ui_rendering_window)¶
 - Signal Name:
 reload- Flags:
 - Parameters:
 ui_rendering_window (
v_sim.UiRenderingWindow) – The object which received the signal
Signal emitted when the user ask to reload current data.
New in version 3.6.
- v_sim.UiRenderingWindow.signals.search(ui_rendering_window)¶
 - Signal Name:
 search- Flags:
 - Parameters:
 ui_rendering_window (
v_sim.UiRenderingWindow) – The object which received the signal
Signal emitted when the user ask to search info in current data.
New in version 3.7.
- v_sim.UiRenderingWindow.signals.show_action_dialog(ui_rendering_window)¶
 - Signal Name:
 show-action-dialog- Flags:
 - Parameters:
 ui_rendering_window (
v_sim.UiRenderingWindow) – The object which received the signal
Signal emitted when the user ask to show the action dialog.
New in version 3.6.
- v_sim.UiRenderingWindow.signals.show_main_panel(ui_rendering_window)¶
 - Signal Name:
 show-main-panel- Flags:
 - Parameters:
 ui_rendering_window (
v_sim.UiRenderingWindow) – The object which received the signal
Signal emitted when the user ask to raise the main panel.
New in version 3.6.
- v_sim.UiRenderingWindow.signals.show_orientation_chooser(ui_rendering_window)¶
 - Signal Name:
 show-orientation-chooser- Flags:
 - Parameters:
 ui_rendering_window (
v_sim.UiRenderingWindow) – The object which received the signal
Signal emitted when the user ask to precisely select a camera angle.
New in version 3.7.
Property Details¶
- v_sim.UiRenderingWindow.props.coordinates_in_reduced¶
 - 
display node coordinates in reduced values
 
- v_sim.UiRenderingWindow.props.data¶
 - Name:
 data- Type:
 - Default Value:
 - Flags:
 
Data marks are applied to
- v_sim.UiRenderingWindow.props.gl_scene¶
 - Name:
 gl-scene- Type:
 - Default Value:
 - Flags:
 
GlScene rendered in the window
- v_sim.UiRenderingWindow.props.gl_view¶
 - Name:
 gl-view- Type:
 - Default Value:
 - Flags:
 
GlView mark labels are aligned with
- v_sim.UiRenderingWindow.props.interactive¶
 - Name:
 interactive- Type:
 - Default Value:
 - Flags:
 
current interactive session
- v_sim.UiRenderingWindow.props.label¶
 - 
Label representing the data
 
- v_sim.UiRenderingWindow.props.selection¶
 - Name:
 selection- Type:
 - Default Value:
 - Flags:
 
currently selected node, if any
- v_sim.UiRenderingWindow.props.with_toolbar¶
 - Name:
 with-toolbar- Type:
 - Default Value:
 - Flags:
 
if the widget has a toolbar or not