[Tutor] Help

Glauco Silva gbcs1978@hotmail.com
Tue, 16 Oct 2001 14:52:44 -0300


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C15652.369AB4A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi ,=20

    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 .=20
   If somebody know a solution , please help me .
    This is a slice of my code :

      self.midframe41 =3D Frame(self.midframe4)
      self.midframe41.pack(side =3D LEFT)     =20
          =20
       tID =3D wxNewId()       =20
       self.list =3D wxListCtrl(self.midframe41 , tID ,  =
style=3DwxLC_REPORT|wxSUNKEN_BORDER)
                                  #          ^
                                 #           |
                                 #   the problem is here .  I can't use =
the parent like a Frame of Tkinter.=20

       self.list.InsertColumn(0, "Artist")
       self.list.InsertColumn(1, "Title", wxLIST_FORMAT_RIGHT)
       self.list.InsertColumn(2, "Genre")
       self.midframe41.Show(true)

Thank you
Glauco



------=_NextPart_000_0005_01C15652.369AB4A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi , </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I would like to know =
if the lib=20
wxPython isn't compatible with Tkinter because i'm whith problem =
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; - I start to make a =
program=20
using Tkinter and i want to use a function that only have in the =
wxPython and=20
i'm not getting . </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; If somebody know a =
solution , please=20
help me .</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; This is a slice of =
my code=20
:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
self.midframe41 =3D=20
Frame(self.midframe4)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
self.midframe41.pack(side =3D=20
LEFT)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
tID =3D wxNewId()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.list =3D =
wxListCtrl(self.midframe41=20
, tID ,&nbsp; style=3DwxLC_REPORT|wxSUNKEN_BORDER)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;#&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; ^</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT=20
face=3DArial size=3D2> =
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
|</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;#&nbsp;&nbsp; the problem is =
here=20
.&nbsp; I can't use the parent&nbsp;like a Frame of Tkinter. =
</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
self.list.InsertColumn(0, =
"Artist")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
self.list.InsertColumn(1, "Title",=20
wxLIST_FORMAT_RIGHT)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
self.list.InsertColumn(2, =
"Genre")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
self.midframe41.Show(true)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thank you</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Glauco</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0005_01C15652.369AB4A0--