canvas + widgets, part II

my impression is that because widgets tend to call gdk_draw_foo(),
they will not obey canvas stacking order if they share the same
rendering area as another canvas item. this seems obvious since they
will render directly to the X server (assuming GDK+X), rather than the
canvas' rendering buffer.

the test-gtkcanvas application demonstrates this clearly: drag any
item under the GtkButton, and it will never appear on top of the
button no matter what you do to the stacking order.

is this an inevitable consequence of calling gdk_draw_foo()? is there
any way around this? it seems like a major limitation for
canvas-embedded widgets (they can't share space with other canvas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]