The gnome canvas SHOULD allow any gtk widget to be positioned directly on the
canvas. But I find that only SOME widgets are actually visible. It's possible
the others are not being refreshed properly...? Make a gnome canvas and check
out this code. You should see 5 widgets, but you will only see 2.
---------8<-----------
w = GtkFrame("hello")
canvas.widget = canvas.root().add('widget', widget=w, x=10, y=0, width=100,
height=50)
w.show()
w = GtkButton("hello")
canvas.widget = canvas.root().add('widget', widget=w, x=10, y=50, width=100,
height=50)
w.show()
w = GtkLabel("hello")
canvas.widget = canvas.root().add('widget', widget=w, x=10, y=100,
width=100, height=50)
w.show()
w = GtkEntry()
canvas.widget = canvas.root().add('widget', widget=w, x=10, y=150,
width=100, height=50)
w.show()
w = GtkHSeparator()
canvas.widget = canvas.root().add('widget', widget=w, x=10, y=200,
width=100, height=50)
w.show()
---------8<-----------
Unless I'm missing something.
Jeff
--
J.W. Bizzaro mailto:[EMAIL PROTECTED]
Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/
--
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]