Back to index

plt-scheme  4.2.1
Functions
Dialogs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int wxMessageBox (char *message, char *caption="Message", long style=wxOK|wxCENTRE, wxWindow *parent=NULL, int x=-1, int y=-1)
char * wxFileSelector (char *message, char *default_path, char *default_filename, char *default_extension, char *WXUNUSED(wildcard), int flags, wxWindow *parent, int, int)
char * wxLoadFileSelector (char *WXUNUSED(what), char *extension=NULL, char *default_name=NULL, wxWindow *parent=NULL)
char * wxSaveFileSelector (char *WXUNUSED(what), char *extension=NULL, char *default_name=NULL, wxWindow *parent=NULL)

Function Documentation

char* wxFileSelector ( char *  message,
char *  default_path,
char *  default_filename,
char *  default_extension,
char *  WXUNUSEDwildcard,
int  flags,
wxWindow parent,
int  ,
int   
)

Definition at line 36 of file FileDialog.cc.

{
  return wxsFileDialog(message, default_path, default_filename, default_extension, 
                     (flags & wxSAVE), parent);
}

Here is the call graph for this function:

Here is the caller graph for this function:

char* wxLoadFileSelector ( char *  WXUNUSEDwhat,
char *  extension = NULL,
char *  default_name = NULL,
wxWindow parent = NULL 
)

Definition at line 44 of file FileDialog.cc.

{
    char wild[60];
    if (*extension == '.')  ++extension;
    sprintf(wild, "*.%s", extension);
    return wxFileSelector("Load file", NULL, default_name,
                       (char*)extension, wild, 0, parent, 0, 0);
}

Here is the call graph for this function:

int wxMessageBox ( char *  message,
char *  caption = "Message",
long  style = wxOK|wxCENTRE,
wxWindow parent = NULL,
int  x = -1,
int  y = -1 
)

Definition at line 32 of file MessageBox.cc.

{
  return wxsMessageBox(message, caption, style, parent);
}

Here is the call graph for this function:

char* wxSaveFileSelector ( char *  WXUNUSEDwhat,
char *  extension = NULL,
char *  default_name = NULL,
wxWindow parent = NULL 
)

Definition at line 54 of file FileDialog.cc.

{
    char wild[60];
    if (*extension == '.')  ++extension;
    sprintf(wild, "*.%s", extension);
    return wxFileSelector("Save file", NULL, default_name,
                       (char*)extension, wild, wxSAVE, parent, 0, 0);
}

Here is the call graph for this function: