CLIM mail archive

[Prev][Next][Index][Thread]

Initializing application frames



    Date: Tue, 17 Dec 1991 18:24 EST
    From: seth@gandalf.hrl.hac.com

    I'm a bit confused about how to initialize my application frames.
    I'm displaying a static set of data in various panes which are
    scrollable.  I've defined an application frame and written an
    :after initialize-instance method to present the data in the 
    apropriate panes.  The scrollbars don't seem to get activated
    until I resize the frame and in fact, sometimes the menus are messed
    up as well.  

When the :AFTER INITIALIZE-INSTANCE on the frame is run, the panes are
not yet initialized to any predicable state.
		 
		 The only alternative I can see is to defined a display
    function for each pane and let it do the presenting.  This seems
    wasteful (is there a clever way to do it?).

Why do you think it is wasteful to do it this way?  Just make the panes
be :DISPLAY-AFTER-COMMANDS NIL and :INCREMENTAL-REDISPLAY NIL and the
display function will only ever be run once.

    Configuration:  MCL 2.0b1p3 w/ CLIM 1.0 from ILA on a MAC IIci.

    Thanks,
    Seth Goldman
    seth@gandalf.hrl.hac.com
    (310) 317-5693

0,,

References:

Main Index | Thread Index