Wed, 17 Oct 2001 10:44:37 +0200
On 0, Glauco Silva <firstname.lastname@example.org> wrote:
> I would like to know if the lib wxPython isn't compatible with Tkinter because i'm whith problem :
> - I start to make a program using Tkinter and i want to use a function that only have in the wxPython and i'm not getting .
> If somebody know a solution , please help me .
Unfortunately, you can't mix two GUI frameworks. Internally, they are very different, and
they weren't designed to be mixed with other systems.
> This is a slice of my code :
> self.midframe41 = Frame(self.midframe4)
> self.midframe41.pack(side = LEFT)
> tID = wxNewId()
> self.list = wxListCtrl(self.midframe41 , tID , style=wxLC_REPORT|wxSUNKEN_BORDER)
> # ^
> # |
> # the problem is here . I can't use the parent like a Frame of Tkinter.
Yes. Either you make your GUI using Tkinter, or you use wxPython, but you
can't use both :-(.
I think it's possible to get list controls in Tk, but I don't know how...