Thank you very much for this.
> I've added inline the changes you need to make it work.
Was this a pun? ;)
>
> # according to the gtk source, the cursor-on-match signal
> # will be emitted only if the completion's inline-selection
> # property is set to true.
> $completion->set (inline_selection
Thanks for clarifying this.
> It's quite alright to connect more than one callback to the same
> signal -- but you have to be careful about ordering and the return
> value. If you return true from an event signal, that means "i handled
> the event, stop propagating it," so no more handler callba
On Nov 6, 2010, at 7:53 AM, Zettai Muri wrote:
> Hi All,
>
> Am trying to connect to events again and this time in a Gtk2::EntryCompletion.
>
> I have borrowed some of the code from:
> http://www.koders.com/perl/fidB8CEA21DDF39929C30B4914E5CD897D03858890E.aspx?s=gtk2#L14
>
> Below is what I ha
Hi All,
Am trying to connect to events again and this time in a Gtk2::EntryCompletion.
I have borrowed some of the code from:
http://www.koders.com/perl/fidB8CEA21DDF39929C30B4914E5CD897D03858890E.aspx?s=gtk2#L14
Below is what I have so far:
#!/usr/bin/perl
package main;
use strict;
use Gtk2 -i
>
>> The problem is that you connect the button_press_event to two different
>> callbacks. I've changed your code in order make things work as you have
>> described.
>
>
> It's quite alright to connect more than one callback to the same signal --
> but you have to be careful about ordering and the