Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Name

qbuttongroup — group buttons together

...

Note

The qbuttongroup itself is not a visible widget. It is only the buttons assigned to the group that is visible to the user. To achieve this use qtrace

See qtrace qaddbutton for a further description on how variable tracing workshow to assign buttons to a qbuttongroup.

Arguments

parent

The parent widget.

cmds

One or more commands to be performed when one of the assigned buttons is pushed. The commands must be a string or a list, adhering to Tcl's syntax. A string may be either a single word or several words grouped as one string using quotes; a list is delimited by the '{' and '}' characters. Since the same command is used for all buttons, it is good practice to use a call to a proc - a callback function.

...