home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTkkkk____SSSSeeeettttGGGGrrrriiiidddd((((3333)))) TTTTkkkk (((( )))) TTTTkkkk____SSSSeeeettttGGGGrrrriiiidddd((((3333))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- Tk_SetGrid - control the grid for interactive resizing
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
-
- TTTTkkkk____SSSSeeeettttGGGGrrrriiiidddd(_t_k_w_i_n, _r_e_q_W_i_d_t_h, _r_e_q_H_e_i_g_h_t, _w_i_d_t_h_I_n_c, _h_e_i_g_h_t_I_n_c)
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- Tk_Window _t_k_w_i_n (in) Token for window.
-
- int _r_e_q_W_i_d_t_h (in) Width in grid units that
- corresponds to the pixel
- dimension _t_k_w_i_n has
- requested via
- TTTTkkkk____GGGGeeeeoooommmmeeeettttrrrryyyyRRRReeeeqqqquuuueeeesssstttt.
-
- int _r_e_q_H_e_i_g_h_t (in) Height in grid units that
- corresponds to the pixel
- dimension _t_k_w_i_n has
- requested via
- TTTTkkkk____GGGGeeeeoooommmmeeeettttrrrryyyyRRRReeeeqqqquuuueeeesssstttt.
-
- int _w_i_d_t_h_I_n_c (in) Width of one grid unit, in
- pixels.
-
- int _h_e_i_g_h_t_I_n_c (in) Height of one grid unit,
- in pixels.
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- TTTTkkkk____SSSSeeeettttGGGGrrrriiiidddd is typically invoked by a widget when its sssseeeettttGGGGrrrriiiidddd
- option is true. This procedure allows a widget to control
- interactive resizing of its top-level window so that the
- space allocated to the widget is equal to the space
- requested by the widget using TTTTkkkk____GGGGeeeeoooommmmeeeettttrrrryyyyRRRReeeeqqqquuuueeeesssstttt, plus or
- minus even multiples of _w_i_d_t_h_I_n_c and _h_e_i_g_h_t_I_n_c. TTTTkkkk____SSSSeeeettttGGGGrrrriiiidddd
- turns on gridded geometry management for the top-level
- window associated with _t_k_w_i_n, and records the relationship
- between pixel sizes and grid sizes as defined by _r_e_q_W_i_d_t_h,
- _r_e_q_H_e_i_g_h_t, _w_i_d_t_h_I_n_c, and _h_e_i_g_h_t_I_n_c.
-
- See the wwwwmmmm manual entry for complete details on gridded
- geometry management. There is currently no way to turn off
- gridded geometry management using a C procedure call;
- instead, invoke the ``wwwwmmmm ggggrrrriiiidddd'' command.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
-
-
-
- PPPPaaaaggggeeee 1111 ((((pppprrrriiiinnnntttteeeedddd 7777////22223333////99995555))))
-
-
-
-
-
-
- TTTTkkkk____SSSSeeeettttGGGGrrrriiiidddd((((3333)))) TTTTkkkk (((( )))) TTTTkkkk____SSSSeeeettttGGGGrrrriiiidddd((((3333))))
-
-
-
- grid, window, window manager
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 7/23/95)
-
-
-
-