Searched refs:button (Results 1 - 12 of 12) sorted by relevance
/ast/src/lib/libtk/library/demos/ |
H A D | hello | 6 # Simple Tk script to create a button that prints "Hello, world". 7 # Click on the button to terminate the program. 11 # The first line below creates the button, and the second line 13 # around the button. 15 button .hello -text "Hello, world" -command {
|
H A D | timer | 11 button .start -text Start -command { 17 button .stop -text Stop -command {set stopped 1}
|
H A D | rolodex | 36 button .buttons.clear -text Clear 37 button .buttons.add -text Add 38 button .buttons.search -text Search 39 button .buttons.delete -text "Delete ..."
|
H A D | ixset | 185 button .buttons.ok -command "ok" -text "Ok" 186 button .buttons.apply -command "writesettings" -text "Apply" 187 button .buttons.cancel -command "cancel" -text "Cancel" 188 button .buttons.quit -command "quit" -text "Quit"
|
H A D | widget | 115 This application provides a front end for several short scripts that demonstrate what you can do with Tk widgets. Each of the numbered lines below describes a demonstration; you can click on it to invoke the demonstration. Once the demonstration window appears, you can click the "See Code" button to see the Tcl/Tk code that created the demonstration. If you wish, you can edit the code and click the "Rerun Demo" button in the code window to reinvoke the demonstration with the modified code. 122 .t insert end "2. Buttons." {demo demo-button} 261 button $w.ok -text OK -command "destroy $w" 329 button .code.buttons.dismiss -text Dismiss -command "destroy .code" 330 button .code.buttons.rerun -text "Rerun Demo" -command {
|
H A D | tcolor | 67 # with the update button. 74 button .update -text Update -command doUpdate 347 # The procedure below is invoked when the "Update" button is pressed,
|
/ast/src/lib/libtk/ |
H A D | Makefile | 49 library/button.tcl \ 82 library/demos/button.tcl \ 154 library/button.tcl \ 195 library/demos/button.tcl \ 276 doc/button.n \
|
/ast/src/lib/libtk/generic/ |
H A D | tkBind.c | 45 int button; /* Button that was pressed (xbutton.button). */ member in union:__anon380 65 * below 30. To see this, consider a triple mouse button click while 67 * as 3 auto-repeat events after each mouse button press or release 69 * this), for a total of 20 events to cover the three button presses 81 * button, Tk_Uid, or 0) for each 101 * as button clicks or key presses to virtual events such as <<Paste>>, 145 * button, Tk_Uid, or 0 if nothing 166 * keystrokes). For button events, 167 * specifies a particular button ( [all...] |
H A D | tkGrab.c | 18 * The grab state machine has four states: ungrabbed, button pressed, 19 * grabbed, and button pressed while grabbed. In addition, there are 31 * normally set during an automatic button grab. 35 * during a global grab or an automatic button grab. 61 * some window, b/g means the variable is set to a window if a button 102 * server because a button is down and we want 103 * to make sure that we get the button-up 105 * last mouse button goes up. 384 * it into a global grab temporarily, until the last button 386 * see the button [all...] |
H A D | tkTest.c | 457 } else if (strcmp(field, "-button") == 0) { 461 event.xbutton.button = number;
|
H A D | tkTextTag.c | 228 "only key, button, motion, and enter/leave ", 1125 * of whether a button is pressed and refusing to pick a new current 1126 * character while a button is pressed. 1134 switch (eventPtr->xbutton.button) { 1237 * If a button is down, then don't do anything at all; we'll be
|
H A D | tkCanvas.c | 541 "only key, button, motion, and enter/leave ", 2812 switch (eventPtr->xbutton.button) { 2834 * For button press events, repick the current item using the 2835 * button state before the event, then process the event. For 2836 * button release events, first process the event, then repick 2837 * the current item using the button state *after* the event 2838 * (the button has logically gone up before we change the 2844 * On a button press, first repick the current item using 2845 * the button state before the event, the process the event. 2854 * Button release: first process the event, with the button [all...] |
Completed in 32 milliseconds