Hi, I found a porbelm, but i can.t make a solution, help? /* create a button of tooltips on/off in the toolbar */ icon = gtk_image_new_from_file ("gtk.xpm"); tooltips_button = gtk_toolbar_append_element (GTK_TOOLBAR(toolbar), GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, "Tooltips On/Off", "Toolbar with or without tips", "Private", icon, G_CALLBACK(toggle_event), toolbar); gtk_toolbar_append_space(GTK_TOOLBAR(toolbar)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(tooltips_button),TRUE); /* use the tooltips_button to set widgets in the toolbar show/or not show tooltips, when the mouse approaches */ /* it's the callback function,but it can't work*/ void toggle_event (GtkWidget *widget, gpointer data) { gtk_toolbar_set_tooltips (GTK_TOOLBAR (data), GTK_TOGGLE_BUTTON (widget)->active); } any good idea, how can i improve it? tks! -- View this message in context: http://www.nabble.com/A-problem-about-tooltips-tp21156465p21156465.html Sent from the Gtk+ - General mailing list archive at Nabble.com. _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list