Re: Docking widget for GTK 2.4
- From: Biswapesh Chattopadhyay <biswapesh_chatterjee tcscal co in>
- To: Michael Meeks <michael ximian com>
- Cc: Havoc Pennington <hp redhat com>, Matthias Clasen <maclas gmx de>, Gtk Hackers <gtk-devel-list gnome org>
- Subject: Re: Docking widget for GTK 2.4
- Date: 10 Apr 2003 15:54:14 +0530
On Thu, 2003-04-10 at 14:11, Michael Meeks wrote:
>
> On Wed, 2003-04-09 at 16:15, Havoc Pennington wrote:
> > Two things to consider for a dock widget:
>
> One particularly nice side-effect of having a powerful dock widget that
> can dock large views as well as misc. toolbars is that it would provide
> an API usable for MDI that may keep quiet the people that still think
> generalized MDI is a good idea ;-)
We will get MDI more-or-less automatically with GdlDock if we create
each view as a GtkDockItem IMO (ni window mode, just tabbed, paned or
floating).
I'm not sure how suitable GdlDock will be as containers for menubars and
toolbars. I was thinking along the lines of creating GdlDockBand (that's
in Gustavo's README as well) similar to BonoboDockBand and let it handle
the UI elements.
Once we have GtkDock and GtkDockBand, we can have a GtkApp like so:
class GtkDockObject: public GtkContainer
class GtkDockBand: public GtkDockObject
class GtkDock: public GtkDockObject
class GtkApp: public GtkWindow {
GtkDockBand ui_area;
GtkDockBand status_area;
GtkDock client_area;
};
This should take care of DockBand-ing menus and toolbars properly, no ?
Also, if I'm not mistaken, QT/KDE have a somewhat similar structure in
place.
Does this make sense ? Or am I talking out of my hat here ?
IN any case, I'll try to make a new module for GdlDock with GTK+
dependency only and post a URL here soon so that people can try it out
easily.
>
> Hmm,.
>
> Michael.
>
> --
> mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
--
Biswa.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]