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 >> pythoncard
pythoncard
RE: [Pythoncard-users] wxRightTextCtrl
by Kevin Altis other posts by this author
Feb 6 2002 7:31AM messages near this date
Re: [Pythoncard-users] wxRightTextCtrl | [Pythoncard-users] MPEG video
No, it doesn't exist yet. I've been putting off the move to direct
subclasses of wxPython controls, but I'll go ahead and dig into it and see
what problems crop up. Assuming the switch isn't a total disaster, then
adding new components will be much simpler.

However, if you want to do it today for yourself you would probably need to
copy the textfield.py component (see the components directory) and then
substitute wxRightTextCtrl for wxTextCtrl and then change the names like
TextField to RightTextField or something like that, but I think almost
everything else would be the same.

You can give it a try and then let me know what troubles you run into, if
any. The Property Editor (debug.py) and resourceEditor.py would also have to
be modified if you want the component available when doing layouts, but I
don't recommend you delve into that code.

ka
  -----Original Message-----
  From: pythoncard-users-admin@[...].net
[mailto:pythoncard-users-admin@[...].net]On Behalf Of Randy Lea
  Sent: Tuesday, February 05, 2002 10:58 PM
  To: pythoncard-users@[...].net
  Subject: [Pythoncard-users] wxRightTextCtrl


  I'm writing an RPN calculator app as a tool for learning PythonCard (which
is really cool, thanks ka!). For the result window, I think I need the
wxRightTextCtrl widget recently added in wxPython 2.3.2 to display right
justified text. I don't believe wxRightTextCtrl is available in PythonCard
yet, so if thats the case, will it be added soon? If not, maybe I can try to
create a PythonCard widget.

  rlea
Attachments:
unknown1

Thread:
Randy Lea
Andy Todd
Kevin Altis

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