zoukankan      html  css  js  c++  java
  • perl 创建文本框

    	my $mw = MainWindow->new(-title => "Mem monitor");
     $frm_name1 = $mw -> Frame()->pack(-side=>"top",-fill => 'x');
    
    
    
     $but1 = $frm_name1 ->Button(-text => "BackOffice 发布",-command =>&push_b1)-> pack(-side=>"left",-ipadx=>100,-padx=>30);
    
    
    
     $but2 = $frm_name1 ->Button(-text => "FrontEnd 发布",-command =>&push_b2)-> pack(-side=>"left",-ipadx=>100,-padx=>30);
    
    
    
     $but3 = $frm_name1 ->Button(-text => "Flow 发布",-command =>&sub_fun8)-> pack(-side=>"left",-ipadx=>100,-padx=>30);
    
    
    
     $but4 = $frm_name1 -> Button(-text => "Api 发布",-command =>&sub_fun8)-> pack(-side=>"left",-ipadx=>100,-padx=>30);
     
     
    
     $but5 = $frm_name1 -> Button(-text => "Pay 发布",-command =>&sub_fun8)-> pack(-side=>"left",-ipadx=>100,-padx=>30);
     
       $frm_name2 = $mw  -> Frame()->pack(-side=>"top",-fill => 'x');
      
    # my $but = $frm_name2 -> Button(-text=>"Push Me", -command =>&push_buttonxx) -> pack();
    #my $ent = $frm_name2 -> Entry() -> pack();
    #Text Area
    my $txt = $frm_name2 -> Text(-width=>240, -height=>100) -> pack();

  • 相关阅读:
    剧集更新表
    Pyhton资源
    JAVA资源
    012 循环
    011 条件判断
    010 使用list和tuple
    009 字符串和编码
    007 Python基础
    python 内置函数
    python 获取当前运行的类名函数名inspect.stack()[1][3]
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13350981.html
Copyright © 2011-2022 走看看