Project

General

Profile

Buttons » History » Version 3

iri, 02/22/2011 12:33 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 3 iri
13 2 iri
> * With a link (uri) (flag = SCOL_GTK_BUTTON_LINK) 
14
!http://library.gnome.org/devel/gtk/unstable/link-button.png!
15
> * A check box (with a short label) (flag = SCOL_GTK_BUTTON_CHECK) 
16
!http://library.gnome.org/devel/gtk/unstable/check-button.png!
17
> * With a toggle state (flag = SCOL_GTK_BUTTON_TOGGLE) 
18
!http://library.gnome.org/devel/gtk/unstable/toggle-button.png!
19
> * With a switch (flag = SCOL_GTK_BUTTON_SWITCH) 
20
!http://library.gnome.org/devel/gtk/unstable/switch.png!
21 1 iri
> * An empty button (flag = SCOL_GTK_BUTTON_EMPTY) : can add a valid widget, like an image widget, etc ...
22 3 iri
23
> h3. Prototype :
24
>> fun [Chn S I u0] ObjGtkWidget