I need to put a StaticBox,how to put it in existing design.Just write the whole example syntax with real world values.
StaticBox...
Collapse
X
-
Tags: None
-
I hereby nominate you for the "Most useless post" award 2008! Congrats man!
For starters. What toolkit are you using?
You need to put(?) a StaticBox? Gramar does not compute. Im sorry but my english sucks so i cant figure out what it realy means. I think you want to place a StaticBox, contaning god knows what in jesus have no idea.
"how to put it in existing design." Thats not a question. Or is it? If it is, hows your design?
Real world values? like, iDontHaveAGirl = True and myDogGotShot = "cool" (Unless one kan read your mind, one can not use variables that are identical to those you are using) -
[CODE=python]import os, sys, wx
class MainWindow(wx.F rame):
def __init__(self, parent, title):
wx.Frame.__init __(self, parent, -1, title, size = (300, 200),
style=wx.DEFAUL T_FRAME_STYLE | wx.NO_FULL_REPA INT_ON_RESIZE)
sizer = wx.BoxSizer(wx. VERTICAL)
panel = wx.Panel(self, -1)
box = wx.StaticBox(pa nel, -1, 'This is a static box')
panel.SetSizer( sizer)
sizer.Add(box, 1, wx.EXPAND | wx.ALL, 10)
self.Bind(wx.EV T_CLOSE, self.exitApp)
def exitApp(self,ev ent=None):
self.Destroy()
if __name__ == '__main__':
myapp = wx.App(redirect =False)
myframe = MainWindow(None , 'test')
myframe.Center( )
myframe.Show()
myapp.MainLoop( )[/CODE]
Is that what you mean? There's a very simple example of putting a Static Box onto a wx.Frame/PanelComment
-
Thank you very much for ur reply,
U have told me everything except the solution which i have asked
if u don't know the solution then don't make fun of other's,ok.
Don't try to be smart,i have just started my career in python that's y i asked.Yes u and ur english both sucks.One more if u can't give the solution then don't participate in these forums,we don't have time for these useless conversations.
Originally posted by SmygisI hereby nominate you for the "Most useless post" award 2008! Congrats man!
For starters. What toolkit are you using?
You need to put(?) a StaticBox? Gramar does not compute. Im sorry but my english sucks so i cant figure out what it realy means. I think you want to place a StaticBox, contaning god knows what in jesus have no idea.
"how to put it in existing design." Thats not a question. Or is it? If it is, hows your design?
Real world values? like, iDontHaveAGirl = True and myDogGotShot = "cool" (Unless one kan read your mind, one can not use variables that are identical to those you are using)Comment
-
Originally posted by jlm699[CODE=python]import os, sys, wx
class MainWindow(wx.F rame):
def __init__(self, parent, title):
wx.Frame.__init __(self, parent, -1, title, size = (300, 200),
style=wx.DEFAUL T_FRAME_STYLE | wx.NO_FULL_REPA INT_ON_RESIZE)
sizer = wx.BoxSizer(wx. VERTICAL)
panel = wx.Panel(self, -1)
box = wx.StaticBox(pa nel, -1, 'This is a static box')
panel.SetSizer( sizer)
sizer.Add(box, 1, wx.EXPAND | wx.ALL, 10)
self.Bind(wx.EV T_CLOSE, self.exitApp)
def exitApp(self,ev ent=None):
self.Destroy()
if __name__ == '__main__':
myapp = wx.App(redirect =False)
myframe = MainWindow(None , 'test')
myframe.Center( )
myframe.Show()
myapp.MainLoop( )[/CODE]
Is that what you mean? There's a very simple example of putting a Static Box onto a wx.Frame/Panel
i have already done with it.Comment
Comment