[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

1676.0. "pushbutton label and title font in 5.3" by YIPPEE::GUIMBAL (vanished in a puff of logic) Mon Nov 06 1989 09:37

    I have two compatibility problems between VMS5.1 and 5.3:
    
    - I loose the labels on my pushbuttons, defined with
    XtSetArg(..., DwtNfont, fontlist);
    XtSetArg(..., DwtNlabel, DwtLatin1String(label));
    DwtPushButtonCreate(...);
    
    In version 5.1 I got buttons with label text, in 5.3 I get small empty
    buttons.
    
    - I cannot get the title font any more. I use:
    XtSetArg(...,XtNtitleFont,&font);
    XtGetValues(...);
    fs = XQueryFont(display,font);
    
    In version 5.1 I got the title font structure, in 5.3 I get fs=0. The
    'font' variable has a value which is not null but different from the 5.1
    one.
    
    I did not find any explanation in the release notes. 
    Thanks for your help,
    - Brigitte
T.RTitleUserPersonal
Name
DateLines
1676.1me too.DEALIN::TASCHEREAUCaught with my windows down...Wed Nov 15 1989 16:215
    
    I have the same problem as .0, only I use toggle buttons as opposed 
    push buttons.
    
    				-Steve 
1676.2YIPPEE::GUIMBALvanished in a puff of logicTue Nov 21 1989 04:1610
    I found the one with the buttons:
    DwtCreateFontList used to accept a 0 as second parameter (charset), and
    does not any more. 
    
    However I still wait for someone knowing what is returned now when
    doing a GetValues for XtNtitleFont. There is still *something*
    returned, but it is no more a valid font_id as in V5.1. 
    
    Also why having removed the special characters from the fonts?
    Replacing them by *nothing* seems to me a waste...