Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old February 26th, 2003, 12:48 PM
zguo zguo is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Canada
Posts: 3 zguo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how create listbox with checkbox ahead the items

Hi Guys,

I am going to create a listbox of lines of items. Each line will be
preceded by a check box, which will toggle its visual state when
clicked.

I am a beginner of Tkinter and woule like to how to do it from you.
thanks a lot in acvance!

Zhiqun

Reply With Quote
  #2  
Old March 13th, 2003, 03:35 PM
funvill funvill is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 funvill User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 29 sec
Reputation Power: 0
m_errorlist.InsertColumn(0, "Error code");
m_errorlist.InsertColumn(1, "Decription");
m_errorlist.InsertColumn(2, "Task");
m_errorlist.SetColumnWidth(0, 100);
m_errorlist.SetColumnWidth(1, 420);
m_errorlist.SetColumnWidth(2, 0);

ListView_SetExtendedListViewStyle
(m_errorlist.m_hWnd, LVS_EX_CHECKBOXES | LVS_EX_FULLROWSELECT);

Reply With Quote
  #3  
Old March 13th, 2003, 03:43 PM
Jonas_G Jonas_G is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Belgium
Posts: 60 Jonas_G User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Re: how create listbox with checkbox ahead the items

Quote:
Originally posted by zguo
I am a beginner of Tkinter

if you are a beginner I advise you to stop using Tkinter and give www.wxpython.org a try

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > how create listbox with checkbox ahead the items


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway