Paul Pogonyshev <[EMAIL PROTECTED]> writes:

> However, it seems that in the new (2.4 and up) toolbar API there is no
> easy way to add a random widget to a toolbar (well, I could subclass
> GtkToolItem, but...)
> 
> Any suggestions?  A different design might solve a problem as well as a
> simple way of putting widgets in the toolbar...  Note also that my app has
> to work with all GTK+ version from 2.0 onwards.

If it has to work with gtk+ 2.0, why is the new API relevant at all?

Anyway, you can put an arbitrary widget into a GtkToolItem using
gtk_container_add (tool_item, arbitrary_widget).

Søren

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to