469,353 Members | 2,053 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,353 developers. It's quick & easy.

wxPython and CheckListBox

I am trying to add a caption or title to the box drawn around a
checklistbox and having no luck. Is there a way to do this?
I am using python 2.3.4 and wxPython 2.5 on a windows platform.

Noel

Jul 18 '05 #1
1 2921
On Jan 13, 2005, at 5:54 AM, nc******@networkusa.net wrote:
I am trying to add a caption or title to the box drawn around a
checklistbox and having no luck. Is there a way to do this?
I am using python 2.3.4 and wxPython 2.5 on a windows platform.


I don't think you can do it directly. What you might want to try is to
create a StaticBoxSizer with the label you want, and add the checkbox
to that sizer. Then add the StaticBoxSizer to the panel's layout
instead of the checkbox.

___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://dabodev.com/

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Bernie Yaeger | last post: by
3 posts views Thread by MikeY | last post: by
reply views Thread by Ville Mattila | last post: by
3 posts views Thread by obrienkev | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.