Searched refs:active (Results 1 - 25 of 35) sorted by relevance

12

/ast/src/lib/libtk/library/
H A Dmenu.tcl177 $w configure -state active
195 if {[$w cget -state] == "active"} {
406 # It does two things. First, it resets the active element in the
422 $menu postcascade active
443 $menu postcascade active
471 # deactivates everything unless the active element is a cascade element
482 if {[$menu index active] == "none"} {
485 if {([$menu type active] == "cascade")
487 == [$menu entrycget active -menu])} {
516 if {[$w type active]
[all...]
H A Dlistbox.tcl142 tkListboxBeginSelect %W [%W index active]
145 tkListboxBeginSelect %W [%W index active]
148 tkListboxBeginExtend %W [%W index active]
151 tkListboxBeginExtend %W [%W index active]
328 # Moves the location cursor (active element) up or down by one element,
338 $w activate [expr [$w index active] + $amount]
339 $w see active
343 $w selection set active
347 $w selection set active
348 $w selection anchor active
[all...]
H A Dbutton.tcl78 # state of the button to active unless the button is disabled.
86 $w config -state active
88 $w configure -state active -relief sunken
164 $w configure -state active -relief sunken
H A Dtearoff.tcl51 # original: if the parent is a menu, then use the text of the active
60 wm title $menu [$parent entrycget active -label]
H A Dscale.tcl35 if {[%W cget -state] == "active"} {
114 $w configure -state active
149 # (i.e. the scale is active) then the scale's value is adjusted
258 $w configure -state active
/ast/src/cmd/nmake/
H A Dvariable.c63 if (r->active && r->active->primary)
65 t.rule = makerule(r->active->primary);
295 if (*s == ATTRNAME && !r->active && !(r->dynamic & D_cached) && strmatch(s, internal.issource))
300 if (!r->active)
302 r = r->active->parent->target;
333 if (r->active && (t = r->active->primary))
387 if (r->active && r->active
[all...]
H A Dmake.c119 oframe = a->active;
120 a->active = r->active;
121 r->active = r->active->previous;
122 a->active->previous = oframe;
129 if (r->view && a->active && !state.mam.statix)
130 a->active->original = a->name;
188 if (u->active && !state.mam.statix)
189 u->active
[all...]
H A Dmetarule.c352 metaget(Rule_t* r, Frame_t* active, char* stem, Rule_t** meta) argument
371 if (active)
373 f = active->flags & P_implicit;
376 if (active->prereqs)
378 prereqs = active->prereqs;
381 else if (active == active->parent)
384 active = active->parent;
385 } while (active);
[all...]
H A Dcommand.c70 Frame_t* frame; /* active target frames */
71 Frame_t* last; /* last active target frame */
128 if (r->active && (r->active->parent->target->property & P_archive) && !(r->property & (P_after|P_before|P_use)))
139 artouch(r->active->parent->target->name, r->name);
141 error(0, "touch %s/%s", r->active->parent->target->name, r->name);
189 x->active = &lhs_frame;
357 p->context.frame = r->active;
358 r->active = p;
397 r->active
[all...]
H A Dbind.c1069 if (r && r->active && (r->active->parent->target->property & P_archive) && !(r->dynamic & D_membertoo))
1075 if (r->active->parent->target->name == f->dir->name && f->dir->archive)
1079 error(1, "%s is duplicated within %s", r->name, r->active->parent->target->name);
1086 if (!i && (ar = getar(r->active->parent->target->name)) && (i = ar->truncate) && strlen(base) > i)
1092 if (r->active->parent->target->name == f->dir->name && f->dir->archive)
1095 error(1, "%s is duplicated within %s", r->name, r->active->parent->target->name);
1506 r->view = r->active ? r->active->parent->target->view : state.maxview;
/ast/src/cmd/cs/
H A Dtst-old.c46 int active; member in struct:__anon83
74 state->active++;
108 if (state->active == 1) exit(0);
122 state->active--;
131 error(1, "timeout active=%d dormant=%d", state->active, state->dormant);
132 if (state->active <= 0)
H A Dnam.c47 int active; member in struct:__anon79
60 state->active++;
150 state->active--;
163 if (!state->active)
H A Dcat.c57 int active; /* # open connections */ member in struct:__anon70
125 state->active++;
173 state->active--;
186 if (!state->active)
H A Dfs_env.c68 int active; member in struct:__anon78
101 state->active++;
248 state->active++;
257 state->active--;
271 if (!state->active)
H A Dpid.c67 unsigned long active; /* number of active pids */ member in struct:__anon81
135 n = sfsprintf(m, sizeof(state->buf), "active=%d decay=%d expire=%d\n", state->active, state->decay, state->expire);
177 if (!--state->active)
201 if (!state->active++)
248 state->active--;
H A Ddbm.c94 int active; /* number active connections */ member in struct:__anon76
135 state->active++;
318 if (state->active == 1) exit(0);
325 state->active--;
338 if (!state->active)
/ast/src/lib/libtk/library/demos/
H A Druler.tcl89 $c addtag active withtag [rulerMkTab $c $x $y]
90 $c addtag tab withtag active
110 $c addtag active withtag current
111 eval "$c itemconf active $v(activeStyle)"
112 $c raise active
126 if {[$c find withtag active] == ""} {
139 eval "$c itemconf active $v(activeStyle)"
142 eval "$c itemconf active $v(deleteStyle)"
144 $c move active [expr $cx-$v(x)] [expr $cy-$v(y)]
160 if {[$c find withtag active]
[all...]
/ast/src/lib/libcoshell/
H A Dcowait.c139 int active; local
161 active = 0;
191 active = 1;
205 active = 1;
210 * reap the active jobs
213 if (!active)
263 errormsg(state.lib, 2, "coshell %d active wait %lu timeout=%d outstanding=<%d,%d> running=<%d,%d>", co->index, serial, timeout, co->outstanding, co->svc_outstanding, co->running, co->svc_running);
387 errormsg(state.lib, 2, "coshell %d active wait %lu timeout=%d outstanding=<%d,%d> running=<%d,%d> reap job %d", co->index, serial, timeout, co->outstanding, co->svc_outstanding, co->running, co->svc_running, cj->id);
/ast/src/cmd/re/
H A Dsed2.c81 int active; local
94 active = !(*q & INACT);
96 switch(sel1(ipc[active], data)) {
98 if((active&ateof()) == 0)
102 if(active)
104 return (neg^1) << (!active&!ateof());
106 if(active) {
112 return (neg^active) << 1;
/ast/src/lib/libtk/generic/
H A DtkListbox.c127 * Information about what's selected or active, if any.
138 int active; /* Index of "active" element (the one that member in struct:__anon409
395 listPtr->active = 0;
472 ListboxRedrawRange(listPtr, listPtr->active, listPtr->active);
477 listPtr->active = index;
478 ListboxRedrawRange(listPtr, listPtr->active, listPtr->active);
1151 * If this is the active elemen
[all...]
H A DtkMenu.c60 * normal, active, or disabled. */
63 * border drawn around entry when active. */
74 * element is active. NULL means use
77 * active. NULL means use active foreground
83 GC activeGC; /* GC for drawing text in entry when active.
257 int active; /* Index of active entry. -1 means member in struct:Menu
258 * nothing active. */
268 * active elemen
[all...]
/ast/src/cmd/3d/
H A Dsyscall3d.c472 switch (cp->active++)
489 cp->active = 3;
493 cp->active = 10;
502 cp->active = 3;
506 cp->active = 10;
511 cp->active--;
/ast/src/cmd/coshell/
H A Devent.c202 unsigned int active; /* number of active clients */ member in struct:State_s
210 Dt_t* connections; /* active connection list */
303 state->active++;
305 log(state, con, 'S', "accept connection -- %d active", state->active);
396 log(state, con, 'I', "info active=%d", state->active);
963 state->active--;
966 log(state, con, 'S', "drop connection -- %d active", stat
[all...]
/ast/src/cmd/mailx/
H A Dfio.c375 state.msg.active = 0;
512 if (state.msg.active != mp) {
513 state.msg.active = mp;
/ast/src/cmd/INIT/
H A Dmamake.c126 #define RULE_active 0x0001 /* active target */
228 int active; /* targets currently active */ member in struct:__anon22
1562 state.active++;
1620 if (cmd && state.active && (state.force || r->time < z || !r->time && !z))
1646 if (state.active)
1714 state.active--;
1720 * verify that active targets were made
1971 if (!state.active && (!(r->flags & RULE_active) || !(r = (Rule_t*)search(state.leaf, r->name, NiL))))
1977 * append the non-leaf active target
1981 active(Dict_item_t* item, void* handle) function
[all...]

Completed in 113 milliseconds

12