[Tutor] Need help with wxListCtrl

Jacob S. keridee at jayco.net
Wed Nov 30 23:00:09 CET 2005


Hi, long time no see.

For you Spanish speakers:

Yo tenía que aprender a poco español mientras no estaba aquí. Si ustedes son 
aburrido y me desean ayudar aprender más, mandan una -- ¿Qué desea decir 
"email"? Y no mandan el (email) en el (mailing list), por favor.  (It would 
be much, much appreciated.)



Okay, now that that is done, I would appreciate help with the wxListCtrl. 
The documentation is supposed to be portable between languages, but it 
confuses me.  Using boa-constructor, I have placed a wxListCtrl on my form, 
but am unable to figure out how to add items to it.  Diagram below.



+-----------+---------------------+--------------------+------------------+----------------+---------+

| Date          |   Description             |  Points                    | 
Points Possible     |  Percentage       | Grade    |

+-----------+---------------------+--------------------+------------------+----------------+---------+

|                  |                                 | 
|                             |                         |               |

|                  |                                 | 
|                             |                         |               |

|                  |                                 | 
|                             |                         |               |

|                  |                                 | 
|                             |                         |               |

|                  |                                 | 
|                             |                         |               |

|                  |                                 | 
|                             |                         |               |

|                  |                                 | 
|                             |                         |               |

+-----------+---------------------+--------------------+------------------+----------------+---------+


I noticed there is a simplified form of wxListCtrl, but both seem to want to 
add wxListItem s which include images, etc.
Does anyone know a straight forward way to add lines to this control 
implicitly -- programmatically?
I figure if I don't get responses here, I will try at the wxPython list.  (I 
hesitate to do that yet, I know you better here)

Sincerely,
Jacob 



More information about the Tutor mailing list