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



On Tue, Nov 09, 1999 at 03:37:12PM +0000, Dermot Musgrove 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.
[...]
> 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?

connecting to 'unmap' for combo->list should do the same as unmap
for the popup window for your purpouses.

lupus

-- 
"You guys are definitely worth a wedding party." The Debian folks at ALS99



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