Lightningbeam/PyGUI-2.5.3/Doc/std_buttons.html

11 lines
1.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>module StdButtons</title></head><body><h1>module <span style="font-family: monospace;">StdButtons</span></h1>This module defines some standard <a href="Button.html">Button</a> subclasses.<br><h2>Constructors</h2><dl style="margin-left: 40px;"><dt style="font-family: monospace;"><a name="DefaultButton"></a>DefaultButton(title = "OK",
style = 'default', action = 'default_action')</dt><dt style="font-family: monospace;"><a name="CancelButton"></a>CancelButton(title = "Cancel",
style = 'cancel', action = 'cancel_action')</dt><dd><br>
These create buttons with the appropriate appearance and behaviour for
use as OK or Cancel buttons in a dialog box. By default, when used in a
modal dialog, the DefaultButton will dismiss the dialog with the value
True, and the CancelButton will dismiss it with the value False. These
actions can also be invoked with the Return/Enter and Escape keys. See <a href="file:///Local/Projects/D/PyGUI/Source/Doc/Dialog.html">Dialog</a> and <a href="file:///Local/Projects/D/PyGUI/Source/Doc/ModalDialog.html">ModalDialog</a> for more
information.</dd></dl>
<h2></h2></body></html>