wx.ChecklistCtrl

Hi,

isn't, i.e
self.list.CheckItem(list_index,'FALSE')

supposed to uncheck an item in CheckListCtrlMixin?

I am not getting the result i am expecting....

self.list.CheckItem(list_index,'True')

doesn't work either, but

self.list.CheckItem(list_index)

sets the Item to checked ....

So how o i uncheck an item in a CheckListCtrlMixin?

ThanX

Hi,

Hi,

isn’t, i.e

self.list.CheckItem(list_index,‘FALSE’)

The second parameter should be a bool (i.e., True or False), not a string.

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”

http://xoomer.alice.it/infinity77/

import PyQt4.QtGui

Traceback (most recent call last):

File “”, line 1, in

ImportError: No module named PyQt4.QtGui

import pygtk

Traceback (most recent call last):

File “”, line 1, in

ImportError: No module named pygtk

···

On 24 October 2011 14:49, Tobias Weber wrote:

import wx

Hi,

Hi,

      isn't, i.e

      self.list.CheckItem(list_index,'FALSE')
      The second parameter should be a bool (i.e., True or

False), not a string.

ThanX- didn't see  it :-)
···

wxPython-users+unsubscribe@googlegroups.com
http://groups.google.com/group/wxPython-users?hl=en