Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Tk]Intercettare movimento finestra

3 views
Skip to first unread message

Larry

unread,
Nov 22, 2009, 10:32:28 AM11/22/09
to
Salve,

con il seguente codice disegno tramite Tkx una finestra su schermo
principale:

#!/wperl

use strict;
use warnings;
use Tkx;
Tkx::package_require("BWidget");

my $mw = Tkx::widget->new(".");
$mw->g_wm_title('my_window');
$mw->g_wm_geometry("400x250-5+5");
$mw->g_wm_resizable(0,0);

Tkx::MainLoop();

__END__;

c'� un modo tramite "binding" di intercettare le nuovi posizioni a schermo x
e y della finestra? C'� una sorta di callback che viene invicata a seconda
di questo evento (onmove) ??

grazie

0 new messages