ntk button

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

Syntax:

ntk button windowPathName ?options?

Options:

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

MethodVariables:

Public commands:

  • buttonDraw

Inheritance:

  • theme