On Fri, Jul 09, 2004 at 07:18:53PM -0400, Sam Stephenson wrote:
> I've written a simple MDI library for Ruby/GTK2 that uses tabs to
> represent documents. Its behavior is similar to that of Epiphany,
> Galeon, Gaim, and gedit; you can reposition and close tabs, and you
> can drag tabs into and out of windows.
This is great! I have slightly off-topic question though:
Since it's hard to create an `empty' notebook, this is normally (AFAIK)
done by adding a empty page with show_tabs == false. Also, most
apps have the feature that they don't show tabs if there is only one
So how is the user supposed to drag a page to another window when tabs
are hidden (i.e. there is only one tab). Is there a trick for that,
or.. any ideas?
> (I was shocked to discover that this interface style is not a part of
> GTK or GNOME, especially when there are so many implementations of
> Consider this code to be quite rough. There's a sample application at
> the bottom of the file (which, of course, you'll want to remove if you
> plan on using it as a library), but other than that, I've not yet
> written any documentation.
I'm interested in future versions :)
Student @ Eindhoven | JID: paul@...
University of Technology, The Netherlands | email: paul@...
>>> Using the Power of Debian GNU/Linux <<< | GnuPG: finger paul@...