Re: [gtk-list] Re: Anything like MDI in Gtk?
- From: Chris Phelps <chicane reninet com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Anything like MDI in Gtk?
- Date: Fri, 26 Nov 1999 14:34:14 -0800
Last night I had a thought about an mdi interface for gtk+ and/or gnome. I really dont know how to implement
this, but it seems like something that needs to be done in order to forward the quality of the gtk+ widget
set.
Here is my idea:
make a new container widget like this:
struct _GtkMdiContainer
{
GtkWidget *container; //just like any other container (maybe have it be in a scrolled window or
something)
GList *children; // Glist of sub windows/widgets
};
And make a new window type, something like this:
struct _GtkMdiWindow
{
GtkWidget *window;
GtkMdiContainer *parent;
};
Just a thought. Im sure the more experienced gtk'ers could expand on this basic principal.
Later,
Chicane
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]