Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I need to get the height of the title bar from within an application. The application makes a call to XCreateWindow to create its window. What's the easiest way to get this info ??? Thanks, -jg
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
484.1 | AITG::DERAMO | Daniel V. {AITG,ZFC}:: D'Eramo | Mon Mar 27 1989 20:03 | 16 | |
The DECwindows window manager currently makes a title bar window with a height of 17 pixels, at least on my GPX. I determined this from deciding which windows in the window hierarchy were application windows and which were wrapped around it by the window manager. It is subject to change. In general, a window manager doesn't necessarily put the title bar in a separate window (it could be drawn inside a larger window). If it does, you might be able to find it by looking at the siblings of your window's parent window, or at the siblings of your window's grandparent window, etc., until finding one that is position where a title bar would be and is long and narrow. Dan | |||||
484.2 | XtNtitleHeight | RAB::PRINCIPIO | Nuke the site from orbit. | Tue Mar 28 1989 08:47 | 5 |
Try including <decw$include:vendor.h> and doing an XtGetValues using the the XtNtitleHeight resource. Tracy | |||||
484.3 | Window manager and title bar height | VAXWRK::SCHNEIDER | Lather. Rinse. Repeat. | Mon Apr 10 1989 19:59 | 11 |
WHile we're on the subject of XtNtitleHeight... I've observed that it doesn't seem possible to change the height of the title bar by setting this value. I've assumed that its just that the window manager doesn't support variable height title bars, even though there's this hook for it in case it did. Can anyone confirm this? Dan |