Re: getting doubleclick from row in clist

On Tue, 2002-05-07 at 14:57, Kim Schulz wrote:
How do I connect signal for when a user doubleclicks a row in a clist? 
I need to connect it to the sub row_activated 

Kim Schulz - Freelance Development    | Time-sharing is the junk-mail  - En nørds bekendelser | part of the computer business. - hverdagens små hacks | -- H.R.J. Grosch (attributed) 

Connect the signal in the normal fashion and use a handler like this:

sub select_data {
        my ($clist, $ev) = @_;

        if ($ev->{button} == 1 and $ev->{type} eq '2button_press') {
                my ($row, $col) =
                #do stuff with that row/column.

Today is Boomtime the 54th day of Discord in the YOLD 3168
Or not.

Missile Address: 33:48:3.521N  84:23:34.786W

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