On 18 Apr 2001, Rob Brown-Bayliss wrote:
> Hi
>
> I am trying to swap the toolbars in a gnome app and libglade.
>
> I have my toolbar from the glade file, and the dock to contain it. The
> dock is empty so I do:
>
> Dock.append(toolbar,0)
>
> but this is giving me an error, I guess it's to do with the offset which
> I don't understand, from gnome/ui.py under GnomeDockBand
>
> def append(self, child, offset):
> return _gnomeui.gnome_dock_band_append(self._o, child._o,
> offset)
>
You can add GnomeDockItems to the GnomeDock with the add_item() method.
You don't usually have to play around with GnomeDockBands.
James.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk