Re: ComboBox and Tooltips
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-perl-list gnome org
- Subject: Re: ComboBox and Tooltips
- Date: Sat, 24 Mar 2007 17:12:56 +0000
hi;
On Sat, 2007-03-24 at 14:50 +0100, Jeffrey Ratcliffe wrote:
Thanks, Chas, for the workaround.
On 23/03/07, muppet <scott asofyet org> wrote:
Yet again, the answer is "there is nothing in the bindings that would
cause this sort of behavior, so this is a gtk+ issue."
To wit, i see the exact same behavior from this transliteration of
your perl code to C (feel free to include it in your bugzilla
report ;-):
Unfortunately, for reasons I don't fully understand, it seems to be a
feature, rather than a bug:
http://bugzilla.gnome.org/show_bug.cgi?id=303717
The developer's comment was "Supporting tooltips on combobox items
depends on support for tooltips in tree view (think list-mode)."
a GtkComboBox is, widget-wise, the same as a GtkTreeView with some magic
attached; the (old) GtkTooltips API doesn't support adding tooltips into
a GtkTreeView because the CellRenderer objects do not receive the enter
and leave notify signals.
the new tooltip API in GTK+ trunk, which should (hopefully) become GTK+
2.12 before july, will allow adding tooltips into GtkTreeView and
GtkComboBox widgets. so, you'll have to wait - and for the time being
use event boxes.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]