Searched refs:insert (Results 1 - 25 of 41) sorted by relevance

12

/ast/src/lib/libtk/library/demos/
H A Dstyle.tcl61 $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 Dwidget113 .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 Drmt55 # 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 Dtwind.tcl42 $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 Dbind.tcl39 $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 Dentry1.tcl29 $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 Dentry2.tcl41 $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 Dctext.tcl109 $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 Dixset146 .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 Dsearch.tcl23 $w insert end [read $f 10000]
126 $w.text insert 1.0 \
134 $w.text mark set insert 0.0
H A Dbrowse50 .list insert end $i
H A Dimage2.tcl20 $w.f.list insert end [file tail $i]
68 $w.f.list insert 0 earth.gif earthris.gif teapot.ppm
H A Dsayings.tcl42 $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 Dstates.tcl32 $w.frame.list insert 0 Alabama Alaska Arizona Arkansas California \
H A Dfilebox.tcl63 $ent insert 0 $file
/ast/src/lib/libtk/library/
H A Dconsole.tcl60 .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 Dentry.tcl54 %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 Dtext.tcl28 # 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 Dbgerror.tcl53 $w.text insert 0.0 $info
54 $w.text mark set insert 0.0
H A Dxmfbox.tcl309 $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 Dcmdlib.h42 int insertlen; /* strlen(insert) */ \
47 char** insertarg; /* argv before insert */ \
52 char* insert; /* replace with current arg */ \
/ast/src/cmd/tw/
H A Dxargs.c58 "[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 Dxargs.c58 "[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 Dtrehash.c33 #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 Dtsafehash.c33 #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 */ +

Completed in 24 milliseconds

12