hiCreateDockWindow
hiCreateDockWindow(?appTypet_appType?widgetTypet_widgetType[?handles_handle] [?dockSizeHintl_dockSizeHint] [?minimumSizeHintl_minimumSizeHint] [?floatSizeHintl_floatSizeHint] [?formg_form] [?helpt_help] [?scrollBarg_scrollBar] [?titlet_title] [?visibilityProcs_visibilityProc] ) =>w_dwindowID/nil
Description
Creates a dockable window, which can be docked in a session window with the hiDockWindow function. Dockable windows can be of the following types: form, hypertext, html, or text. Dockable windows cannot be of type graphics.
A dockable window can be associated with only one session window.
You can create dockable form windows by specifying the form handle as the ?form argument and the string "form" as the ?widgetType argument.
You can add menus to dockable windows with the functions listed in Menu Functions
This function returns a dwindowID. The SKILL output format is:
If you specify the ?handle argument, the dockable window is logged, in log files, as:
A dockable window can never become the current window.
Arguments
|
String specifying the dockable window application type or name. This string is also used as the window’s bindkey prefix. |
|
|
String specifying the type of window widget to be created. One of the following:
For information about how to create hypertext, see |
|
|
Symbol specifying a handle for the dockable window. You can reference it with dwindowID |
|
|
List specifying the initial size of the window when it is docked:
The default dock size is This value is used the first time that the window is docked. Subsequently, the size that was last set is used. Here the size refers to the size of the dock window only and does not include the window frame. |
|
|
List specifying the minimum size of the window:
The default minimum size is This specifies the minimum required size of the dock window under normal circumstances. |
|
|
List specifying the initial size of the window when it is floating: If this argument is not specified, the Qt default is used. This value is used the first time that the window is floated. Subsequently, the last size and location are used. Here the size refers to the size of the dock window only and does not include the window frame. |
|
|
SKILL representation of a form returned by When the dock window containing the form is closed, the form is not destroyed; it can be redisplayed in another window. |
|
|
Help string for the dock 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 help to work correctly, either the t_help or t_appType argument or both must be set when you create the dock window. |
|
|
|
|
|
String specifying the window title that is displayed in the window frame and in the context popup menu. |
|
|
This argument can be used to monitor the visibility of a docked window. Set the argument, at creation, with a function name in either symbol or string format. The function then be called whenever there is a visibility change in the docked window and pass two arguments, the |
|
The docked window should not be closed from within the visibility procedure (that is, do not call hiCloseWindow).
Values Returned
Examples
hiCreateDockWindow( ?appType "text" ?widgetType "text" ?handle ’dw ?title "My Window" )
Additional Information
Dockable windows are windows that occupy dock areas within a session window. They typically provide helper functionality for the application. These windows can be docked in a session window or left free. A dockable window can be associated with only one session window.
They are created with hiCreateDockWindow and can be of the following types: browser, text, html, hypertext, or form. You can create dockable form windows by calling hiCreateDockWindow and specifying a ?widgetType of form.
Related Topics
Return to top