v_sim.UiDumpDialog¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Dialog (14), Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)
Style Properties¶
- Inherited:
Signals¶
Fields¶
Class Details¶
- class v_sim.UiDumpDialog(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Private structure to store informations of a
v_sim.UiDumpDialogobject.- classmethod new(dataObj, parent, suggestedFilename, suggestedWidth, suggestedHeight)¶
- Parameters:
dataObj (
v_sim.DataorNone) – av_sim.Dataobject (can beNone) ;parent (
Gtk.WindoworNone) – the parent window ;suggestedWidth (
int) – a positive suggested width for exportation or a negative value to get the default.suggestedHeight (
int) – idem for height.
- Returns:
a newly created
v_sim.UiDumpDialogwidget.- Return type:
A
v_sim.UiDumpDialogwidget is complete dialog window widget, but it is already prepared for dumping, proposing known file formats. It is usefull to get an filename to export to. It has also a progress bar that can illustrate the process. The given dataObj argument is used to initialize some values related to the data to be dumped.
- getCancelButton()¶
- Returns:
a pointer to the cancel button.
- Return type:
Retrieve interesting widget.
- getProgressBar()¶
- Returns:
a pointer to the progress bar.
- Return type:
Retrieve interesting widget.
- getType()¶
- Returns:
the selected format (
v_sim.FileFormatand write method).- Return type:
Retrieve the chosen
v_sim.Dump.
- start()¶
Make the file chooser part insensitive during dump, only the progress bar and the abort button are kept sensitive.
- stop()¶
Return the filechooser to a sensitive state.