gtk_tooltips_set_tips



I am just learning GTK, and am having trouble getting tooltips to work.
In the tutorial, it mentions a function called gtk_tooltips_set_tips,
which takes a GtkWidget, a GtkTooltips and a char pointer as arguments,
and assigns the tooltips to the widget.  When trying to use this, I get an
implicit declaration error and undefined reference when linking.  I have
looking in the gtktooltips.h header and it has a gtk_tooltips_set_tip
function, which also takes an extra char pointer which is tip_private.  I
have tried calling this function using random text strings, which caused
segmentation faults.  I am using GTK 1.0.2...anyone know what might be
wrong?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Al Wold                            |                           
alwold@inter-web.net               |       Interweb Technologies  
http://www.inter-web.net/~alwold/  |      http://www.inter-web.net
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



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