| 1 |
/* File : Fl_Check_Button.i */ |
| 2 |
//%module Fl_Check_Button |
| 3 |
|
| 4 |
%feature("docstring") ::Fl_Check_Button |
| 5 |
""" |
| 6 |
Buttons generate callbacks when they are clicked by the user. You control |
| 7 |
exactly when and how by changing the values for type() and when(). |
| 8 |
|
| 9 |
The Fl_Check_Button subclass display the 'on' state by turning on a light, |
| 10 |
rather than drawing pushed in. The shape of the 'light' is initially set to |
| 11 |
FL_DIAMOND_DOWN_BOX. The color of the light when on is controlled with |
| 12 |
selection_color(), which defaults to FL_RED. |
| 13 |
""" ; |
| 14 |
|
| 15 |
%{ |
| 16 |
#include "FL/Fl_Check_Button.H" |
| 17 |
%} |
| 18 |
|
| 19 |
%include "macros.i" |
| 20 |
|
| 21 |
CHANGE_OWNERSHIP(Fl_Check_Button) |
| 22 |
|
| 23 |
%include "FL/Fl_Check_Button.H" |