Project

General

Profile

Actions

Buttons » History » Revision 2

« Previous | Revision 2/6 (diff) | Next »
iri, 02/22/2011 12:31 AM


Buttons

  • _gtkButtonNew :

Create a button.
Differents styles are available :

  • Classic (flag = SCOL_GTK_BUTTON_LABEL)

  • With Mnemonic (like a keybord shortcut) (flag = SCOL_GTK_BUTTON_MNEMONIC)

  • With a stock item (standard icon like "open", "exit", "copy", ...) (flag = SCOL_GTK_BUTTON_STOCKITEM)
  • With a link (uri) (flag = SCOL_GTK_BUTTON_LINK)

  • A check box (with a short label) (flag = SCOL_GTK_BUTTON_CHECK)

  • With a toggle state (flag = SCOL_GTK_BUTTON_TOGGLE)

  • With a switch (flag = SCOL_GTK_BUTTON_SWITCH)

  • An empty button (flag = SCOL_GTK_BUTTON_EMPTY) : can add a valid widget, like an image widget, etc ...

Updated by iri almost 14 years ago · 2 revisions