Callback » History » Revision 6
Revision 5 (iri, 02/22/2011 01:00 AM) → Revision 6/9 (iri, 02/22/2011 12:34 PM)
h1. Callback * _gtkButtonCB Define a Scol callback to any button. h3. Prototype : > fun [ObjGtkWidget u1 u0 I] ObjGtkWidget >> * Button : ObjGtkWidget : any button already created >> * Reflex : u1 : the prototype of your Scol callback (see flag below) >> * UserParameter : u0 : any parameter at your convenience >> * flag : I : a flag : >>> * SCOL_GTK_BUTTON_CB_CLICKED : the button has been clicked >>> The type of the callback should be fun [ObjGtkWidget u0] u1 >>> * SCOL_GTK_BUTTON_CB_TOGGLED : the state of the button has changed >>> The type of the callback should be fun [ObjGtkWidget u0 I] u1 >>> The supplemental parameter is the current state : 1 : active / checked, 0 : inactive / unchecked >>> * SCOL_GTK_BUTTON_CB_LINKED : the button with a link has been activated >>> The type of the callback should be fun [ObjGtkWidget u0 S] u1 >>> The supplemental parameter is the url. >>>>> *WARNING* : you should respect these prototypes to in yours functions ! >> * +*Return*+ : ObjGtkWidget : the same object Return [[Buttons]]