Re: Multiple documents



On Mon, 2003-08-25 at 12:22, Chris Garrett wrote:
Hi all,

Is there a standard / recommended way to write an application that can open 
more than one document at a time, and that allows more than one view of each 
document (ala GIMP)?


Sure.  There are 2 methods.  You can create a new toplevel window for
each document (and maybe a main window with toolbars and stuff).  This
is how the gimp does it.  The other mdi method is to use a tabbed-view
widget.

Michael


If so, is there a nice, small, simple example I can look at to get started?  
The source code to the GIMP is too large for my tired brain at the moment 
:o(

BTW, I am using GTK2.2

Best regards,

Chris.

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- 
Michael L Torrie <torriem chem byu edu>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]