perl - How can I move perlTk Widget on MacOS? -


if write on mac perltk "hello world" programm:

use tk; # main window $mw = new mainwindow; $label = $mw -> label(-text=>"hello world") -> pack(); $button = $mw -> button(-text => "quit",          -command => sub { exit })     -> pack(); mainloop; 

it works. can't move perltk widget on desktop. fixed on x11 programm. how can fix on macos? configuration x11? bad perltk version?

on tkx works fine:

use tkx; tkx::grid( tkx::ttk__button(".b", -text => "hello, world" ) ); tkx::mainloop(); 


Comments

Popular posts from this blog

java - Checkbox item adds to spinner -

php - mySQL problems with this code? -

C# MVC AngularJS -