v_sim.UiFieldChooser¶
- 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), Gtk.FileChooser (63)
- Structs:
 Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class  | 
  | 
  | 
|
  | 
Virtual Methods¶
Properties¶
Style Properties¶
- Inherited:
 
Signals¶
- Inherited:
 Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1), Gtk.FileChooser (5)
Name  | 
Short Description  | 
|---|---|
Gets emitted when the user choose a file and a format has been validated for it.  | 
Fields¶
Class Details¶
- class v_sim.UiFieldChooser(*args, **kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Private structure to store informations of a
v_sim.UiFieldChooserobject.- classmethod new(parent)¶
 - Parameters:
 parent (
Gtk.WindoworNone) – the parent window.- Returns:
 a newly created file chooser.
- Return type:
 
Create a filechooser, specific for
v_sim.ScalarFieldfiles.New in version 3.7.
- getFileFormat()¶
 - Returns:
 the
v_sim.ScalarFieldMethodthat correspond to the selected file.- Return type:
 
After the self returns, it has validate the selected file on possible file formats.
New in version 3.7.
- getFit()¶
 - Returns:
 if the box should be fitted or not.
- Return type:
 
The
v_sim.ScalarFieldobjects can be fitted on the #visuData box or impose their boxes tov_sim.Data.New in version 3.7.
- setOptions(wd)¶
 - Parameters:
 wd (
Gtk.Widget) – some additional options to add to the dialog.
One can add widgets to add more options to the chooser. If the chooser already has some option widgets, they are destroyed.
New in version 3.7.
Signal Details¶
- v_sim.UiFieldChooser.signals.validate(ui_field_chooser, field)¶
 - Signal Name:
 validate- Flags:
 - Parameters:
 ui_field_chooser (
v_sim.UiFieldChooser) – The object which received the signalfield (
v_sim.ScalarFieldMethod) – the chosenv_sim.ScalarFieldobject.
Gets emitted when the user choose a file and a format has been validated for it.
New in version 3.7.