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

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -