ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activeperl
activeperl
Re: ActivePerl 822 and Windows GUI look/feel
by Octavian Rasnita other posts by this author
Apr 20 2008 12:45AM messages near this date
Re: ActivePerl 822 and Windows GUI look/feel | RE: ActivePerl 822 and Windows GUI look/feel
If you need your application to look and feel like a Windows native 
application, the only choices as far as I know are WxPerl and Win32::GUI.
If you also need it to be portable, it remains WxPerl.

WxPerl uses the OS native GUI, the Win32 API under Windows, so the program 
widgets will look the same like other Windows apps.
Because of this, under Windows, only the programs created with WxPerl and 
Win32::GUI are also accessible for the screen readers used by the blind, 
while Tk applications are not accessible at all.
So anything you do, the Tk applications won't "look and feel" like Windows 
apps for everyone.

There is very few documentation for WxPerl, but there is more documentation 
for wxWidgets in general, or for WxPython, so if you know C (or even if you 
don't), you can follow the wxWidgets documentation for C and you will know 
what you will need to do.
I have a .chm file with the WxPerl documentation but unfortunately it was 
not updated for a long time, and I can read in very many places that "this 
method is not available in WxPerl" although this is not always true, but the 
WxPerl mailing list members were very helpful to make the things clear.

Octavian

----- Original Message ----- 
From: "David Christensen" <dpchrist@[...].com> 
To: <activeperl@[...].com> 
Sent: Sunday, April 20, 2008 8:55 AM
Subject: ActivePerl 822 and Windows GUI look/feel


>  activeperl:
> 
>  I am attempting to build a GUI application on XP using ActivePerl 822.
>  It is required that I use/ configure widgets that match the look and
>  feel of native Win32 controls (exactly, or very nearly so).  I've played
>  with several GUI toolkit/ framework choices:
> 
>  Tk
>  Win32::GUI
>  Prima
>  Wx
> 
>  Of the four, Tk seems to be the best documented and the defacto standard
>  for Perl GUI development.  Both of these factors are also very
>  important. Also, at some point in the future, the code may be ported to
>  Unix, Linux, *BSD, Mac, etc., which pretty much rules out Win32::GUI (as
>  I understand it).
> 
> 
>  After choosing Tk, I've prototyped some code with windows, menus,
>  labels, edit boxes, and combo boxes.  I immediately ran into problems
>  with combo boxes.  I've tried the following Perl/Tk widgets, but have
>  been unable to match native Win32 look and/ or feel:
> 
>  BrowseEntry
>  JBrowseEntry
>  JComboBox
> 
> 
>  I am hoping that there is an Perl/Tk widget supported by ActivePerl that
>  I can configure and/or tweak to mimic a Win32 combo box precisely.
> 
> 
>  Any suggestions?
> 
> 
>  TIA,
> 
>  David
> 
>  _______________________________________________
>  ActivePerl mailing list
>  ActivePerl@[...].com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs 

_______________________________________________
ActivePerl mailing list
ActivePerl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
David Christensen
Foo JH
Octavian Rasnita
Octavian Rasnita
Octavian Rasnita
David Christensen
Stuart Arnold

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved