Re: design advise needed/toolbar question



Paul Pogonyshev <pogonyshev gmx net> 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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]