Re: Integrating EggMenu code into GTK+
- From: Owen Taylor <otaylor redhat com>
 
- To: Matthias Clasen <maclas gmx de>
 
- Cc: gtk-devel-list gnome org
 
- Subject: Re: Integrating EggMenu code into GTK+
 
- Date: Sat, 23 Aug 2003 11:41:06 -0400
 
On Fri, 2003-08-22 at 17:27, Matthias Clasen wrote:
> I've noticed that a number of things are currently not possible with 
> GtkMenuMerge/GtkAction:
> 
> - add tearoff menuitems
> - make toolbars detachable
> 
> For these two, we can probably get away with a global setting.
I don't think detachable toolbars make sense until we get a
real dock widget in GTK+ ... GtkHandleBox isn't good enough to
make the feature worthwhile. And I also don't really see the
connection to GtkMenuMerge for detachable menu bars -- it seems
to be a question of where you put the created toolbars, not
of the created toolbars themselves.
> - use non-stock icons
> 
> We should probably add a pixbuf-valued "icon" property to GtkAction.
Hmm, if the action is being used in a toolbar, the icon isn't
really enough. Even just for menus, you really want the 
automatic state changing and perhaps scaling features of GtkIconSet.
Though GtkIconSet isn't really a convenient API.
> - set misc toolitem properties: homogeneous, expand, pack_end,
>   visible_horizontal, visible_vertical, important
> 
> If we want to support these, we should probably expand the parser to
> accept these as attributes of <toolitem> elements. 
How many of these are useful for buttons? Most of these seem to
be mostly relevant to inserting random controls into a toolbar.
Regards,
						Owen
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]