Searched refs:window (Results 1 - 25 of 53) sorted by relevance

123

/ast/src/lib/libtk/generic/
H A DtkCmds.c54 ClientData clientData; /* Main window associated with interpreter. */
64 " ?-displayof window?\"", (char *) NULL);
106 ClientData clientData; /* Main window associated with interpreter. */
117 " window ?pattern? ?command?\"", (char *) NULL);
185 TkWindow *winPtr; /* Pointer to info about window. */
203 * Make a copy of the tags for the window, replacing window names
204 * with pointers to the pathName from the appropriate window.
270 ClientData clientData; /* Main window associated with interpreter. */
282 " window
406 Tk_Window window; local
640 Tk_Window window; local
667 Tk_Window window; local
843 Tk_Window window; local
[all...]
H A DtkWindow.c4 * This file provides basic window-manipulation procedures,
170 "Colormap for main window"},
174 "Initial geometry for window"},
180 "Visual for main window"},
212 * Make a new window that will be at top-level (its parent will
213 * be the root window of a screen).
216 * The return value is a token for the new window, or NULL if
217 * an error prevented the new window from being created. If
222 * A new window structure is allocated locally. An X
223 * window i
[all...]
H A DtkEvent.c28 * also needs to know if the entire window gets deleted; the winPtr
29 * field is set to zero if that particular window gets deleted.
35 * window is deleted while event is being
161 * events from a given class occur in a given window.
177 Tk_Window token; /* Token for window in which to
191 * overall event mask for the window (so we can pass this new
321 * of display or window. Generic handlers are useful for capturing
485 * The only difference is whether the "event" and "window" fields
490 handlerWindow = eventPtr->xany.window;
493 if (eventPtr->xmap.event != eventPtr->xmap.window) {
[all...]
H A DtkGrab.c20 * three pieces of grab state information: the current grab window,
21 * the current restrict window, and whether the mouse is captured.
23 * The current grab window specifies the point in the Tk window
25 * window within the subtree below the grab window will continue to
27 * reported to the grab window.
29 * If the current restrict window is set, then all pointer events will
30 * be reported only to the restrict window. The restrict window i
[all...]
/ast/src/lib/libtk/library/demos/
H A Dtwind.tcl47 $t window create end -window $t.on
51 $t window create end -window $t.off
55 $t window create end -window $t.click
61 $t window create end -window $t.delete
79 $t window create end -window
[all...]
H A Dtext.tcl27 {This window is a text widget. It displays one or more lines of text
31 1. Scrolling. Use the scrollbar to adjust the view in the text window.
33 2. Scanning. Press mouse button 2 in the text window and drag up or down.
51 6. Copy the selection. To copy the selection into this window, select
67 7. Resize the window. This widget has been configured with the "setGrid"
68 option on, so that if you resize the window it will always resize to an
69 even number of characters high and wide. Also, if you make the window
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.}
180 set helpTopics(help) {This application provides only very crude help. Besides the entries in this menu, you can get help on individual windows by moving the mouse cursor over the window and pressing the Help or F1 keys.}
181 set helpTopics(window) {This window is a dummy rolodex application created as part of Tom LaStrange's toolkit benchmark. It doesn't really do anything useful except to demonstrate a few features of the Tk toolkit.}
191 .menu.help.m add command -label "On Window..." -command {Help window} \
H A Ditems.tcl16 label $w.msg -font $font -wraplength 5i -justify left -text "This window contains a canvas widget with examples of the various kinds of items supported by canvases. The following operations are supported:\n Button-1 drag:\tmoves item under pointer.\n Button-2 drag:\trepositions view.\n Button-3 drag:\tstrokes out area.\n Ctrl+f:\t\tprints items under area."
150 $c create window 21c 18c -window $c.button -anchor nw -tags item
153 $c create window 21c 21c -window $c.entry -anchor nw -tags item
156 $c create window 28.5c 17.5c -window $c.scale -anchor n -tags item
183 if {$type == "window"} {
/ast/src/lib/libvdelta/vd01/
H A Dvddelta01.c312 long _vddelta_01(Vddisc_t* source, Vddisc_t* target, Vddisc_t* delta, long window) argument
314 long _vddelta_01(source, target, delta, window)
318 long window; /* amount to process each time */
344 if(window <= 0)
345 window = DFLTWINDOW;
346 else if(window > MAXWINDOW)
347 window = MAXWINDOW;
348 if(window > n_tar)
349 window = n_tar;
350 if(n_src > 0 && window > n_sr
[all...]
H A Dvdupdate01.c42 long s_org; /* start of window in source */
43 long t_org; /* start of window in target */
268 reg long t, p, window, n_src, n_tar; local
310 /* get window size */
311 if((window = (long)(*_Vdgetu)(&tab.io,0)) < 0)
320 if(n_tar > 0 && !target->data && window < (long)MAXINT)
321 n = (int)window;
326 if(n_src > 0 && !source->data && window < (long)MAXINT)
327 n = (int)window;
328 else if(n_src == 0 && window < n_ta
[all...]
/ast/src/lib/libvdelta/
H A Dvdupdate.c44 long s_org; /* start of window in source */
45 long t_org; /* start of window in target */
270 reg long t, p, window, n_src, n_tar; local
322 /* get window size */
323 if((window = (long)(*_Vdgetu)(&tab.io,0)) < 0)
332 n = (!target->data && window < (long)MAXINT) ? (int)window : 0;
339 { if(target->data || window >= (long)MAXINT || window >= n_tar)
341 else n = (int)HEADER(window);
[all...]
H A Dvddelta.c377 reg long p, n_src, n_tar, window; local
400 window = DFLTWINDOW;
401 while(window > 0)
403 if((long)(size = (int)window) > n_tar)
411 { if((long)window >= n_tar)
416 { size = (int)HEADER(window);
421 { if((long)(size = (int)window) > n_src)
454 if((window >>= 1) <= 0)
466 (*_Vdputu)(&tab.io,(ulong)window) <= 0 )
469 /* do one window a
[all...]
/ast/src/cmd/pzip/
H A Dr2c.c50 size_t window; member in struct:State_s
82 state.cache = state.window;
113 if (n > state.window)
115 error(2, "%s: input record larger than window size", file);
179 state.window = 4 * 1024 * 1024;
183 switch (optget(argv, "d:[delimiter]l#[compression-level]q:[quote]t:[terminator]vw#[window-size]T#[test-mask]"))
201 state.window = opt_info.num;
218 state.cache = state.window;
/ast/src/lib/libtk/unix/
H A DtkUnixDraw.c24 Window window; /* Window to filter. */ member in struct:ScrollInfo
26 int dx, dy; /* Amount by which window was shifted. */
42 * Scroll a rectangle of the specified window and accumulate
51 * Scrolls the bits in the window and enters the event loop
59 Tk_Window tkwin; /* The window to be scrolled. */
60 GC gc; /* GC for window to be scrolled. */
73 info.window = Tk_WindowId(tkwin);
104 * events on the specified window until a NoExpose or the last
112 * for a particular window.
126 * Defer events which aren't for the specified window
[all...]
H A DtkUnixWm.c5 * application and the window manager. Among other things, it
7 * to the window manager.
31 * each window manager protocol (such as WM_DELETE_WINDOW) for
33 * particular top-level window.
40 * the same top-level window, or NULL for
55 * A data structure of the following type holds window-manager-related
56 * information for each top-level window in an application.
61 * this window. */
62 Window reparent; /* If the window has been reparented, this
63 * gives the ID of the ancestor of the window
287 Window window; /* We're waiting for events on this window. */ member in struct:WaitRestrictInfo
1000 Window window; local
3635 Window window, dummy1, dummy2, vRoot; local
[all...]
/ast/src/lib/libtk/library/
H A Dbutton.tcl91 set tkPriv(window) $w
97 # inactive. If we're leaving the button window with a mouse button
112 set tkPriv(window) ""
146 if {($w == $tkPriv(window))
H A Dmenu.tcl42 # window - When the mouse is over a menu, this holds the
108 set tkPriv(window) %W
273 # or the grab window has been deleted.
284 # the menu is unmapped and under some window managers (e.g. olvwm)
337 # Be careful restoring the old grab, since it's window may not
360 # rootx, rooty - Coordinates of mouse, in (virtual?) root window.
412 # menu - The menu window.
418 if {$menu == $tkPriv(window)} {
439 # menu - The menu window.
453 # Don't update grab information if the grab window is
[all...]
H A Dtk.tcl65 set tkPriv(window) {}
/ast/src/lib/libvcodex/
H A Dvcsfio.h55 char* window; /* window specification */ member in struct:_vcsfdata_s
/ast/src/lib/libz/
H A Dinflate.h87 /* sliding window */
88 unsigned wbits; /* log base 2 of requested window size */
89 unsigned wsize; /* window size or zero if not using window */
90 unsigned whave; /* valid bytes in the window */
91 unsigned write; /* window write index */
92 unsigned char FAR *window; /* allocated sliding window, if needed */ member in struct:inflate_state
H A Ddeflate.c11 * sliding window trailing behind the input currently being processed).
185 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
190 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
212 /* To do: ignore strm->next_in if we use it as window */
270 if (windowBits == 8) windowBits = 9; /* until 256-byte window bug fixed */
287 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
297 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
339 zmemcpy(s->window, dictionary, length);
347 s->ins_h = s->window[0];
348 UPDATE_HASH(s, s->ins_h, s->window[
[all...]
H A Dinffast.c81 unsigned wsize; /* window size or zero if not using window */
82 unsigned whave; /* valid bytes in the window */
83 unsigned write; /* window write index */
84 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */ local
93 /* window position, window bytes to copy */
111 window = state->window;
[all...]
H A Dinflate.c11 * creation of window when not needed, minimize use of window when it is
32 * - Fix bug in reuse of allocated window after inflateReset()
45 * - Rearrange window copies in inflate_fast() for speed and simplification
46 * - Unroll last copy for window match in inflate_fast()
47 * - Use local copies of window variables in inflate_fast() for speed
54 * programs like gzip and unzip -- uses window as output buffer to avoid
55 * window copying
67 * - Changed type of window in inflateBackInit() to unsigned char *
183 state->window
[all...]
H A Dinfback.c25 windowBits is in the range 8..15, and window is a user-supplied
26 window and output buffer that is 2**windowBits bytes.
28 int ZEXPORT inflateBackInit_(strm, windowBits, window, version, stream_size)
31 unsigned char FAR *window;
40 if (strm == Z_NULL || window == Z_NULL ||
57 state->window = window;
198 /* Assure that some output space is available, by writing out the window
204 put = state->window; \
215 strm provides the memory allocation functions and window buffe
[all...]
/ast/src/cmd/ie/
H A Dvi.c74 #define WINDOW MAXWINDOW /* max char in window of which */
76 /* actual window size may be smaller */
121 #define first_wind editb.e_globals[0] /* first column of window */
127 #define last_wind editb.e_globals[1] /* last column in window */
130 #define long_char editb.e_globals[3] /* line bigger than window */
131 #define long_line editb.e_globals[4] /* line bigger than window */
138 #define ofirst_wind editb.e_globals[7] /* old window first col */
155 #define window editb.e_window /* window buffer */ macro
156 #define w_size editb.e_wsize /* window siz
[all...]

Completed in 68 milliseconds

123