Version 3 of ntk button

Updated 2007-12-02 15:58:04 by apw

ntk button command implemented as ::itcl::extendedclass ::ntk::classes::button

Syntax:

  • ntk button windowPathName ?options?

Options:

  • -command command callback script default {}
  • -image image to be used instead of text default {}
  • -state state of button either pressed or released default: released
  • -textwidth width of text default 0
  • -textheight height of text default: 0

MethodVariables:

Public commands:

  • buttonDraw

Inheritance:

  • theme