Re: [gtk-list] Re: GtkCombo: how do i ...



Paul Barton-Davis wrote:
> 
> I wrote:
> 
> >i want to use GtkCombo, but only pay attention to the value of
> >the entry once the popup has closed. if i use the "changed" signal of
> >the entry, i have to handle every change as the mouse moves up and
> >down the popup list. if i use the "activate" signal, then the user has
> >to press Return. is there a way to say "tell me when the user made a
> >selection from the popup list ?"
> 
> solution: use the "unmap" event of the popup window ...
IIRC someone also suggested using the 'hide' event of the popup.

As an aside - from gtkcombo.h
/* you should access only the entry and list fields directly */

Should we be using fields/methods that are not public? 

Or is this a candidate for a public field/method?

Or is there another way (to combo->popup) to get hold of the popup?

Gtk-Perl, understandably, only binds the public fields/methods so there is 
no way that I know to get at the popup. Has anyone solved this problem 
using Gtk-Perl?

Regards, Dermot



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]