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

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -