Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经计划做 Perl socket 的聊天练习了。在此我想使用 Perl/Tk 显示 require 窗口。这里我的要求是窗口必须显示在右下角。它就像 Gmail 聊天窗口。我需要什么来实现这一目标?默认情况下,它显示在左上角。
使用以下代码
use strict; use warnings; use Tk; # Main Window my $mw = MainWindow->new; $mw->geometry('+793+475'); # Slightly down to the right MainLoop;
Tk::Wm->几何