+ extract the (argn)th event argument for the current action (makes sense only in an ACTE_action event handler +
Index: trunk/doc-rnd/gpmi/packages/dialogs_ref.html =================================================================== --- trunk/doc-rnd/gpmi/packages/dialogs_ref.html (revision 784) +++ trunk/doc-rnd/gpmi/packages/dialogs_ref.html (revision 785) @@ -4,9 +4,21 @@Reference manual for package dialogs
Automatically generated from dialogs.h -Events
+Enums
Events do not have return value. The first argument is always the even id +
Enum values should be passed on as strings.
+
+ dialog_fileselect_e
+
+ Filter on what files a file select dialog should list
+
+
value | meaning + |
---|---|
FS_NONE | none of the below + |
FS_READ | when the selected file will be read, not written (HID_FILESELECT_READ) + |
FS_NOT_EXIST | the function calling hid->fileselect will deal with the case when the selected file already exists. If not given, then the gui will prompt with an "overwrite?" prompt. Only used when writing. (HID_FILESELECT_MAY_NOT_EXIST) + |
FS_TEMPLATE | the call is supposed to return a file template (for gerber output for example) instead of an actual file. Only used when writing. (HID_FILESELECT_IS_TEMPLATE) + |
+ Ask the user to input a string (usually in a popup). + Arguments: + msg: message or question text + default_: default answer (this may be filled in on start) + Returns the answer. ++ +
+ Pops up a file selection dialog. + Arguments: + title: window title + descr: description + default_file_ + default_ext: default file name extension + history_tag + flags: one or more flags (see below) + Returns the selected file or NULL (empty). +