Getting window size before destroying it



Hey,

I've got little problem here... How i should get window size just before destroying it?

$gladexml->get_widget('wMain')->signal_connect(
    'destroy' => sub {
        ($config->{horizSize}, $config->{vertSize}) =
            $gladexml->get_widget('wMain')->get_size;
    }
);

This doesn't seem to work :(

Attachment: x11.vcf
Description: Vcard



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