Jan Arne Petersen’s Blog

A Default GtkWindow with Menu and Toolbars

I don’t like such applications on my N810:

The application could be ported to use a HildonWindow if compiled for the maemo platform. But it would be much easier if there were an abstract GTK+ widget which would allow it to add a menu and toolbars to a window in a (platform specific) default layout.

I imagine something like:

With this proposal, it would also be possible to implement a Mac-style MenuBar without a GtkMenuBar hack.

See Bug 533003.

p.s. I don’t like the name GtkMainWindow. Maybe something like GtkDefaultWindow or GtkSimpleWindow would be better.

There are 1 Comments to "A Default GtkWindow with Menu and Toolbars"

  • Andrew Flegg says:

    Excellent! I’ve been trying to suggest this for years (without the time to actually do it).

    It’s also be handy for ROX-based distributions to change Gtk+ behaviour to be more RISC OS-like (i.e. everything a context menu)

Write a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>