Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.718 xmcolumns

xmcolumns(parent, width, height [, ncolumns, pack_flag])

[motif package] Returns the widget ID of a column widget with the indicated width and height, and number ncolumns of columns. If pack_flag is equal to zero, then each next child widget is placed in the next column in which it is completely visible. If pack_flag is equal to 1, then each next child widget is placed in the next column, regardless of visibility. Also, with pack_flag equal to 1, menu bars are displayed square (if no explicit dimensions were specified for them).

Unless child widgets have specified sizes, they will all be scaled to the same width, which is the largest width among the children.