Name
tix
- tix
operation
[arg arg
...] Access aspects of Tix’s internal state and the Tix application context.
Application- Context Options
Several of Tix’s internal settings are manipulated using the cget and configure operations, which operate in the same manner as the identically named widget methods. The settings that can be set this way are as follows:
- -debug
boolean
Whether Tix widget should run in debug mode.
- -fontset
fontSet
The font set to use as defaults for Tix widgets. Valid values are
TK
(standard Tk fonts),12Point
, and14Point
(the default).- -scheme
scheme
Color scheme to use for the Tix widgets. Valid values are
TK
(standard Tk colors),Gray
,Blue
,Bisque
,SGIGray
, andTixGray
(the default).- -schemepriority
priority
Priority level of the options set by the Tix schemes. See the Tk
Option
command for a discussion of priority levels. The default is 79.
Operations
- tix addbitmapdir
directory
Add
directory
to the list of directories searched by the getimage and getbitmap operations for bitmap and image files.- tix filedialog
[
class
] Returns the pathname of a file selection mega-widget that can be shared among different modules of the application. The mega-widget will be created when this operation is first called. The
class
argument may be used to specify the mega-widget class of the file selection dialog, eithertixFileSelectDialog
(the default) ortixExFileSelectDialog
.- tix getbitmap
name
Search the bitmap directories for a file with the name
name
.xbm orname
. If found, return the full pathname ...
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.