![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Signals |
enum VisuUiBoxFit; VisuUiFieldChooser; VisuUiFieldChooserClass; VisuScalarFieldMethod * visu_ui_field_chooser_getFileFormat (VisuUiFieldChooser *dialog
); VisuUiBoxFit visu_ui_field_chooser_getFit (VisuUiFieldChooser *dialog
); GtkWidget * visu_ui_field_chooser_new (GtkWindow *parent
); void visu_ui_field_chooser_setOptions (VisuUiFieldChooser *dialog
,GtkWidget *wd
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkFileChooserDialog +----VisuUiFieldChooser
VisuUiFieldChooser implements AtkImplementorIface, GtkBuildable and GtkFileChooser.
typedef enum { VISU_UI_FIT_TO_BOX, VISU_UI_FIT_TO_SURFACE } VisuUiBoxFit;
Possible value to adapt the boxes of structure and field.
adapt the box of the field to the box of the loaded VisuData. | |
adapt the box of the loaded VisuData to the box of the field. |
Since 3.7
typedef struct _VisuUiFieldChooser VisuUiFieldChooser;
Private structure to store informations of a VisuUiFieldChooser object.
typedef struct _VisuUiFieldChooserClass VisuUiFieldChooserClass;
Private structure to store informations of a VisuUiFieldChooserClass object.
VisuScalarFieldMethod * visu_ui_field_chooser_getFileFormat
(VisuUiFieldChooser *dialog
);
After the dialog
returns, it has validate the selected file on
possible file formats.
|
a VisuUiFieldChooser object. |
Returns : |
the VisuScalarFieldMethod that correspond to the selected file. |
Since 3.7
VisuUiBoxFit visu_ui_field_chooser_getFit (VisuUiFieldChooser *dialog
);
The VisuScalarField objects can be fitted on the visuData box or impose their boxes to VisuData.
|
a VisuUiFieldChooser object. |
Returns : |
if the box should be fitted or not. |
Since 3.7
GtkWidget * visu_ui_field_chooser_new (GtkWindow *parent
);
Create a filechooser, specific for VisuScalarField files.
|
the parent window. [allow-none] |
Returns : |
a newly created file chooser. [transfer full] |
Since 3.7
void visu_ui_field_chooser_setOptions (VisuUiFieldChooser *dialog
,GtkWidget *wd
);
One can add widgets to add more options to the chooser. If the chooser already has some option widgets, they are destroyed.
|
a VisuUiFieldChooser object. |
|
some additional options to add to the dialog. |
Since 3.7
"validate"
signalvoid user_function (VisuUiFieldChooser *chooser,
GObject *arg1,
gpointer user_data) : No Recursion
Gets emitted when the user choose a file and a format has been validated for it.
|
the object which emit the signal ; |
|
user data set when the signal handler was connected. |
Since 3.7