Path: utzoo!censor!geac!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ames!amdcad!sun!kimba!hvr From: hvr@kimba.Sun.COM (Heather Rose) Newsgroups: comp.windows.x Subject: Re: General WM/window info (was: Xview question: changing frame font) Message-ID: <132556@sun.Eng.Sun.COM> Date: 6 Mar 90 02:50:20 GMT References: <478@med.Stanford.EDU> <132159@sun.Eng.Sun.COM> Sender: news@sun.Eng.Sun.COM Reply-To: hvr@sun.UUCP (Heather Rose) Organization: Sun Microsystems, Mountain View Lines: 43 In article <132159@sun.Eng.Sun.COM> argv@sun.UUCP (Dan Heller) writes: >In article <478@med.Stanford.EDU> rick@hanauma (Richard Ottolini) writes: >> "olwm" doesn't accept font arguments and xv_set (base_frame,XV_FONT...) >> doesn't work. Suggestions? (I see that there are various sized olglyph >> fonts.) > >Remember: a "frame" (or base window) in an application is not >associated with the window manager's decorations for toplevel >windows (children of the root window). That means that the >application does not have direct control over the fonts or >colors of the titlebar, resize handles, gadgets or whatever >that are installed on titlebar of the window. These functions >are strictly window manager responsibilities and applications >should not be able to set such attributes. > >Sepcifically to XView, setting XV_FONT in anything in the >application will not affect your titlebar font. Use your >X resources or window manager functions to set such attributes. Just browsing the olwm man page... olwm.TitleFont Font used in title bars above the windows. Default is Lucida-Sans Bold. olwm.IconFont Font used in icons. Default is Lucida-Sans. olwm.MenuTitleFont Font used in the title (first line) of menus. Default is lucidasans-bold-12. olwm.MenuButtonFont Font used for individual entries in menus. Default is lucidasans-12. olwm.GlyphFont Glyph font used for drawing OPEN LOOK graphics. You probably don't want to change this. Regards, Heather