Author |
Message |
cheapbag214s
Joined: 27 Jun 2013
Posts: 20008
Read: 0 topics
Warns: 0/10 Location: England
|
|
masterframe = ttk |
|
[url=http://www.yula-designs.com/occhiali-da-sole-ray-ban/]Prezzo Ray Ban[/url]
self.masterframe = ttk.Frame(self.root)
self.masterframe.grid()
self.mastercanvas = tkinter.Canvas(self.masterframe)
self.mastercanvas.grid()
self.scrollbar = ttk.Scrollbar(self.masterframe,orient="horizontal",
command = self.mastercanvas.xview)
self.scrollbar.grid()
[url=http://www.yula-designs.com/occhiali-da-sole-ray-ban/]Occhiali Ray Ban[/url] [url=http://www.evergreenslate.com/evergreenslate.asp]Gafas Oakley Baratas[/url] self.mastercanvas.configure(xscrollcommand=self.scrollbar.set)
for i,e in enumerate(self.db.elements):
xf = XFrame(self,e)
xf.grid(row=0,column=i,sticky="n") Edit:
class XFrame:
def __init__(self,app,x):
self.app = app
[url=http://www.ithoughthecamewithyou.com/gafas.asp]Gafas Oakley Baratas[/url] self.x = [url=http://www.developernotes.com/mbtuk.asp]MBT Shoes UK[/url] x
self.frame = ttk.Frame(self.app.mastercanvas)
self.set_up() # this sets frame's padding and populates it with widgets Now, where ever I paste two lines of code here suggested* - at the end of the first init definition, or at the end of the second init definition - nothing new happens. I see my frames appearing as I intended them to appear - 3 of them. Part of the 4th.
相关的主题文章:
[url=http://forum.thestardream.com/cgi-sys/suspendedpage.cgi?mod=spacecp&ac=blog&blogid=]http://forum.thestardream.com/cgi-sys/suspendedpage.cgi?mod=spacecp&ac=blog&blogid=[/url]
[url=http://fwsc.wenxiu.com/home.php?mod=spacecp&ac=blog&blogid=]http://fwsc.wenxiu.com/home.php?mod=spacecp&ac=blog&blogid=[/url]
The post has been approved 0 times
|
|
Thu 7:44, 22 May 2014 |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|