CLIM mail archive

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

Access to Program Framework Layouts



    Date: Thu, 4 Jun 1992 17:55 EDT
    From: Brent Reeves <brentr@sigi.cs.colorado.edu>


     (Genera 8.1, CLIM 1.0)

     1. How can I access the possible layouts of a program-framework?
	as in:

	(set-frame-layout *application-frame*
	    (menu-choose
	       (??possible-layouts?? *application-frame*))

Sad but true, this is the only way to do it.  I don't think it occurred
to anyone to do this in an obvious way.

  (loop for (name . layout) 
	    in (clim::frame-descriptor-layout
		 (clim::find-frame-descriptor *application-frame*))
	collect name)

     2. Any way to get at the pane configurations in each layout?  This way
	the above could present a menu of miniature or iconized layouts
	rather than just the names.

No, besides decoding the layout yourself, there isn't any way to do
this.


References:

Main Index | Thread Index