This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gui_api [2020/05/14 13:22] – modera | gui_api [2024/06/23 13:09] (current) – [Layout] husbandomax | ||
|---|---|---|---|
| Line 324: | Line 324: | ||
| *Returns: // | *Returns: // | ||
| + | ***'' | ||
| + | *Description: | ||
| + | ***'' | ||
| + | *Description: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameter: | ||
| + | *column_index: | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //number// — The current column index. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //number// — The current row index. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //number// — The //number// of columns in the table. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //number// — The flags of the specified column. | ||
| + | *Parameter: | ||
| + | *column_index: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameter: | ||
| + | *color: //number// — The color value. | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameters: | ||
| + | *column_index: | ||
| + | *width: //number// — The width to set. | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameters: | ||
| + | *column_index: | ||
| + | *ascending: //boolean// — true for ascending, false for descending. | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameters: | ||
| + | *label: //string// — The label of the column. | ||
| + | *flags: //number// — The flags for the column. | ||
| + | *init_width_or_weight: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameter: | ||
| + | *label: //string// — The label of the header. | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameters: | ||
| + | *cols: //number// — The number of columns to freeze. | ||
| + | *rows: //number// — The number of rows to freeze. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //string// — The name of the specified column. | ||
| + | *Parameter: | ||
| + | *column_index: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameters: | ||
| + | *column_index: | ||
| + | *enabled: //boolean// — true to enable, false to disable. | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameter: | ||
| + | *label: //string// — The label of the tab item. | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameter: | ||
| + | *label: //string// — The label of the button. | ||
| + | |||
| + | ***'' | ||
| + | *Description: | ||
| + | *Parameter: | ||
| + | *label: //string// — The label of the tab item to close. | ||
| ===Cursor=== | ===Cursor=== | ||
| ***'' | ***'' | ||
| Line 610: | Line 712: | ||
| ===Widgets Tooltip=== | ===Widgets Tooltip=== | ||
| ***'' | ***'' | ||
| - | *set tooltip under mouse-cursor, | + | *set tooltip under mouse-cursor, | 
| ***'' | ***'' | ||
| *use to create full-featured tooltip windows that aren't just text | *use to create full-featured tooltip windows that aren't just text | ||
| Line 809: | Line 911: | ||
| ***'' | ***'' | ||
| *Banana ;) | *Banana ;) | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //number// scrollV, //number// scrollH | ||
| ***'' | ***'' | ||
| Line 816: | Line 921: | ||
| *set text data to the clipboard | *set text data to the clipboard | ||
| + | ***'' | ||
| + | *Returns: //boolean// — true if the item was edited. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //boolean// — true if the item was activated. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //boolean// — true if the item was deactivated. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //boolean// — true if the item was deactivated after an edit. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //boolean// — true if the item was toggled open. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //number// — The ID of the item. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //number// — The number of times the specified mouse button was clicked. | ||
| + | *Parameter: | ||
| + | *button: //number// — The mouse button. | ||
| + | |||
| + | ***'' | ||
| + | *Returns: //boolean// — true if the mouse position is valid. | ||
| + | ***'' | ||
| + | *Returns: //boolean// — true if any mouse button is down. | ||
| ===Custom Widgets=== | ===Custom Widgets=== | ||