Re: ComboBox and Tooltips
- From: "Chas Owens" <chas owens gmail com>
- To: "Jeffrey Ratcliffe" <jeffrey ratcliffe gmail com>
- Cc: gtk-perl-list gnome org
- Subject: Re: ComboBox and Tooltips
- Date: Tue, 20 Mar 2007 10:51:29 -0400
On 3/20/07, Jeffrey Ratcliffe <jeffrey ratcliffe gmail com> wrote:
Having successfully compiled Gtk2 1.144 against gtk+ 2.10.11 in a
sandbox, I have just switched all my OptionMenus to ComboBoxes.
However, the Tooltips don't seem to work. Here is a little demo - the
button tooltip works fine, but the combobox not.
Hmm, it looks like Gtk2::ComboBox isn't acting properly on my machine
either. Until someone figures out what is wrong I would suggest the
following workaround:
my $ev = Gtk2::EventBox->new;
my $cb = Gtk2::ComboBox->new_text;
$cb->append_text ('Combo Box');
$cb->set_active(0);
$hbox -> pack_end ($ev, FALSE, FALSE, 0);
$ev->add($cb);
$tooltips -> set_tip ($ev, 'Combo Box');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]