Gnocl Commands

Tcl Tcl meets GTK+ and Gnome Gnome

What is it?
Contact
News and Download
Example
Commands
Screenshots and Reference Projects

Gnocl Home

Gnocl Commands

The following gnocl commands are currently implemented, tested and in docbook format documented.

Non Widget Related Commands

  • callback -- Manipulate callback functions.
  • configure -- Change global gnocl settings.
  • clipboard -- Manipulate the clipboard.
  • info -- Retrieve different information.
  • mainLoop -- Enter GTK+ event loop.
  • update -- Process GTK+ events.
  • Top Level Windows

    Every widget must be a direct or indirect child of a top level window to be displayed.
    • dialog -- A top level window for messages.
    • window -- A standard top level window.

    Container

    Container are widgets which arrange their children in a certain manner.
    • box -- A widget which arranges its children horizontal or vertical.
    • notebook -- A widget which allows to interactively select which of its children is visible.
    • paned -- A widget with allows to interactively resize two children.
    • table -- A widget which arranges its children in rows and columns.
    • scrolledWindow -- A window which adds scrollbars to its child.
    • separator -- A widget which groups widgets horizontal or vertical.

    Buttons

    Widgets that enable the user to initiate an action or to make a choice.
    • button -- A widget that executes a command when clicked.
    • checkButton -- A widget that changes between two states when clicked.
    • radioButton -- A widget from which only one of a group can be selected.
    • optionMenu -- A widget with which one of several alternatives can be chosen.

    Entries

    Widgets for getting user input.
    • combo -- A widget that allows the user to input a small amount of text.
    • entry -- A widget that allows the user to input a small amount of text.
    • scale -- A slider widget for selecting a value from a range.
    • spinButton -- A widget that allows the user to input a number.
    • text -- A widget for multiline formatted text editing.

    Display widgets

    Widgets that display text or give the user feedback.
    • label -- A widget which shows a small amount of text.
    • image -- A widget which shows an image.
    • progressBar -- A widget which gives the user feedback of background work.
    • statusBar -- A widget which reports messages of minor importance to the user.

    Menu widgets

    Commands for creating menus.
    • menuBar -- A menu container widget.
    • menu -- A menu container widget.
    • menuItem -- A menu item that executes a command when clicked.
    • menuCheckItem -- A menu item that changes between two states when clicked.
    • menuRadioItem -- A menu item from which only one of a group can be selected.
    • menuSeparator -- A menu item that visually separates different menu items.

    Toolbar widgets

    Commands for creating toolbars.
    • toolBar -- A toolbar container widget.
    • toolBar item -- A toolbar item that executes a command when clicked.
    • toolBar checkItem -- A toolbar item that changes between two states when clicked.
    • toolBar radioItem -- A toolbar item from which only one of a group can be selected.

    Special Selectors

    Special toplevel dialogs to get user input in a standardized way.
    • fileSelection -- A standard dialog to choose a file.
    • colorSelection -- A standard dialog to choose a color.
    • fontSelection -- A standard dialog to choose a font.

    Tree and List Widget

    • tree -- A widget that displays text or other items arranged in a tree.
    • list -- A widget that displays text or other items arranged in rows and columns.

    Misc. Widget

    • eventBox -- A widget which catches events for its child widget.
    • plug -- Toplevel to embed into another process.
    • socket -- Container for embedding windows of other processes (for example Tk!).

    Gnome canvas widget

    The canvas widget displays graphic objects like lines, circles or text. It is available as separate library gnoclCanvas.
    • canvas -- A widget which displays graphic objects.
    • canvas bPath -- A canvas item which consists of line and bezier segments.
    • canvas clipGroup -- A canvas item which implements clipping.
    • canvas ellipse -- A canvas ellipse item.
    • canvas image -- A canvas item which displays an image.
    • canvas line -- A canvas line item.
    • canvas polygon -- A canvas polygon item.
    • canvas rectangle -- A canvas rectangle item.
    • canvas richText -- A canvas rich text item.
    • canvas text -- A canvas text item.
    • canvas widget -- A canvas item which displays a standard GTK widget.

    Gnome GConf

    The gconf command allows to store configuration information in a Gnome complient way. It is available as separate library gnoclGconf.
    • gconf -- Manipulate the Gnome GConf database.

    Gnome

    The separate library gnoclGnome includes different Gnome specific widgets and commands.
    • appletFactory -- A command which creates a Gnome panel applet.

    Main Gnocl Index
    Home