On Sat, 2012-02-04 at 00:01 +0100, David Nečas wrote:
> On Fri, Feb 03, 2012 at 11:36:13PM +0100, Stefan Salewski wrote:
> > How can I immediately activate or deactivate tooltips for all TreeView
> > widgets on user action, i.e. menu operation.
> 
> You can enable/disable all tooltips using the "gtk-enable-tooltips"
> GtkSettings property.
> 

I guess this works on all applications of the Gnome/GTK desktop?
Maybe not what the user wants...

> But if you want to enable/disable them just for some specific of widgets
> you have to handle it yourself.  The easiest method is probably making
> the widgets query your enable/disable setting in their "query-tooltip"
> signal handlers – and then return TRUE or FALSE from the handlers.
> 
> Yeti

Thanks, this sounds good. I was not aware that this "query-tooltip"
handler is involved at all when I only use a simple
gtk_tree_view_set_tooltip_column()
(http://developer.gnome.org/gtk3/stable/GtkTreeView.html#gtk-tree-view-set-tooltip-column)

I will test it.

Best reagards,

Stefan Salewski


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to