Re: TreeView tooltip use immediate control
- From: Stefan Salewski <mail ssalewski de>
- To: David NeÄas <yeti physics muni cz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: TreeView tooltip use immediate control
- Date: Sat, 04 Feb 2012 00:16:30 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]