Contents Up Previous Next

Panel item

A panel item is a control (or widget) that can be placed on a panel to accept user input, and display information.

The following functions apply to panel items, which include button, checkbox, choice, message, text, multi-line text, slider.

panel-item-get-command-event
panel-item-get-label
panel-item-set-default
panel-item-set-label


panel-item-get-command-event

long ( panel-item-get-command-event)

Returns the identifier of the command event for the current panel item or menu callback, or zero if not called within a callback.


panel-item-get-label

string ( panel-item-get-label long panel-id)

Get the item's label.


panel-item-set-default

long ( panel-item-set-default long panel-id)

Make this item the default.


panel-item-set-label

long ( panel-item-set-label long panel-id string label)

Set the item's label.