hiCreateWindow
hiCreateWindow(g_boxSpec t_widgetType t_appType[t_help] [g_scrollbars] [g_form] [l_iconPosition] ) =>w_windowId/nil
Description
Creates, but does not display, a window of one of the following types: session, graphics, text, hypertext, html, encap, or form. This window becomes the current window.
If you do not want this window to ever become the current window, you can set the window property neverCurrentWindow to t:
( window->neverCurrentWindow = t )
When this property is set on a current window, the current window is reset to the last current window or to another open window. If another window cannot be found, the current window is reset to nil.
If you set the neverCurrentWindow property to t and you use .tgf help files, you need to specify the correct application ID for help to work correctly. See the note in the description of the t_help argument for details.
This function is not available in Concept SKILL. For more information, see
Arguments
|
Lower left and upper right corners of the window in screen coordinates (assuming 0:0 as the lower left corner of the screen):
where x1 is the lower left
If g_boxSpec is
You can use the |
|
|
One of the following strings:
For information about how to create hypertext, see |
|
|
String representing the window application type or name. This string is also used as the window’s bindkey prefix. |
|
|
Help string for the window, which is used to reference a
The help string for a window can also be set at any time using the Cadence applications may modify their window help strings at any time.
When a user clicks Help in a window, the help string is used for the help symbol that is looked for in the
The help string can also be used to modify the
For example,
set the For more information about the online help mechanism, see Online Help Mechanism
For windows that cannot become the current window (because the
For windows help to work correctly, either the t_help or t_appType argument or both must be set when you create the window. |
|
|
Either |
|
|
SKILL representation of a form returned by |
|
|
Icon location (in X Window System screen coordinates) of the window. This causes the window to be iconified initially. If l_iconPosition is
The g_boxSpec argument can also contain the icon position. If both methods are used, this icon position overrides the position passed in g_boxSpec unless l_iconPosition is |
Value Returned
|
The window ID of the created window, in the following format: |
|
Examples
hiCreateWindow( ’default "graphics" "MyApp" )
=> window:4
Related Topics
Return to top