# my $frm_menu = $mw -> Frame() ->pack(-side=>"top",-fill => 'x'); #my $txt = $frm_menu -> Scrolled('Text',-width => 50,-scrollbars=>'e') -> pack ();
####设置标签 $code_font = $mw->fontCreate(-family => '黑体',-size => 100); my $lab = $mw -> Label(-text=>"xxxxx\n运维巡检平台",-font => $code_font)->pack(qw/-side top -fill both -expand 1 /);