GtkFileFilter with a custom tooltip



Hi,

I'm trying without success to have my own tooltip in gtkfilefilter:
if ( ! mode )
        {
                FilterToolTip = gtk_tooltips_new();
gtk_tooltips_set_tip (FilterToolTip, GTK_FILE_FILTER (filter) , "Choose the archive type to create" , NULL);
                gtk_tooltips_enable ( FilterToolTip );

but during the execution of the program I get:
(xarchiver:5585): GLib-GObject-WARNING **: gsignal.c:1716: signal `event-after' is invalid for instance `0x82ac4c8'

(xarchiver:5585): GLib-GObject-WARNING **: gsignal.c:1716: signal `unmap' is invalid for instance `0x82ac4c8'

(xarchiver:5585): GLib-GObject-WARNING **: gsignal.c:1716: signal `unrealize' is invalid for instance `0x82ac4c8'

and obviously my tooltip is not shown, instead it's show the gtk standard one. Is it possible to achieve this ?

Thank you,
--
Colossus

Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/




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