[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

87.0. "Quick XtNallowShellResize question" by GALVIA::BREATHNACH (I Hate HARP!) Wed Feb 01 1989 06:00

Can anyone out there tell me what the boolean attribute:
                   XtNallowShellResize 
is for???

It is used in the helloworld example as follows:

    toplevel = XtInitialize("Hi", "helloworldclass", NULL, 0,
	       &argc, argv);
    XtSetArg (arglist[0], XtNallowShellResize, TRUE) ;
    XtSetValues (toplevel, arglist, 1) ;


What does it do?  How can I see its effect? etc etc etc


Regards,

Brian.

T.RTitleUserPersonal
Name
DateLines
87.1Allow Geometry RequestsTBD1::BURLEIGHHuman life begins at conceptionWed Feb 01 1989 06:4111
    XtNallowShellResize, when set to True, allows the Shell widget
    to respond to geometry requests from its child. I believe it's
    use in "Hello, World!" is to allow the top-level (Shell) widget's
    push-button child to get larger to accomodate a longer label,
    like "Goodbye, World", when the user presses the button.
    
    Normally, Shell widgets are supposed to respond only to the
    user, via the window manager, for changes in size and/or position.
    
    Dave

87.2XtNallowMeToPlaceThem?WJG::GUINEAUThu Mar 09 1989 17:556
Which one lets my application put it's windows where I want.

They show up at 0,0 (top left).

John