gtk_dumpDialogWidget

gtk_dumpDialogWidget —

Synopsis




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);


Description

Details

DumpDialog

typedef struct DumpDialog_struct        DumpDialog;

Short form for a DumpDialog_struct structure.


dumpDialog_new ()

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.

dumpDialogGet_dumpType ()

DumpType*   dumpDialogGet_dumpType          (DumpDialog *dialog);

Retrieve the chosen DumpType.

dialog : a DumpDialog object.
Returns : the selected format (FileFormat and write method).

dumpDialogGet_fileFormat ()

FileFormat* dumpDialogGet_fileFormat        (DumpDialog *dialog);

Retrieve the chosen fileFormat.

dialog : a DumpDialog object.
Returns : the selected format, only FileFormat.

dumpDialogGet_heightValue ()

gint        dumpDialogGet_heightValue       (DumpDialog *dialog);

Retrieve request image size.

dialog : a DumpDialog object.
Returns : the height value.

dumpDialogGet_cancelButton ()

GtkButton*  dumpDialogGet_cancelButton      (DumpDialog *dialog);

Retrieve interesting widget.

dialog : a DumpDialog object.
Returns : a pointer to the cancel button.

dumpDialogGet_fileName ()

gchar*      dumpDialogGet_fileName          (DumpDialog *dialog);

Retrieve the chosen filename.

dialog : a DumpDialog object.
Returns : a read-only string.

dumpDialogGet_progressBar ()

GtkProgressBar* dumpDialogGet_progressBar   (DumpDialog *dialog);

Retrieve interesting widget.

dialog : a DumpDialog object.
Returns : a pointer to the progress bar.

dumpDialogGet_widthValue ()

gint        dumpDialogGet_widthValue        (DumpDialog *dialog);

Retrieve request image size.

dialog : a DumpDialog object.
Returns : the width value.