pygtk - How can I display a Gtk Widget over (inside) a Cairo surface? -
i have gtk widget named cloud (which subclasses gtk.eventbox) cairo surface painted svg. i'm trying display other gtk widgets (label/buttons) on it.
i tried adding gtk.label elements cloud not shown on surface.
using gtk.fixed , position cloud under label doesn't work either.
how draw gtk widget on cairo surface?
i don't know cloud gtk widget is; more generally, can use gtk.overlay
. add()
cloud widget main child, add_overlay()
other widgets.
Comments
Post a Comment