Re: Gtk2::ComboBoxEntry
- From: "A. Pagaltzis" <pagaltzis gmx de>
- To: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: Gtk2::ComboBoxEntry
- Date: Wed, 13 Jul 2005 18:45:12 +0200
* Jens Luedicke <jens luedicke gmail com> [2005-07-13 17:40]:
how can I set some text to the entry widget so that the
associated "changed" signal callback isn't called? Same for
typing in the entry. This makes the box really useless. changed
should only be be called if I select something from the list
below.
Whereâs the problem? Just call Gtk2::ComboBoxEntry->get_active()
and check if itâs -1. If it is, that means the user typed
something. If itâs a non-negative integer that means the user
selected an entry from the dropdown.
Regards,
--
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]