newLISP Fan Club

Forum => newLISP Graphics & Sound => Topic started by: cormullion on August 08, 2007, 12:15:06 PM

Title: Two windows? Toolbars?
Post by: cormullion on August 08, 2007, 12:15:06 PM
How do toolbars work? And can you have more than one window active?
Title:
Post by: Lutz on August 08, 2007, 12:56:35 PM
QuoteHow do toolbars work?


treat toolbars like any other cotainer, set a layout then add buttons and other widgets to it, then add the toolbar to your gs:frame. In newlisp-edit.lsp search for ToolBar, to see how it is used.


QuoteAnd can you have more than one window active?


yes you can create several gs:frame have them visible (or not) at the same time.



Lutz