RE: drawing upon a widget



> I was wondering if it was possible
> to draw someting upon another widget.
> I want to draw something with gdk_draw... upon
> a gtk_button for example.

a gtk_button is a gtk_container.
You may add whatever widgets you like on top of your button
( perhaps a dialog :)

> I WANT to do it. Even if it requires a non-portable 
> awfull hack (like reading some hidden widget strutures 
> or the like...)


Why not add a gtk_drawable?

( I wonder if you can add a Gnome_canvas to a gtk_button? Hmm, perhaps it
works. Weird... :)


// Liss



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