Invisible plug window, embedding event boxes



Cheers all,

I am somewhat new to gtk and cannot figure this one out.

I would like to use gtk tooltips (amongst other things) in my non-Gtk
application. So what I do is to create a plug widget that is embedded in
my X window. The I create a tooltip object for tooltip mantenance. Then
some event boxes which get embedded into the plug widget and are used to
add the tooltips.

So far it works fine ... exept that the plug window overdraws my
application window as a black box. 

Is there a way to make the plug window invisible? Or to inhibit it
beeing drawn (so it appears invisible)? 

Is there another way would be not to use the plug window, but to embed
the event boxes directly into my existing window. Can that be done?

Also the positioning of the event boxes seems odd - I used set_uposition
and set_usize commands on them to position them, but the tooltip pops up
at a different location.

Ciao
Andreas



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