Generic Window Arguments
Unless otherwise specified the associated argument value is an integer.
W_FRAME_BELOW
Places a window below named target window(s). The argument is a list of windows, separated with spaces. Can only be set.
W_FRAME_RIGHT_OF
Places a window to the right of named target window(s). The argument is a list of windows, separated with spaces. Can only be set.
W_FRAME_X
Sets or gets the X coordinate (pixels) of the upper left corner of a window in a frame.
W_FRAME_Y
Sets or gets the Y coordinate (pixels) of the upper left corner of a window in a frame.
W_FRAME_COL
Sets or gets the X coordinate (columns) of the upper left corner of a window in a frame. The width of a column is determined by the font size and margins.
W_FRAME_ROW
Sets or gets the Y coordinate (rows) of the upper left corner of a window in a frame. The height of a row is determined by the font size.
W_FRAME_WIDTH
Sets or gets the width of a window in pixels.
W_FRAME_HEIGHT
Sets or gets the height of a window in pixels.
W_FRAME_COLS
Sets or gets the width of a window in character positions.
W_FRAME_ROWS
Sets or gets the height of a window in character positions.
W_FRAME_SCROLLBAR
Places a scrollbar for a window. The following values are to be used to request the desired direction and placement :W_SCROLLBAR_LEFTEDGE, W_SCROLLBAR_RIGHTEDGE, W_SCROLLBAR_BOTTOMEDGE or W_SCROLLBAR_TOPEDGE.
W_FRAME_FONT
Sets the font used in a window. The argument value is a font ordinal number referring to fonts defined in file $WM_FONT_FILES. Value 0 is the default font. Normally there is no need to set the font for a window.
W_FRAME_TITLE
Sets the title string for a top level window.
W_FRAME_ICON
Sets the icon for a child window (see W_FRAME_STYLE).
W_FRAME_STYLE
Sets the style of a top level window. The style can be one of the following:
W_FRSTYLE_CHILD The frame is a child of the main window, and is displayed in the client area.
W_FRSTYLE_EMBEDDED The frame is embedded into the main window, which means that it fills the whole client area.
W_FRSTYLE_NO_CAPTION The frame has no caption (title bar). This style is primarily meant for startup windows.
W_FRAME_RESIZABLE
Makes a subframe resizable. A combination of the following values can be used:
W_RESIZE_VERTICALLY Allow vertical resize.
W_RESIZE_HORIZONTALLY Allow horizontal resize.
Note that you cannot have two resizable subframes in a row; when the top level frame is resized, only one subframe can change its size.
W_FRAME_KBDFOCUS
Sets the keyboard focus to a subframe. You can use any value for this argument.
W_FRAME_TIP
Sets the ToolTip text for a subframe.