I wish to place multiple items in a listbox and/or text control such
as
CompanyName AccountNo
Meridianhouse 1234
IBM 5678
utilizing '%-13.13s %-4.4s' % (cname,cnum)
both of the above lines have 13 chars, 4 spaces, 4 digits but they don't
line up. Proportional spacing messes it up. Is there a way of either
disabling proportional spacing in the list box (and also in the
wxTextCtrl) or calculating the appropriate spacing based on total
character witdths.
I wish to place multiple items in a listbox and/or text control such
as
CompanyName AccountNo
Meridianhouse 1234
IBM 5678
utilizing '%-13.13s %-4.4s' % (cname,cnum)
both of the above lines have 13 chars, 4 spaces, 4 digits but they don't
line up. Proportional spacing messes it up. Is there a way of either
disabling proportional spacing in the list box (and also in the
wxTextCtrl) or calculating the appropriate spacing based on total
character witdths.
Use a wxListCtrl instead.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
You cannot "disable" proportional spacing. You can select a non-proportional
font, such as Courier New, but the RIGHT way to display tabular data is with a
tabular control: a wxListCtrl or a wxGrid. That way, your user can adjust the
column widths to suit his own preferences.
wxGrids are pretty easy to use, and they are extremely flexible.
···
On Wed, 06 Nov 2002 14:33:26 -0600, Brad larson wrote:
I wish to place multiple items in a listbox and/or text control such
as
CompanyName AccountNo
Meridianhouse 1234
IBM 5678
utilizing '%-13.13s %-4.4s' % (cname,cnum)
both of the above lines have 13 chars, 4 spaces, 4 digits but they don't
line up. Proportional spacing messes it up. Is there a way of either
disabling proportional spacing in the list box (and also in the
wxTextCtrl) or calculating the appropriate spacing based on total
character witdths.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
For reasons yet inexplicable I would like to incorperate
avi files with the program I wrote with wxpython. How
would I go about adding an AVI file to wxpython?
Is it possible? If so how difficult is it? It would spice
up the programme a considerable amount.
For reasons yet inexplicable I would like to incorperate
avi files with the program I wrote with wxpython. How would I go about adding an AVI file to wxpython?
Is it possible? If so how difficult is it? It would spice
up the programme a considerable amount.
For reasons yet inexplicable I would like to incorperate
avi files with the program I wrote with wxpython. How would I go about adding an AVI file to wxpython?
Is it possible? If so how difficult is it? It would spice
up the programme a considerable amount.
Thanks
Arno
Not sure about this, but check out pygame - www.pygame.org.
It's SDL in Python, it's got plenty of AVI related stuff.
Actually I am in the process of writing a very detailed one; mostly
so I can understand the control more completely.
But it's not going to be complete for another week or so, sorry.
···
#--------------------------------
Jeff Sasmor jeff@sasmor.com
----- Original Message -----
From: "Tiago Duarte Felix" <tdf@mega.ist.utl.pt>
To: <wxPython-users@lists.wxwindows.org>
Sent: Thursday, November 07, 2002 12:53 PM
Subject: [wxPython-users] Styled text Control???
Where can i get a manual for this module of wxPython???
Thanks Niki, would you by any chance know where I could
aquire python theatre as I could not find it on the net.
Thank you
Arno
···
----- Original Message -----
Arno van der Walt wrote:
> For reasons yet inexplicable I would like to incorperate
> avi files with the program I wrote with wxpython. How
> would I go about adding an AVI file to wxpython?
>
Is it possible? If so how difficult is it? It would spice
up the programme a considerable amount.
Check if PythonTheatre still exists.
Thanks Niki, would you by any chance know where I could aquire python theatre as I could not find it on the net.
Thank you
Arno
----- Original Message -----
Arno van der Walt wrote:
For reasons yet inexplicable I would like to incorperate
avi files with the program I wrote with wxpython. How would I go about adding an AVI file to wxpython?
Is it possible? If so how difficult is it? It would spice
up the programme a considerable amount.
Check if PythonTheatre still exists.
HTH
Niki Spahiev
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
----- Original Message -----
From: "F. Oliver Gathmann" <gathmann@cenix-bioscience.com>
To: <wxPython-users@lists.wxwindows.org>
Sent: Monday, November 11, 2002 9:43 AM
Subject: Re: [wxPython-users] Avi wxpython
>Thanks Niki, would you by any chance know where I could
>aquire python theatre as I could not find it on the net.
>Thank you
>Arno
>----- Original Message -----
>
>>Arno van der Walt wrote:
>>
>>>For reasons yet inexplicable I would like to incorperate
>>>avi files with the program I wrote with wxpython. How
>>>would I go about adding an AVI file to wxpython?
>>>
> Is it possible? If so how difficult is it? It would spice
>up the programme a considerable amount.
>Check if PythonTheatre still exists.
>
>HTH
>Niki Spahiev
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
>For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org