[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

484.0. "Getting the height of the title bar" by 22082::GABRIEL (Thank You Very Little) Mon Mar 27 1989 19:40

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.RTitleUserPersonal
Name
DateLines
484.1AITG::DERAMODaniel V. {AITG,ZFC}:: D'EramoMon Mar 27 1989 20:0316
	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.2XtNtitleHeightRAB::PRINCIPIONuke the site from orbit.Tue Mar 28 1989 08:475
    Try including <decw$include:vendor.h> and doing an XtGetValues using the
    the XtNtitleHeight resource.

    Tracy

484.3Window manager and title bar heightVAXWRK::SCHNEIDERLather. Rinse. Repeat.Mon Apr 10 1989 19:5911
    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