Searched refs:demo (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libtk/library/demos/
H A Dwidget56 # section titles and demo descriptions. Also define the bindings for
61 # We put some "space" characters to the left and right of each demo description
69 .t tag configure demo -lmargin1 1c -lmargin2 1c \
75 .t tag configure demo -lmargin1 1c -lmargin2 1c \
81 .t tag bind demo <ButtonRelease-1> {
85 .t tag bind demo <Enter> {
91 .t tag bind demo <Leave> {
96 .t tag bind demo <Motion> {
103 set i [lsearch -glob $tags demo-*]
120 .t insert end "1. Labels (text and bitmaps)." {demo dem
[all...]
H A Dbind.tcl40 The same tag mechanism that controls display styles in text widgets can also be used to associate Tcl commands with regions of text, so that mouse or keyboard actions on the text cause particular Tcl commands to be invoked. For example, in the text below the descriptions of the canvas demonstrations have been tagged. When you move the mouse over a demo description the description lights up, and when you press button 1 over a description then that particular demonstration is invoked.
H A Drolodex179 set helpTopics(context) {Unfortunately, this application doesn't support context-sensitive help in the usual way, because when this demo was written Tk didn't have a grab mechanism and this is needed for context-sensitive help. Instead, you can achieve much the same effect by simply moving the mouse over the window you're curious about and pressing the Help or F1 keys. You can do this anytime.}
/ast/src/lib/libtk/library/
H A Dclrpick.tcl277 set data(finalCanvas) [frame $f1.demo -bd 0 -width 100 -height 70]

Completed in 880 milliseconds