Buttons » History » Version 2
iri, 02/22/2011 12:31 AM
1 | 1 | iri | h1. Buttons |
---|---|---|---|
2 | |||
3 | * _gtkButtonNew : |
||
4 | > Create a button. |
||
5 | > Differents styles are available : |
||
6 | |||
7 | 2 | iri | > * Classic (flag = SCOL_GTK_BUTTON_LABEL) |
8 | !http://library.gnome.org/devel/gtk/unstable/button.png! |
||
9 | > * With Mnemonic (like a keybord shortcut) (flag = SCOL_GTK_BUTTON_MNEMONIC) |
||
10 | !http://library.gnome.org/devel/gtk/unstable/button.png! |
||
11 | 1 | iri | > * With a stock item (standard icon like "open", "exit", "copy", ...) (flag = SCOL_GTK_BUTTON_STOCKITEM) |
12 | 2 | iri | > * With a link (uri) (flag = SCOL_GTK_BUTTON_LINK) |
13 | !http://library.gnome.org/devel/gtk/unstable/link-button.png! |
||
14 | > * A check box (with a short label) (flag = SCOL_GTK_BUTTON_CHECK) |
||
15 | !http://library.gnome.org/devel/gtk/unstable/check-button.png! |
||
16 | > * With a toggle state (flag = SCOL_GTK_BUTTON_TOGGLE) |
||
17 | !http://library.gnome.org/devel/gtk/unstable/toggle-button.png! |
||
18 | > * With a switch (flag = SCOL_GTK_BUTTON_SWITCH) |
||
19 | !http://library.gnome.org/devel/gtk/unstable/switch.png! |
||
20 | 1 | iri | > * An empty button (flag = SCOL_GTK_BUTTON_EMPTY) : can add a valid widget, like an image widget, etc ... |