logo       

Setting placement property of a BonoboDockItem: msg#00108

gnome.gtk+.python

Subject: Setting placement property of a BonoboDockItem

I have a BonoboDockItem that is set by default placement on top. I need
to be able to change this at run-time. I have the following glade setup:

<packing>
<property name="placement">BONOBO_DOCK_TOP</property>
<property name="band">2</property>
<property name="position">0</property>
<property name="offset">0</property>
<property
name="behavior">BONOBO_DOCK_ITEM_BEH_EXCLUSIVE|BONOBO_DOCK_ITEM_BEH_LOCKED</property>
</packing>

So, all I need to do is change the "placement" property to
BONOBO_DOCK_LEFT in python. I need to know the function to do this at
run-time, and I can't find it in the documentation (neither the PyGTK
stuff or the normal C). Any pointers???

Gabe
_______________________________________________
pygtk mailing list pygtk@xxxxxxxxxx
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise