Re: GtkComboBox and Tooltips
- From: Matthias Clasen <mclasen redhat com>
- To: Alexandru Csete <alexc phys au dk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkComboBox and Tooltips
- Date: Thu, 02 Dec 2004 10:48:15 -0500
On Thu, 2004-12-02 at 16:42 +0100, Alexandru Csete wrote:
Greetings,
I'm trying to use the new GtkCombox widget in Gtk+ 2.4 but I am not able
to use tooltips with it. I use the following code:
combo = gtk_combo_box_new_text ();
gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Item One"));
gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Item Two"));
tips = gtk_tooltips_new ();
gtk_tooltips_set_tip (tips, combo, _("Tooltips"), NULL);
Later on, I connect a callback to the "changed" signal and the resulting
combo box works fine except that the tooltips never show up. I didn't used
to have problems with
Any idea what is wrong? Do I have to set the tooltips for a child widget?
Thanks
It is not really possible to put tooltips on combo boxes currently.
If you are curious, you can look at what I did to make a tooltip appear
for the filter combobox in the file chooser. But it doesn't work for
keyboard activation of tooltips.
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]