-disablecallback"
option do?
setslient" method?
tclIndex file for Tix?
tixInit command?
-disablecallback"
option do?
-value option and a
-command option. Any modification of the
-value will cause the -command callback
to be executed. Sometimes this is undesirable. For example,
calling "config -value" inside the callback procedure
will cause the callback to be re-entered and thus an infinite
recursion.
The -disablecallback can be used to advoid this
problem. When this option is set, the -command
callback will not be executed even if the -value of a widget is
changed. Therefore, if you need to modify the -value of a widget
inside its callback, do this:
proc my_callback {w} {
$w config -disablecallback true
$w config value blah
$w config -disablecallback false
}
If you find this too troublesome, you can call the command tixSetSilent:
proc my_callback {w} {
tixSetSilent $w blah
}
option add *TixControl*entry.width 10OR
tixControl .c -options {
entry.width 10
}
setslient" method?
-disablecallback option.
selsilent used to be a widget command for the
ComboBox, Control, etc. It has been removed since Tix 4.0a4 and
replaced by the tixSetSilent command. Please note
that tixSetSilent is not a widget command but an
external procedure.
tclIndex file for Tix?
tclIndex files cannot be generated using the
standard auto_mkindex procedure. You must use the tixindex program
in the tools/ subdirectory in the Tix
distribution. The syntax is
tixindex *.tcl
tixForm geometry manager (please read the file LEGAL.html ). That means, for example, your
product can include the TixComboBox and other
widgets. However, TixForm, including the TCL command,
the C library code or the documentation, cannot be
included into your product at all. You are also explicitly
prohibited form examining, imitating, copying,
reverse-enrgineering or otherwise using the file
tixForm.c.
tixInit command?
*TixScheme: Gray *TixFontSet: 14PointIf you want to switch color schemes and fontsets during run time, you can issue the following commands:
tix config -scheme Gray -fontset 14Point
Please read the tix manual page for
more details
*TixScheme: TK *TixFontSet: TK
With Tix4.0a7 (and also with Tix4.0a6) on Solaris 2.4, when running the widget demo, in tixFileSelectBox, in the two scolling lists (for Files an Directories), some of the file and directory names have their first 2 letters chopped off. And some files are repeated.Solution: tixwish has some conflicts with /usr/ucblib/libucb.so.1 and you should not linke it tixwish (you don't need it). Here is a solution provided by Charles L Ditzel (charles@hanami.cyberspace.com):
To fix the problem I was having, all I did was:unsetenv LD_LIBRARY_PATH set my PATH to something basic like: /usr/bin:/usr/ccs/bin:/bin:/usr/openwin/bin:/opt/SUNWspro/bin removed config.cache ./configure make clean makeand now it works!! Must have been something in my oldPATHorLD_LIBRARY_PATHthat was causing it to pick up/usr/ucblib/libucb.so.