in reply to Re^6: Is there a way to make Prima widgets accept double byte characters?
in thread Is there a way to make Prima widgets accept double byte characters?
Seems like a bug, or at least as an unintended use . Will try to fix, watch github for changes. Meanwhile, would that help you?
#!/usr/bin/perl -- use strict; use warnings; Main( @ARGV ); exit( 0 ); sub Main { ShowPrima(); ShowPrima(); } sub ShowPrima { require Prima ; require Prima::Buttons; require Prima::Application; $::application ||= Prima::Application-> create( qw' name Prima '); + my $mw = Prima::MainWindow->create( text => 'Hello world!', size => [ 200, 200], ); $mw-> insert( Button => centered => 1, text => 'Hello world!', onClick => sub { $mw-> cancel }, ); $mw-> execute; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: Is there a way to make Prima widgets accept double byte characters?
by Anonymous Monk on Jun 09, 2011 at 10:01 UTC | |
by dk (Chaplain) on Jun 09, 2011 at 12:50 UTC | |
by Anonymous Monk on Jun 10, 2011 at 06:46 UTC | |
by dk (Chaplain) on Jun 10, 2011 at 07:50 UTC | |
by Anonymous Monk on Aug 13, 2011 at 16:32 UTC |
In Section
Seekers of Perl Wisdom