::tycho::TWidget
-
Source File -
Contents:
itk_options
- public methods
- protected methods
- protected variable
NOTE: There is a certain amount of duplication here with the Query object, but enough differences that it is hard to see how to merge the two. The objectives are somewhat different. As facilities get added to each, we should try to at least keep the same interface.
-statusbar
-font
[::tycho::font
-padx
11
-pady
4
-entryforeground
black
-entrybackground
white
-entryfont
8x13
button
tag description args
button
command.
For example,
button foo "a button" -text "Push Me" -command "::tycho::post Thanks"will create a button with label "Push Me" and the specified command. To use a bitmap instead, something like the following will work:
global ::TYCHO button foo "a button" -bitmap @$TYCHO/kernel/img/back.xbm -command ...Note that buttons appear in the order they are added, from left to right. Someday we should add a way to put more buttons on a second row.
Note that this method shadows the Tk button
command, so
you must use ::button
if you want the Tk version.
clear
{tag {}}
disable
tag
enable
tag
entry
tag label default command args
get
{tag {}}
array set
,
making it easy to use the results of the query. If a tag is given as an
argument, return the value of the corresponding entry only. If the tag
is not recognized, return an empty string. For buttons, the label
of the button is returned.
insert
tag str
preference
mode args
putStatus
string
numentries
0