tix - Manipulate Tix internal state


SYNOPSIS

tix option ?arg arg ...?

CONFIGURATION OPTIONS

The Tix application context supports the following configuration options. Usually, these options are set using the X resource database, different color scheme for the Tix widgets, these two lines can be


  	*TixScheme:         Gray
	*TixFontSet:        14Point


Name:		binding
Class:		Binding
Switch:		-binding


Name:		debug
Class:		Debug
Switch:		-debug


Name:		tixFontSet
Class:		TixFontSet
Switch:		-fontset


Name:		tixScheme
Class:		TixScheme
Switch:		-scheme


Name:		tixSchemePriority
Class:		TixSchemePriority
Switch:		-schemepriority

*TixSchemePriority: 21

DESCRIPTION

The tix command provides access to miscellaneous elements of the information manipulated by this command pertains to the application as a whole, or to a screen or display, rather than to a particular window. The command can take any of a number of different forms depending on the option argument. The legal forms are:

pathName cget option
Returns the current value of the configuration option given by option. Option may be any of the options described in the CONFIGURATION OPTIONS section.
tix configure ?option? ?value option value ...?
Query or modify the configuration options of the Tix application context. If no option is specified, returns a list describing all of the available options (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given option(s) to have the given value(s); in this case the command returns an empty string. Option may be any of the options described in the CONFIGURATION OPTIONS section.
tix filedialog ?class?
Returns the file selection dialog that may be shared among different modules of this application. This command will create a file selection dialog widget when it is called the first time. This dialog will be returned by all subsequent calls to tix filedialog. An optional class parameter can be passed to specified what type of file selection dialog widget is desired. Possible options are tixFileSelectDialog or tixExFileSelectDialog.
tix option ?args ...?
Manipulates the options manitained by the Tix scheme mechanism. Available options are:

active_bg	active_fg	bg
bold_font	dark1_bg	dark1_fg
dark2_bg	dark2_fg	disabled_fg
fg	fixed_font	font	
inactive_bg	inactive_fg	input1_bg	
input2_bg	italic_font	light1_bg
light1_fg	light2_bg	light2_fg
menu_font	output1_bg	output2_bg
select_bg	select_fg	selector
The arguments to the tix option command can take the following form(s):
tix resetoptions newScheme newFontSet ?newScmPrio?
Resets the scheme and fontset of the Tix application to newScheme and newFontSet, respectively. This affects only those widgets created after this call. Therefore, it is best to call the resetoptions command before the creation of any widgets in a Tix application. The optional parameter newScmPrio can be given to reset the priority level of the TK options set by the Tix schemes.

BUGS

Because of the way TK handles the X option database, after tixwish has started up, it is not possible to reset the color schemes and font sets using the tix config command. Instead, the tix resetoptions command must be used.

The tk_setPalette command does not work very well under Tix. To use it, one must follow these steps:

KEYWORDS

file selection dialog
Last modified Feb 24 00:13