/ast/src/lib/libtk/library/demos/ |
H A D | style.tcl | 61 $w.text insert end {Text widgets like this one allow you to display information in a 64 $w.text insert end tags bold 65 $w.text insert end {. Tags are just textual names that you can apply to one 71 $w.text insert end "\n1. Font." big 72 $w.text insert end " You can choose any X font, " 73 $w.text insert end large verybig 74 $w.text insert end " or " 75 $w.text insert end "small.\n" 76 $w.text insert end "\n2. Color." big 77 $w.text insert en [all...] |
H A D | widget | 113 .t insert end "Tk Widget Demonstrations\n" title 114 .t insert end { 118 .t insert end "Labels, buttons, checkbuttons, and radiobuttons" title 119 .t insert end " \n " {demospace} 120 .t insert end "1. Labels (text and bitmaps)." {demo demo-label} 121 .t insert end " \n " {demospace} 122 .t insert end "2. Buttons." {demo demo-button} 123 .t insert end " \n " {demospace} 124 .t insert end "3. Checkbuttons (select any of a group)." {demo demo-check} 125 .t insert en [all...] |
H A D | rmt | 55 # earlier in the text and select and insert; just can't delete). 59 .t mark set insert {end - 1c} 60 .t insert insert \n 67 if [.t compare insert < promptEnd] { 75 if [.t compare insert <= promptEnd] { 81 if [.t compare insert < promptEnd] { 86 if [.t compare insert < promptEnd] { 87 .t mark set insert promptEnd 91 if [.t compare insert < promptEn [all...] |
H A D | twind.tcl | 42 $t insert end "A text widget can contain other widgets embedded " 43 $t insert end "it. These are called \"embedded windows\", " 44 $t insert end "and they can consist of arbitrary widgets. " 45 $t insert end "For example, here are two embedded button " 46 $t insert end "widgets. You can click on the first button to " 48 $t insert end " horizontal scrolling, which also turns off " 49 $t insert end "word wrapping. Or, you can click on the second " 50 $t insert end "button to\n" 52 $t insert end " horizontal scrolling and turn back on word wrapping.\n\n" 54 $t insert en [all...] |
H A D | bind.tcl | 39 $w.text insert 0.0 {\ 43 $w.text insert end \ 45 $w.text insert end \n\n 46 $w.text insert end \ 48 $w.text insert end \n\n 49 $w.text insert end \ 51 $w.text insert end \n\n 52 $w.text insert end \ 54 $w.text insert end \n\n 55 $w.text insert en [all...] |
H A D | entry1.tcl | 29 $w.e1 insert 0 "Initial value" 30 $w.e2 insert end "This entry contains a long value, much too long " 31 $w.e2 insert end "to fit in the window at one time, so long in fact " 32 $w.e2 insert end "that you'll have to scan or scroll to see the end."
|
H A D | entry2.tcl | 41 $w.frame.e1 insert 0 "Initial value" 42 $w.frame.e2 insert end "This entry contains a long value, much too long " 43 $w.frame.e2 insert end "to fit in the window at one time, so long in fact " 44 $w.frame.e2 insert end "that you'll have to scan or scroll to see the end."
|
H A D | ctext.tcl | 109 $w insert text insert $string 114 $w insert text $pos [selection get] 133 set char [expr {[$w index text insert] - 1}] 141 $w dchars text insert
|
H A D | ixset | 146 .bell.val.pit.entry insert 0 $bellpit 148 .bell.val.dur.entry insert 0 $belldur 154 .mouse.hor.acc.entry insert 0 $mouseacc 156 .mouse.hor.thr.entry insert 0 $mousethr 161 .screen.val.le.tim.entry insert 0 $screentim 163 .screen.val.le.cyc.entry insert 0 $screencyc
|
H A D | search.tcl | 23 $w insert end [read $f 10000] 126 $w.text insert 1.0 \ 134 $w.text mark set insert 0.0
|
H A D | browse | 50 .list insert end $i
|
H A D | image2.tcl | 20 $w.f.list insert end [file tail $i] 68 $w.f.list insert 0 earth.gif earthris.gif teapot.ppm
|
H A D | sayings.tcl | 42 $w.frame.list insert 0 "Waste not, want not" "Early to bed and early to rise makes a man healthy, wealthy, and wise" "Ask not what your country can do for you, ask what you can do for your country" "I shall return" "NOT" "A picture is worth a thousand words" "User interfaces are hard to build" "Thou shalt not steal" "A penny for your thoughts" "Fool me once, shame on you; fool me twice, shame on me" "Every cloud has a silver lining" "Where there's smoke there's fire" "It takes one to know one" "Curiosity killed the cat" "Take this job and shove it" "Up a creek without a paddle" "I'm mad as hell and I'm not going to take it any more" "An apple a day keeps the doctor away" "Don't look a gift horse in the mouth"
|
H A D | states.tcl | 32 $w.frame.list insert 0 Alabama Alaska Arizona Arkansas California \
|
H A D | filebox.tcl | 63 $ent insert 0 $file
|
/ast/src/lib/libtk/library/ |
H A D | console.tcl | 60 .console mark set promptEnd insert 91 .console insert insert "$result\n" 98 .console yview -pickplace insert 127 .console insert promptEnd $cmd {input stdin} 143 .console insert promptEnd $cmd {input stdin} 180 .console mark set promptEnd insert 197 # <KeyPress> class binding will also fire and insert the character, 212 %W mark set insert {end - 1c} 221 if [%W compare insert < promptEn [all...] |
H A D | entry.tcl | 54 %W insert insert [selection get -displayof %W -selection CLIPBOARD] 114 tkEntrySetCursor %W [expr [%W index insert] - 1] 117 tkEntrySetCursor %W [expr [%W index insert] + 1] 120 tkEntryKeySelect %W [expr [%W index insert] - 1] 124 tkEntryKeySelect %W [expr [%W index insert] + 1] 129 [string wordstart [%W get] [expr [%W index insert] - 1]] 132 tkEntrySetCursor %W [string wordend [%W get] [%W index insert]] 136 [string wordstart [%W get] [expr [%W index insert] - 1]] 140 tkEntryKeySelect %W [string wordend [%W get] [%W index insert]] [all...] |
H A D | text.tcl | 28 # Keeps track of the previous insert position, so 55 catch {%W mark set insert sel.first} 60 catch {%W mark set insert sel.first} 87 %W mark set insert @%x,%y 95 tkTextSetCursor %W insert-1c 98 tkTextSetCursor %W insert+1c 107 tkTextKeySelect %W [%W index {insert - 1c}] 110 tkTextKeySelect %W [%W index {insert + 1c}] 119 tkTextSetCursor %W [%W index {insert - 1c wordstart}] 122 tkTextSetCursor %W [%W index {insert worden [all...] |
H A D | bgerror.tcl | 53 $w.text insert 0.0 $info 54 $w.text mark set insert 0.0
|
H A D | xmfbox.tcl | 309 $data(fEnt) insert 0 $newSpec 364 $data(fEnt) insert 0 [file join $data(selectPath) $data(filter)] 368 $data(sEnt) insert 0 [file join $data(selectPath) $data(selectFile)] 516 $data(fEnt) insert 0 [file join $data(selectPath) $data(filter)] 518 $data(sEnt) insert 0 [file join $data(selectPath) $data(selectFile)] 535 $data(dList) insert end ".." 543 $data(dList) insert end $f 558 $data(fList) insert end $f
|
/ast/src/lib/libast/misc/ |
H A D | cmdlib.h | 42 int insertlen; /* strlen(insert) */ \ 47 char** insertarg; /* argv before insert */ \ 52 char* insert; /* replace with current arg */ \
|
/ast/src/cmd/tw/ |
H A D | xargs.c | 58 "[i:insert|replace?Replace occurences of \astring\a in the command" 85 "[I?Equivalent to \b--insert=string\b.]:[string]" 120 char* insert = 0; local 162 insert = opt_info.arg ? opt_info.arg : "{}"; 221 if (!(cmd = cmdopen(argv, argmax, size, insert, &disc))) 282 if (c || insert)
|
/ast/src/cmd/kshlib/cmdtst/ |
H A D | xargs.c | 58 "[i:insert|replace?Replace occurences of \astring\a in the command " 84 "[I?Equivalent to \b--insert=string\b.]:[string]" 130 char* insert = 0; local 173 insert = opt_info.arg ? opt_info.arg : "{}"; 232 if (!(xargs.cmd = cmdopen(argv, argmax, size, insert, &xargs.disc))) 296 if (c || insert)
|
/ast/src/cmd/tests/cdt/ |
H A D | trehash.c | 33 #define N_OBJ (N_PROC*64*1024) /* #objects to insert */ 54 { unsigned int insert; /* insertion states */ member in struct:_state_s 75 static State_t *State; /* insert/delete states */ 130 /* insert objects in 'p' */ 131 asoincint(&State->insert); /* signaling that we are ready to go */ 132 while(asogetint(&State->insert) != N_PROC) /* wait until all processes are set */ 204 z = sizeof(State_t) /* insert/delete states */ +
|
H A D | tsafehash.c | 33 #define N_OBJ (N_PROC*64*1024) /* #objects to insert */ 54 { unsigned int insert; /* insertion states */ member in struct:_state_s 75 static State_t *State; /* insert/delete states */ 130 /* insert objects in 'p' */ 131 asoincint(&State->insert); /* signaling that we are ready to go */ 132 while(asogetint(&State->insert) != N_PROC) /* wait until all processes are set */ 204 z = sizeof(State_t) /* insert/delete states */ +
|