1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
..
NOTE: This RST file was generated by `make examples`.
Do not edit it directly.
See docs/source/examples/example_doc_generator.py
Buttons Example
===============================================================================
An example of the various button widgets in Enaml.
This example shows the usage of the ``PushButton``, ``CheckBox``, and
``RadioButton`` widgets.
The intent of this example is to demonstrate the use of the button
widgets. See the other examples for explanations of layout and other
language features.
.. TIP:: To see this example in action, download it from
:download:`buttons <../../../examples/widgets/buttons.enaml>`
and run::
$ enaml-run buttons.enaml
Screenshot
-------------------------------------------------------------------------------
.. image:: images/ex_buttons.png
Example Enaml Code
-------------------------------------------------------------------------------
.. literalinclude:: ../../../examples/widgets/buttons.enaml
:language: enaml
|