![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
typedef DumpDialog; GtkWidget* dumpDialog_new (VisuData *dataObj); DumpType* dumpDialogGet_dumpType (DumpDialog *dialog); FileFormat* dumpDialogGet_fileFormat (DumpDialog *dialog); gint dumpDialogGet_heightValue (DumpDialog *dialog); GtkButton* dumpDialogGet_cancelButton (DumpDialog *dialog); gchar* dumpDialogGet_fileName (DumpDialog *dialog); GtkProgressBar* dumpDialogGet_progressBar (DumpDialog *dialog); gint dumpDialogGet_widthValue (DumpDialog *dialog);
typedef struct DumpDialog_struct DumpDialog;
Short form for a DumpDialog_struct structure.
GtkWidget* dumpDialog_new (VisuData *dataObj);
A DumpDialog widget 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 (such as the default size).
dataObj : |
a VisuData object (can be NULL). |
Returns : | a newly created DumpDialog widget. |
DumpType* dumpDialogGet_dumpType (DumpDialog *dialog);
Retrieve the chosen DumpType.
dialog : |
a DumpDialog object. |
Returns : | the selected format (FileFormat and write method). |
FileFormat* dumpDialogGet_fileFormat (DumpDialog *dialog);
Retrieve the chosen fileFormat.
dialog : |
a DumpDialog object. |
Returns : | the selected format, only FileFormat. |
gint dumpDialogGet_heightValue (DumpDialog *dialog);
Retrieve request image size.
dialog : |
a DumpDialog object. |
Returns : | the height value. |
GtkButton* dumpDialogGet_cancelButton (DumpDialog *dialog);
Retrieve interesting widget.
dialog : |
a DumpDialog object. |
Returns : | a pointer to the cancel button. |
gchar* dumpDialogGet_fileName (DumpDialog *dialog);
Retrieve the chosen filename.
dialog : |
a DumpDialog object. |
Returns : | a read-only string. |
GtkProgressBar* dumpDialogGet_progressBar (DumpDialog *dialog);
Retrieve interesting widget.
dialog : |
a DumpDialog object. |
Returns : | a pointer to the progress bar. |
gint dumpDialogGet_widthValue (DumpDialog *dialog);
Retrieve request image size.
dialog : |
a DumpDialog object. |
Returns : | the width value. |