Re: GtkComboBox and focus change events: Bug?
| From: | André Jansen | Date: | Tue, 14 Mar 2006 22:02:38 +0000 |
| Subject: | Re: GtkComboBox and focus change events: Bug? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6790@lists.php.net to get a copy of this message | ||
On 14 Mar 2006 at 8:55, Scott Mattocks wrote:
> André Jansen wrote:
> > On 13 Mar 2006 at 9:00, Scott Mattocks wrote:
> >
> > Indeed.
> > But what happens is that the 'focus' signal fires the callback both when
> > the GtkComboBox gets and loses focus. The callback connected to the
> > focus-out-event never fires.
>
> You may want to file this as a bug. In some cases knowing that focus has
> changed may not be good enough. Someone will one day probably need to know
> exactly if the widget received or lost focus. 'focus-in-event' and
> 'focus-out-event' should work properly.
Indeed they should.
As I mentioned earlier in the post that started the thread, I suspect it
having something to do with GtkComboBox being a composite widget.
However, it would be nice to have an opinion of someone who is more
familiar with the innards of PHP-GTK, in order to determine whether it is
strictly a GTK issue and if so, can it be overridden in PHP-GTK?
Cheers,
--
André
===========================================================
Of course there's no reason for it, it's just our policy.