Re: get_maximized
- From: Emmanuele Bassi <ebassi gmail com>
- To: Sergei Steshenko <sergstesh yahoo com>
- Cc: gtk-perl-list gnome org
- Subject: Re: get_maximized
- Date: Wed, 06 Sep 2006 15:08:11 +0100
Hi;
Could you please quote the right way? Thanks.
On Wed, 2006-09-06 at 06:54 -0700, Sergei Steshenko wrote:
$window->signal_connect(window_state_event => sub {
my ($w, $event) = @_;
if ($event->changed_mask & [ 'maximized', ]) {
print "The window has been maximized\n";
}
});
Isn't "&" in
$event->changed_mask & [ 'maximized', ]
bitwise AND ?
And doesn't "[ 'maximized', ]" return array reference ?
If the answer to both questions is YES, how will it work ?
Sheer magic, or more probably an error due to my badly deteriorating
memory. I'll let you decide and, in case, test.
Ciao,
Emmanuele.
--
Emmanuele Bassi, E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]