A button widget.
- 07-Jun-05 kims Added 'close', 'setclosecommand' and 'getclosecommand' to provide fading and prevent crashes when a custom nguibutton tries to close parent window.
- Command Input:
s(EscapeCommand)
- Command Output:
v
- Command Description:
- Set script command to be executed when escape key is pressed.
- Command Input:
v
- Command Output:
s(EscapeCommand)
- Command Description:
- Get script command to be executed when escape key is pressed.
- Command Input:
b(ModalFlag)
- Command Output:
v
- Command Description:
- Set the modal flag.
- Command Input:
v
- Command Output:
b(ModalFlag)
- Command Description:
- Get the modal flag of the window.
- Command Input:
b
- Command Output:
v
- Command Description:
- Set the dismissed flag. Dismissed windows will be removed by the gui server after windows have been triggered.
FIXME: For now, this works only for toplevel windows.
- Command Input:
v
- Command Output:
v
- Command Description:
- Get the widget's dismissed flag.
- Command Input:
f
- Command Output:
v
- Command Description:
- Set the number of seconds the menu takes to fade in from transparency.
- Command Input:
f
- Command Output:
v
- Command Description:
- Set the number of seconds the menu takes to fade out from transparency.
- Command Input:
v
- Command Output:
v
- Command Description:
- Send close request to the window +
- Command Input:
s(CloseCommand)
- Command Output:
v
- Command Description:
- Set script command to be executed when window is closed. +
- Command Input:
v
- Command Output:
s(CloseCommand)
- Command Description:
- Get script command to be executed when window is closed. +