Project

General

Profile

Buttons » History » Revision 4

Revision 3 (iri, 02/22/2011 12:33 AM) → Revision 4/6 (iri, 02/22/2011 12:33 AM)

h1. Buttons 

 [[Create]] * _gtkButtonNew : 
 > Create a button. 
 > Differents styles are available : 

 > * Classic (flag = SCOL_GTK_BUTTON_LABEL)  
 !http://library.gnome.org/devel/gtk/unstable/button.png! 
 > * With Mnemonic (like a keybord shortcut) (flag = SCOL_GTK_BUTTON_MNEMONIC)  
 !http://library.gnome.org/devel/gtk/unstable/button.png! 
 > * With a stock item (standard icon like "open", "exit", "copy", ...) (flag = SCOL_GTK_BUTTON_STOCKITEM) 

 > * With a link (uri) (flag = SCOL_GTK_BUTTON_LINK)  
 !http://library.gnome.org/devel/gtk/unstable/link-button.png! 
 > * A check box (with a short label) (flag = SCOL_GTK_BUTTON_CHECK)  
 !http://library.gnome.org/devel/gtk/unstable/check-button.png! 
 > * With a toggle state (flag = SCOL_GTK_BUTTON_TOGGLE)  
 !http://library.gnome.org/devel/gtk/unstable/toggle-button.png! 
 > * With a switch (flag = SCOL_GTK_BUTTON_SWITCH)  
 !http://library.gnome.org/devel/gtk/unstable/switch.png! 
 > * An empty button (flag = SCOL_GTK_BUTTON_EMPTY) : can add a valid widget, like an image widget, etc ... 

 > h3. Prototype : 
 >> fun [Chn S I u0] ObjGtkWidget