IupGlobalsDialog
| Definition: |
include pGUI.e
Ihandle ih = IupGlobalsDialog(string attributes="", dword_seq args={}) |
| Description: |
Creates an Globals Dialog. It is a predefined dialog to check and edit global attributes, functions (read-only) and names (read-only) in run time. It is a standard IupDialog constructed with other IUP elements. The dialog can be shown with any of the show functions IupShow, IupShowXY or IupPopup. This is a dialog intended for developers, so they can see and inspect their globals in other ways. It contains 4 Tab sections: one for the registered global attributes, one for custom global attributes set by the application, one for the global functions and one for the global names. The function and names are just for inspection, and custom attributes should be handled carefully because they may be not strings. For more information on the attributes and args parameters see IupSetAttributes. I recommend using "RASTERSIZE=450x500" otherwise the window is initially a little too small. Returns: the identifier of the created element. Refer to IupDialog for details of available attributes and callbacks. |
| pwa/p2js: | Not supported. |
| Example: |
Just add (eg) IupShow(IupGlobalsDialog("RASTERSIZE=450x500")), under some suitable trigger such as a button or menu entry,
to almost any existing program:
Also, the IupLayoutDialog() menu now has a "Globals..." entry which shows the exact same dialog. (Note however there is no way to programatically supply "RASTERSIZE=450x500" to that dialog’s embedded menu entry.) |
| See Also: | IupDialog, IupShow, IupShowXY, IupPopup, IupLayoutDialog |