boa-constructor-users Mailing List for Boa Constructor - wxPython GUI Builder (Page 146)
Status: Beta
Brought to you by:
riaan
You can subscribe to this list here.
2000 |
Jan
|
Feb
(1) |
Mar
(18) |
Apr
(4) |
May
(17) |
Jun
(14) |
Jul
(18) |
Aug
(3) |
Sep
(30) |
Oct
(16) |
Nov
(11) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(19) |
Feb
(10) |
Mar
(4) |
Apr
(6) |
May
(27) |
Jun
(37) |
Jul
(44) |
Aug
(44) |
Sep
(49) |
Oct
(4) |
Nov
(6) |
Dec
(12) |
2002 |
Jan
(27) |
Feb
(22) |
Mar
(48) |
Apr
(21) |
May
(20) |
Jun
(6) |
Jul
(33) |
Aug
(34) |
Sep
(9) |
Oct
(41) |
Nov
(14) |
Dec
(35) |
2003 |
Jan
(75) |
Feb
(75) |
Mar
(59) |
Apr
(22) |
May
(18) |
Jun
(36) |
Jul
(50) |
Aug
(106) |
Sep
(71) |
Oct
(63) |
Nov
(81) |
Dec
(58) |
2004 |
Jan
(48) |
Feb
(42) |
Mar
(57) |
Apr
(64) |
May
(81) |
Jun
(30) |
Jul
(15) |
Aug
(39) |
Sep
(56) |
Oct
(61) |
Nov
(27) |
Dec
(20) |
2005 |
Jan
(74) |
Feb
(62) |
Mar
(237) |
Apr
(83) |
May
(138) |
Jun
(132) |
Jul
(61) |
Aug
(51) |
Sep
(17) |
Oct
(22) |
Nov
(59) |
Dec
(32) |
2006 |
Jan
(7) |
Feb
(7) |
Mar
(24) |
Apr
(15) |
May
(19) |
Jun
(46) |
Jul
(26) |
Aug
(51) |
Sep
(35) |
Oct
(90) |
Nov
(27) |
Dec
(23) |
2007 |
Jan
(22) |
Feb
(17) |
Mar
(14) |
Apr
(28) |
May
(38) |
Jun
(44) |
Jul
(34) |
Aug
(40) |
Sep
(29) |
Oct
(44) |
Nov
(16) |
Dec
(15) |
2008 |
Jan
(12) |
Feb
(37) |
Mar
(48) |
Apr
(35) |
May
(37) |
Jun
(32) |
Jul
(30) |
Aug
(28) |
Sep
(33) |
Oct
(19) |
Nov
(44) |
Dec
(45) |
2009 |
Jan
(30) |
Feb
(16) |
Mar
(48) |
Apr
(56) |
May
(100) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
(7) |
Nov
|
Dec
(3) |
2010 |
Jan
(8) |
Feb
(3) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(6) |
Nov
(22) |
Dec
|
2011 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Finbarr O'K. <fo...@mc...> - 2001-08-10 14:17:01
|
I have downloaded the latest version of boa (0.0.12) using cvs to check a problem we are having with splitter windows. I have created a window and placed in it a splitter & toolbar. Within the splitter I have place a text control (window 1) and a list box (window 2). This all seems fine and the app runs ok. I have the following problems when going back into designer:- 1] When you go back into designer the splitter fills the window and you can't see the toolbar anymore. The position in the properties window is (0,0) and if you change to (0,30) its fine but boa keeps on resetting it back to (0,0) 2] If you try to delete the splitter window (or even the contents of the window) boa crashes. I have tried to set the splitter properties of window 1 & 2 to None and then delete the text & list controls but this does not cure the problem either. Hope the feedback is useful Finbarr |
From: Finbarr O'K. <fo...@mc...> - 2001-08-09 09:47:09
|
Riaan Thanks for such a comprehensive reply and your example code. It's really helped my understanding of MDI parent & child windows. Boa allows the novice (like me) to contemplate GUI development - the product is truly brilliant! Thanks again Finbarr -----Original Message----- From: Riaan Booysen [mailto:riaan@e.co.za] Sent: 08 August 2001 19:05 To: Finbarr O'Keeffe; Tim David Bailey Cc: Boa list Subject: Re: [Boa Constr] calling child windows << File: wxApp1.py >> << File: wxMDIParentFrame1.py >> << File: wxMDIChildFrame1.py >> Hi Finbarr (cool name!) Finbarr O'Keeffe wrote: > > I am having a problem with wxMDIChildFrame windows. > > I have created a simple Boa application that starts with a wxMDIParent frame > with a simple menubar. From a menu option you call the wxMDIChildFrame > window. > > Questions:- > > 1] What is the best way (using Boa) of calling a child window. I ended up > putting "import wxMDIChildFrame1" at the top of wxMDIParentFrame1.py and > using a menu event to call the child window. Is this ok or is there a better > way to do it? > def OnFilemenuitems0Menu(self, event): > x=wxMDIChildFrame1.wxMDIChildFrame1(self) This is fine. Remember that if you keep a reference around (e.g. self.child) to this child window, that you need to clear this reference when the child closes or accessing this reference will cause a crash. > > 2] Once the child window has been called and the user moves this window the > parent (or any controls placed in the parent) is not redrawn. Clicking the > maximise box really sends the display funny! I have tried using a paint > event:- > def OnWxmdiparentframe1Paint(self, event): > dc = wxPaintDC(self) > but this does not solve the problem of redrawing the underlying parent > window. If I call a dialog box from the parent it is fine so the problem > must lie with the child window? I've now written an MDI example for Boa based on recent (and past) requests. Thanks to Robin for his MDI examples. It uses wxLayoutAlgorithm and a wxSashLayoutWindow, I don't know of a simpler way to to MDI where you have controls on the parent. It's much simpler tho to have a splitter and a tree ctrl behave properly than I suspected in a previous message to the list. The example is attached, note all the properties that need to be set for this to work properly. > > Any help would be appreciated > > Thanks > > Finbarr O'Keeffe > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. |
From: Riaan B. <riaan@e.co.za> - 2001-08-08 18:03:33
|
Hi Finbarr (cool name!) Finbarr O'Keeffe wrote: > > I am having a problem with wxMDIChildFrame windows. > > I have created a simple Boa application that starts with a wxMDIParent frame > with a simple menubar. From a menu option you call the wxMDIChildFrame > window. > > Questions:- > > 1] What is the best way (using Boa) of calling a child window. I ended up > putting "import wxMDIChildFrame1" at the top of wxMDIParentFrame1.py and > using a menu event to call the child window. Is this ok or is there a better > way to do it? > def OnFilemenuitems0Menu(self, event): > x=wxMDIChildFrame1.wxMDIChildFrame1(self) This is fine. Remember that if you keep a reference around (e.g. self.child) to this child window, that you need to clear this reference when the child closes or accessing this reference will cause a crash. > > 2] Once the child window has been called and the user moves this window the > parent (or any controls placed in the parent) is not redrawn. Clicking the > maximise box really sends the display funny! I have tried using a paint > event:- > def OnWxmdiparentframe1Paint(self, event): > dc = wxPaintDC(self) > but this does not solve the problem of redrawing the underlying parent > window. If I call a dialog box from the parent it is fine so the problem > must lie with the child window? I've now written an MDI example for Boa based on recent (and past) requests. Thanks to Robin for his MDI examples. It uses wxLayoutAlgorithm and a wxSashLayoutWindow, I don't know of a simpler way to to MDI where you have controls on the parent. It's much simpler tho to have a splitter and a tree ctrl behave properly than I suspected in a previous message to the list. The example is attached, note all the properties that need to be set for this to work properly. > > Any help would be appreciated > > Thanks > > Finbarr O'Keeffe > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2001-08-08 18:03:19
|
Hi Patrick, "Patrick K. O'Brien" wrote: > > Ugghhhhh. Let's try again. "I can imagine this *would* be non trivial." Yeah, but it's on the todo list ;) > > > I can imagine that this wouldn't be non trivial. The only other benefit I > > see is not "intimidating" someone who only wanted boa as a editor. Given > > that my main concern was resource consumption, I wouldn't push for this > > being too high on the list. Compared to most things on your hardrive, the space python files take up is insignificant. I'd rather turn sections on and off (but still have the entire distribution available for when something is needed. Note, if you don't want FTP, Zope, SSH, DAV, remove the entries ftp, zope, ssh, dav from the explorer section in your explorer.*.cfg file. Some modules are still loaded but the options should be gone. > > > > > Try the flags and wait for the next round of checkins and then > > > reevaluate your position on resources. > > > > Things are already running better. Thank you very much. Wait till the next checkin :) it will improve the situation even more. It radically improves the situation on NT (and 2000) where they were running out of menu resources before. On 98 I think you run out of other resources before the menus are all used. On NT after a fresh boot I've opened eleven Boas full of files so I'm satisfied with the current situation ;) > > > > --- > > Patrick K. O'Brien > > Orbtech > > "I am, therefore I think." > > > > > > _______________________________________________ > > Boa-constructor-users mailing list > > Boa...@li... > > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Patrick K. O'B. <po...@or...> - 2001-08-08 16:46:28
|
Ugghhhhh. Let's try again. "I can imagine this *would* be non trivial." > I can imagine that this wouldn't be non trivial. The only other benefit I > see is not "intimidating" someone who only wanted boa as a editor. Given > that my main concern was resource consumption, I wouldn't push for this > being too high on the list. > > > Try the flags and wait for the next round of checkins and then > > reevaluate your position on resources. > > Things are already running better. Thank you very much. > > --- > Patrick K. O'Brien > Orbtech > "I am, therefore I think." > > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Patrick K. O'B. <po...@or...> - 2001-08-08 16:27:35
|
> Unless you use it, the Inspector takes *very* little resources, I'll take your word on this, having no reason to disagree. > Two things for you to try: > > in prefs.rc.py > change > > useImageCache = 0 > > and > > paletteStyle = 'menu' I made those changes and they do seem to be helping. Thanks. > Making all the Frame design code 'optional' will also be non trivial. > I'll put this on the todo list I can imagine that this wouldn't be non trivial. The only other benefit I see is not "intimidating" someone who only wanted boa as a editor. Given that my main concern was resource consumption, I wouldn't push for this being too high on the list. > Try the flags and wait for the next round of checkins and then > reevaluate your position on resources. Things are already running better. Thank you very much. --- Patrick K. O'Brien Orbtech "I am, therefore I think." |
From: Finbarr O'K. <fo...@mc...> - 2001-08-08 15:46:55
|
I am having a problem with wxMDIChildFrame windows. I have created a simple Boa application that starts with a wxMDIParent frame with a simple menubar. From a menu option you call the wxMDIChildFrame window. Questions:- 1] What is the best way (using Boa) of calling a child window. I ended up putting "import wxMDIChildFrame1" at the top of wxMDIParentFrame1.py and using a menu event to call the child window. Is this ok or is there a better way to do it? def OnFilemenuitems0Menu(self, event): x=wxMDIChildFrame1.wxMDIChildFrame1(self) 2] Once the child window has been called and the user moves this window the parent (or any controls placed in the parent) is not redrawn. Clicking the maximise box really sends the display funny! I have tried using a paint event:- def OnWxmdiparentframe1Paint(self, event): dc = wxPaintDC(self) but this does not solve the problem of redrawing the underlying parent window. If I call a dialog box from the parent it is fine so the problem must lie with the child window? Any help would be appreciated Thanks Finbarr O'Keeffe |
From: Riaan B. <riaan@e.co.za> - 2001-08-08 01:01:00
|
Hi Patrick, "Patrick K. O'Brien" wrote: > > Riaan, > > How hard would it be to allow the boa editor window to be run by itself for > those situations where I'm not actually generating wxPython code and don't > want the overhead of having the designer and inspector windows loaded? Unless you use it, the Inspector takes *very* little resources, similarly the Designer will only take resources when you open a frame (which I'm not forcing you to ;) Also remember the Inspector is not just used for wxPython frame designing, but also for editing Zope/WebDav properties and even editing your preferences. > I > absolutely love editing code in boa, but having a couple of big apps open in > addition to boa is bringing Win98 to its knees a couple of times every day. > I figured this might help. I'm very aware of this problem and have made quite a few improvements since 0.0.5. Actually there are some changes (not yet booked in) that also improves the situation by dynamically creating menus instead of storing them. Two things for you to try: in prefs.rc.py change useImageCache = 0 and paletteStyle = 'menu' > Plus I think the boa editor is good enough to > compete with the likes of some of the other tools out there and more people > might use it if it had a standalone option. Your thoughts? Not an immediate goal for me. For later yes, I have considered it. I do want to be able to turn sections in Boa on and off, but it's not going to influence your resource usage significantly. Making all the Frame design code 'optional' will also be non trivial. I'll put this on the todo list Try the flags and wait for the next round of checkins and then reevaluate your position on resources. > > --- > Patrick K. O'Brien > Orbtech > "I am, therefore I think." > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2001-08-08 01:00:58
|
Hi Tim, Tim David Bailey wrote: > > Can anyone help? > > I am trying to create an application with a tree view on the left hand side > and child windows on the right seperated by a splitter. The idea is for the > childs to appear only on the left so the user can have an unobstructed view > of the tree view at all times. Is this possible?? If so how? I would be very > greatful to know please. > > Also any of the controls/windows in the wxMDIParentWindow have a problem > refreshing/repainting and just show up as a gray block. How do I combat > this? I have not yet written a real wxPython MDI application, so I have no knowledge about any MDI bugs. If I understand your first question (and I assume it applies to the same MDI app), you want the tree to be always visible and sizeable. If you create a tree directly on the MDI parent on the left side, the effective client area to host child windows is reduced to the right side of the frame, this sounds like what you want. You need to handle the sizing of the three yourself in an EVT_SIZE event. I suspect you will need to code the splitter/sizing yourself, as a splitter window needs 2 windows (we only have the tree) > > In desperate need of help, > > Tim > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2001-08-08 01:00:57
|
"Harnell, Lynndon" wrote: > > Riaan > I meant in the dos box you should cd to your Boa directory. There is a > shortcut for this; Open a normal windows folder and browse to the Boa > directory. Once there go Start->Run-Command and the DOS box should start in > the Boa directory. I'd like to find out the reason for this crash, so this > error is the only clue so far. > I have kept an archive copy of the version that crashed so I will try it out > with the dos window to see if I can see the reporting and let you know if > you wish. The crash also happened to me on 98 (there is nothing useful in the BOS box) but it only happened the first time and I could not reproduce it again (deleting & reinstalling did not crash again). I will look into this again when I have time :( -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Patrick K. O'B. <po...@or...> - 2001-08-07 19:11:49
|
Riaan, How hard would it be to allow the boa editor window to be run by itself for those situations where I'm not actually generating wxPython code and don't want the overhead of having the designer and inspector windows loaded? I absolutely love editing code in boa, but having a couple of big apps open in addition to boa is bringing Win98 to its knees a couple of times every day. I figured this might help. Plus I think the boa editor is good enough to compete with the likes of some of the other tools out there and more people might use it if it had a standalone option. Your thoughts? --- Patrick K. O'Brien Orbtech "I am, therefore I think." |
From: Tim D. B. <td...@mc...> - 2001-08-07 08:16:32
|
Can anyone help? I am trying to create an application with a tree view on the left hand side and child windows on the right seperated by a splitter. The idea is for the childs to appear only on the left so the user can have an unobstructed view of the tree view at all times. Is this possible?? If so how? I would be very greatful to know please. Also any of the controls/windows in the wxMDIParentWindow have a problem refreshing/repainting and just show up as a gray block. How do I combat this? In desperate need of help, Tim |
From: Riaan B. <riaan@e.co.za> - 2001-08-06 17:50:27
|
Hi Lynndon, Lynndon Harnell wrote: > > Hi there > > I think I found a bug in the wxSpinButton control. I was attempting to > emulate the wxSpinButton in Boa just as a learning exercise. The > following is my wxFrame1 code: > > #Boa:Frame:wxFrame1 > from wxPython.wx import * > def create(parent): > return wxFrame1(parent) > [wxID_WXFRAME1, wxID_WXFRAME1PANEL1, wxID_WXFRAME1SPINBUTTON1, > wxID_WXFRAME1TEXTCTRL1] = map(lambda _init_ctrls: wxNewId(), range(4)) > class wxFrame1(wxFrame): > def _init_utils(self): > pass > def _init_ctrls(self, prnt): > wxFrame.__init__(self, id = wxID_WXFRAME1, name = '', parent = > prnt, pos = wxPoint(196, 141), size = wxSize(326, 222), style = > wxDEFAULT_FRAME_STYLE, title = 'wxFrame1') > self._init_utils() > self.panel1 = wxPanel(id = wxID_WXFRAME1PANEL1, name = > 'panel1', parent = self, pos = wxPoint(0, 0), size = wxSize(318, 192), > style = wxTAB_TRAVERSAL) > self.textCtrl1 = wxTextCtrl(id = wxID_WXFRAME1TEXTCTRL1, name > = 'textCtrl1', parent = self.panel1, pos = wxPoint(120, 72), size = > wxSize(100, 21), style = 0, value = '12') > v = int(self.textCtrl1.GetValue()) > self.spinButton1 = wxSpinButton(id = wxID_WXFRAME1SPINBUTTON1, > name = 'spinButton1', parent = self.panel1, pos = wxPoint(224, 72), > size = wxSize(16, 24), style = wxSP_ARROW_KEYS | wxWANTS_CHARS | > wxSP_VERTICAL) > self.spinButton1.SetValue(v) > EVT_SPIN(self.spinButton1, wxID_WXFRAME1SPINBUTTON1, > self.OnSpinbutton1Spin) > def __init__(self, parent): > self._init_ctrls(parent) > def OnSpinbutton1Spin(self, event): > self.textCtrl1.SetValue(str(event.GetPosition())) > # self.spinButton1.SetRange(1, 24) > #-----------------------------------------end of code > Firstly, I could not find the SetRange on either the Constructor or > the Properties tab of the Inspector. wxSpinButton does not yet have a Range property in Boa for the reason that it does not look like a standard setter method, it takes three parameters instead of the usual two. I'm counting the self parameter here so the explanation later on may be less confusing. This means I have to write a custom property editor for this property, please add this as a feature request not a bug request ;) > > Not withstanding this, I attempted to insert the last line of this > code (using the wxPython demo code just after the > "self.spinButton1.SetValue(v) line" (I previously just had a number > rather then the "v" as shown above. > > It ran all right but the Frame Designer insisted that this property > needed 3 parameter. A check in the wx docs states only 2. It was wxPython not Boa insisting about the parameters. The SetRange method does take 3 parameters : self, min, max. Remember, when calling a method the instance is implicitly passed as the first parameter. Boa successfully parsed the SetRange method you added to _init_ctrls but it only took and used the first two parameters; self, min (That's how standard boa properties work) Boa automatically displays 'standard' properties which can be handled by default. Chances are if the property does not appear in the Inspector, adding it to _init_ctrls will fail. > > The next thing was that Boa does not like the code > "v = int(self.textCtrl1.GetValue())" > > and I get a error message NameError: Name 'v' is not defined. I know > we are not supposed to put manual code into the def statements but I > could not work how else to do it. I'm glad it works exactly as it should. The Designer gave an error message and cancelled the session. You are not allowed to add arbitrary code like that to _init_* methods and Boa complained. As the docs recommend you may just add the code: v = int(self.textCtrl1.GetValue()) self.spinButton1.SetValue(v) self.spinButton1.SetRange(1, 24) to your __init__ method underneath self._init_ctrls(parent) A second option would be to use the more advanced feature of special frame attributes. Please read the section 'Mixing your code with generated code' in the Boa Documentation. > > The next thing is that I attempted to use the Boa "Bug Reporting" > option on the web pages, but SF did not seem to respond at all. > > Cheers, beers and more beers > > Lynndon Harnell -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Lynndon H. <lyn...@ec...> - 2001-08-03 11:43:01
|
Hi there I think I found a bug in the wxSpinButton control. I was attempting to emulate the wxSpinButton in Boa just as a learning exercise. The following is my wxFrame1 code: #Boa:Frame:wxFrame1 from wxPython.wx import * def create(parent): return wxFrame1(parent) [wxID_WXFRAME1, wxID_WXFRAME1PANEL1, wxID_WXFRAME1SPINBUTTON1, wxID_WXFRAME1TEXTCTRL1] = map(lambda _init_ctrls: wxNewId(), range(4)) class wxFrame1(wxFrame): def _init_utils(self): pass def _init_ctrls(self, prnt): wxFrame.__init__(self, id = wxID_WXFRAME1, name = '', parent = prnt, pos = wxPoint(196, 141), size = wxSize(326, 222), style = wxDEFAULT_FRAME_STYLE, title = 'wxFrame1') self._init_utils() self.panel1 = wxPanel(id = wxID_WXFRAME1PANEL1, name = 'panel1', parent = self, pos = wxPoint(0, 0), size = wxSize(318, 192), style = wxTAB_TRAVERSAL) self.textCtrl1 = wxTextCtrl(id = wxID_WXFRAME1TEXTCTRL1, name = 'textCtrl1', parent = self.panel1, pos = wxPoint(120, 72), size = wxSize(100, 21), style = 0, value = '12') v = int(self.textCtrl1.GetValue()) self.spinButton1 = wxSpinButton(id = wxID_WXFRAME1SPINBUTTON1, name = 'spinButton1', parent = self.panel1, pos = wxPoint(224, 72), size = wxSize(16, 24), style = wxSP_ARROW_KEYS | wxWANTS_CHARS | wxSP_VERTICAL) self.spinButton1.SetValue(v) EVT_SPIN(self.spinButton1, wxID_WXFRAME1SPINBUTTON1, self.OnSpinbutton1Spin) def __init__(self, parent): self._init_ctrls(parent) def OnSpinbutton1Spin(self, event): self.textCtrl1.SetValue(str(event.GetPosition())) # self.spinButton1.SetRange(1, 24) #-----------------------------------------end of code Firstly, I could not find the SetRange on either the Constructor or the Properties tab of the Inspector. Not withstanding this, I attempted to insert the last line of this code (using the wxPython demo code just after the "self.spinButton1.SetValue(v) line" (I previously just had a number rather then the "v" as shown above. It ran all right but the Frame Designer insisted that this property needed 3 parameter. A check in the wx docs states only 2. The next thing was that Boa does not like the code "v = int(self.textCtrl1.GetValue())" and I get a error message NameError: Name 'v' is not defined. I know we are not supposed to put manual code into the def statements but I could not work how else to do it. The next thing is that I attempted to use the Boa "Bug Reporting" option on the web pages, but SF did not seem to respond at all. Cheers, beers and more beers Lynndon Harnell Lynndon Harnell |
From: Harnell, L. <lyn...@up...> - 2001-08-02 22:42:01
|
Riaan I meant in the dos box you should cd to your Boa directory. There is a shortcut for this; Open a normal windows folder and browse to the Boa directory. Once there go Start->Run-Command and the DOS box should start in the Boa directory. I'd like to find out the reason for this crash, so this error is the only clue so far. I have kept an archive copy of the version that crashed so I will try it out with the dos window to see if I can see the reporting and let you know if you wish. TTYL Lynndon Harnell |
From: Riaan B. <riaan@e.co.za> - 2001-08-02 15:23:49
|
Hi there, "Harnell, Lynndon" wrote: > > Hi again > > Are there any plans to implement a panel "label", similar to the wxworkshop > ones, see http://wxworkshop.sourceforge.net/contacts_panel.gif > > i.e. the panel are titled "Phones", "Internet", E Signature" etc. It has always been there ;) It's called a wxStaticBox, and it's on the Basic Controls palette. > > Cheers > > Lynndon Harnell > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2001-08-02 15:23:19
|
Hi, Lynndon Harnell wrote: > > Hi again > > I got a bit further with a freshh CVS version. I now have an error > message on running 0.0.12 saying 'Can't open > c:\boa\Docs\cache/cvsmanual.hhp.cached' (error 3: the system cannot > find the path specified.) If you clicked the Details button the other help files would probably also be listed. As there is an explicit check for the existance of a specific document file before the help loads so your help files are there, the only explanation is that for some reason the empty 'cache' directory was not created when you unzipped or moved the Docs directory. Please create it manually ( c:\boa\Docs\cache ) > > TTYL > > Lynndon -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2001-08-02 15:22:55
|
Hi Lyndonn, Lynndon Harnell wrote: > > Hi Riaan > > Well I just: > > - uninstalled python, wxpython > - removed all python, wxpython files > - rebooted > - installed a new version of python (ActivePython-2.1.0.msi) Reinstalling Python was unnecessary (but if you upgraded, cool!), Boa still tries to run on all versions. > - installed a new version of wxPython-2.3.1-Py21.exe Like I said in a previous relpy 2.3.1 has a bug with accelerator keys. This means that your keyboard shortcuts in the Editor, Inspector and Designer does not work. I still recommend 2.3.0 > - tried to run 0.0.12, same result as before CRASH > - also tried you trick as stated below with an MSDOS window but the > damned window closed on the crash You didn't try hard enought then ;) > - I cannot get Start->Run to cd to the Boa directory. I meant in the dos box you should cd to your Boa directory. There is a shortcut for this; Open a normal windows folder and browse to the Boa directory. Once there go Start->Run-Command and the DOS box should start in the Boa directory. I'd like to find out the reason for this crash, so this error is the only clue so far. > - I am now going to move Boa 0.0.12 to another directory and re CVS it > using Boa 0.0.05. > > TTYL > -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2001-08-02 15:22:28
|
Hi Antoni, Antoni Aloy wrote: > > Hello! > > I have many problems to uses CVS and mantain updated my Boa version. I would > be possible to have a CVS snapshoot every week for example? Sorry, at this stage I'd much rather help you fix your CVS problems than change over to a weekly release schedule. Please explain the CVS trouble you have. Work from the CVS tutorial I posted awhile ago, tell me where you have trouble and we can extend it where it is lacking. -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2001-08-02 15:22:08
|
Hi Patrick, "Patrick K. O'Brien" wrote: > > I'm on a Win98 box and 0.0.12 works fine for me so far. Thanks for reporting this. I slept better with the knowledge that not all 98 users are having troubles ;) > -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Harnell, L. <lyn...@up...> - 2001-08-02 06:13:36
|
Hi again Are there any plans to implement a panel "label", similar to the wxworkshop ones, see http://wxworkshop.sourceforge.net/contacts_panel.gif i.e. the panel are titled "Phones", "Internet", E Signature" etc. Cheers Lynndon Harnell |
From: Harnell, L. <lyn...@up...> - 2001-08-01 22:06:07
|
Hi >I forgot to remind people to use update -P as some files has been removed from the repository, but this should not 'break' anything. OK tonight I will get 0.0.11 going again, move it to a different directory, and upload a clean version of 0.0.12. >> It all seemed to update my CVS version OK, but when I ran it, the program load seemed to crash when it got to the help section (as per messages in the MS Dos window, but when it crashed the MS Dos window closed). If I try to run it from Python IDLE, I get a syntax error c:\Boa\Boa.py, line 378, which does not seem to exist. > Running Boa in IDLE seems to be tricky :) First remove the whitespace on the last line in Boa.py. Also the way IDLE runs modules is not exactly the same as running the file directly in the interpreter. You'll have to manually add Boa's path to sys.path in the IDLE shell. Then it works, but you also need to hope that there are no errors on startup because cleanup isn't always successfull. This partially a problem with running Boa in the same interpreter as IDLE and problems with mixing wxWindows and Tkinter. I do not normally run it under IDLE. It was only an attempt to see what was going on. >> I am running win98, python21, wxpython 2.2 > The new help system uses the OOR features of 2.3.x so I suggest updating your wxPython to 2.3.0. I've not been able to work around the accelerator table bug in 2.3.1 Also, if you don't want the DOS box to close, open one explicitly by going Start->Run->Command, cd to the Boa directory and run it by typing: python Boa.py Useful for reading error messages. OK I will get 2.3.x going first. Regards Lynndon Harnell |
From: Antoni A. <al...@ct...> - 2001-08-01 16:52:51
|
Hello! I have many problems to uses CVS and mantain updated my Boa version. I would be possible to have a CVS snapshoot every week for example? Regards, Antoni Aloy |
From: Patrick K. O'B. <po...@or...> - 2001-08-01 14:32:45
|
I'm on a Win98 box and 0.0.12 works fine for me so far. --- Patrick K. O'Brien Orbtech "I am, therefore I think." -----Original Message----- From: boa...@li... [mailto:boa...@li...]On Behalf Of Riaan Booysen Sent: Wednesday, August 01, 2001 7:14 AM To: Lynndon Harnell Cc: boa...@li... Subject: Re: [Boa Constr] Boa CVS 0.0.12 <snip> I will test 0.0.12 on a 98 box as soon as possible. -- Riaan Booysen ___________________________________________________ |
From: Riaan B. <riaan@e.co.za> - 2001-08-01 12:21:35
|
Hello Lynndon, Lynndon Harnell wrote: > > Hi again. I just CVS updated to 0.0.12 and downloaded and installed > the new help docs. I forgot to remind people to use update -P as some files has been removed from the repository, but this should not 'break' anything. > > It all seemed to update my CVS version OK, but when I ran it, the > program load seemed to crash when it got to the help section (as per > messages in the MS Dos window, but when it crashed the MS Dos window > closed). If I try to run it from Python IDLE, I get a syntax error > c:\Boa\Boa.py, line 378, which does not seem to exist. Running Boa in IDLE seems to be tricky :) First remove the whitespace on the last line in Boa.py. Also the way IDLE runs modules is not exactly the same as running the file directly in the interpreter. You'll have to manually add Boa's path to sys.path in the IDLE shell. Then it works, but you also need to hope that there are no errors on startup because cleanup isn't always successfull. This partially a problem with running Boa in the same interpreter as IDLE and problems with mixing wxWindows and Tkinter. > > I am running win98, python21, wxpython 2.2 The new help system uses the OOR features of 2.3.x so I suggest updating your wxPython to 2.3.0. I've not been able to work around the accelerator table bug in 2.3.1 Also, if you don't want the DOS box to close, open one explicitly by going Start->Run->Command, cd to the Boa directory and run it by typing: python Boa.py Useful for reading error messages. > > Any clues would be appreciated. I will test 0.0.12 on a 98 box as soon as possible. > > Regards > > Lynndon Harnell > > PS I am running netscape, with Eudora as my default email, and > sometimes (and I suspect anytime I go near the CVS), netscape's > composer seems to hijack netscape. Strange....... I have no idea what this means... > Lynndon Harnell -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |