Thanks but still, what do the arguments from add_toolbar(self, toolbar, name, behavior, placement, band_num,band_position, offset) mean ? And is there an easy way to do an item to the toolbar once the toolbar is shown ?
Best,
S.Kessler
James Henstridge wrote:
In the current GNOME API, there is no nice and easy way to add a second
toolbar like you can the first with gnome_app_create_toolbar(). If you
use the GnomeApp.add_toolbar function, you need to pass it a GtkToolbar
widget, rather than a GnomeUIInfo type structure as in the
create_toolbar() method.There is a gnome_app_fill_toolbar function that can be used to fill a
GtkToolbar widget using information from a GnomeUIInfo type structure. I
don't have a wrapper for this currently though.James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/On Mon, 26 Jul 1999, Sebastien Kessler wrote:
> I am trying to add a second toolbar to my GnomeApp application. Using a
> second time create_toolbar() brings strange behaviour (only once the
> first toolbar is moved *and* the application re-executed, the second
> toolbar appears. And it disappears if you execute again the application
> !).
>
> There's the add_toolbar(self, toolbar, name, behavior, placement,
> band_num,band_position, offset) method but I cannot figure out the
> arguments - nothing I tried work properly. Can you help ?
>
> By the way, these arguments are almost the same as add_dock_item(self,
> item, placement, band_num, band_position,offset): is this fo fix items
> in the GnomeApp ?
>
> Best,
> S.Kessler
>
>
> --
> [EMAIL PROTECTED]
>
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
