Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 9. Tix > Control

Control


tixControl pathName [option value...]

The tixControl command creates a new tixControl mega-widget named pathName. The tixControl class is derived from the tixPrimitive class. The tixControl widget, also known as a spinbox, is generally used to Control a denumerable value. The user can adjust the value by pressing the two arrow buttons or by entering the value directly into the entry.

The tixControl supports two selection modes with the -selectmode option. When the mode is immediate, the current value is changed immediately when the user enters a keystroke. When the mode is normal, the current value is not changed until the user presses the Return key. If the user presses the Escape key, the string displayed in the entry is changed back to the current value.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial