Re: Toolbars.




On Mon, 26 Jul 1999, Iain wrote:
> Is there an easy way to get the toolbar that is created with the
> gnome-app-helper gnome_app_create_toolbar* functions.
> 
> The reason I ask is I want to create a toolbar using
> gnome_app_create_toolbar, but I also want to use gtk_toolbar_prepend_element
> to add my own custom widget to it.

> I tried using gnome_dock_get_item_by_name to get the dock called "Toolbar",
> but it just returned NULL everytime.
>

Hmm, I think this should work. 
 
Anyway, if it doesn't I think you could use gnome_app_fill_toolbar()
followed by gnome_app_set_toolbar().

Havoc




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