*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Tk/geomreq (3)              


Tk_GeometryRequest(3Tk)				       Tk_GeometryRequest(3Tk)

NAME    [Toc]    [Back]

     Tk_GeometryRequest, Tk_SetInternalBorder -	specify	desired	geometry or
     internal border for a window

SYNOPSIS    [Toc]    [Back]

     #include <tk.h>

     Tk_GeometryRequest(tkwin, reqWidth, reqHeight)

     Tk_SetInternalBorder(tkwin, width)

ARGUMENTS    [Toc]    [Back]

     Tk_Window	  tkwin	       (in)	 Window	for which geometry is being

     int	  reqWidth     (in)	 Desired width for tkwin, in pixel

     int	  reqHeight    (in)	 Desired height	for tkwin, in pixel

     int	  width	       (in)	 Space to leave	for internal border
					 for tkwin, in pixel units.

DESCRIPTION    [Toc]    [Back]

     Tk_GeometryRequest	is called by widget code to indicate its preference
     for the dimensions	of a particular	window.	 The arguments to
     Tk_GeometryRequest	are made available to the geometry manager for the
     window, which then	decides	on the actual geometry for the window.
     Although geometry managers	generally try to satisfy requests made to
     Tk_GeometryRequest, there is no guarantee that this will always be
     possible.	Widget code should not assume that a geometry request will be
     satisfied until it	receives a ConfigureNotify event indicating that the
     geometry change has occurred.  Widget code	should never call procedures
     like Tk_ResizeWindow directly.  Instead, it should	invoke
     Tk_GeometryRequest	and leave the final geometry decisions to the geometry

     If	tkwin is a top-level window, then the geometry information will	be
     passed to the window manager using	the standard ICCCM protocol.

     Tk_SetInternalBorder is called by widget code to indicate that the	widget
     has an internal border.  This means that the widget draws a decorative
     border inside the window instead of using the standard X borders, which
     are external to the window's area.	 For example, internal borders are
     used to draw 3-D effects.	Width specifies	the width of the border	in
     pixels.  Geometry managers	will use this information to avoid placing any
     children of tkwin overlapping the outermost width pixels of tkwin's area.

									Page 1

Tk_GeometryRequest(3Tk)				       Tk_GeometryRequest(3Tk)

     The information specified in calls	to Tk_GeometryRequest and
     Tk_SetInternalBorder can be retrieved using the macros Tk_ReqWidth,
     Tk_ReqHeight, and Tk_InternalBorderWidth.	See the	Tk_WindowId manual
     entry for details.

KEYWORDS    [Toc]    [Back]

     geometry, request

									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
maintgeom IRIX maintain geometry of one window relative to another
managegeom IRIX arrange to handle geometry requests for a window
bgpd OpenBSD Border Gateway Protocol daemon
bgpctl OpenBSD control the Border Gateway Protocol daemon
bgpd.conf OpenBSD Border Gateway Protocol daemon configuration file
gss_canonicalize_name HP-UX convert an internal name to an internal mechanism name (MN) representation of an opaque internal name
gluQuadricTexture Tru64 specify if texturing is desired for quadrics
clipplane IRIX specify a plane against which all geometry is clipped
glClipPlane Tru64 specify a plane against which all geometry is clipped
gluquadrictexture IRIX specify if texturing is desired for quadrics
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service