Re: More on extending Pollo
Bruno Dumon <[email protected]> 21 Feb 2003 17:27:51 +0100
| Newsgroups | gmane.editors.pollo.devel |
|---|---|
| Organization | Outerthought |
| Message-ID | <[email protected]> |
On Fri, 2003-02-21 at 17:17, Al Byers wrote: > Bruno, > > (switching computers, so not following thread) > > I thought I would add what I have determined in trying to extend Pollo. > > 1. One problem with extending PolloFrame by adding a Pollo instance to > the constructor arguments is that the NewPolloFrameAction method does > not have access to the Pollo instance. I modified it so that it > NewPolloFrameAction keeps an instance of Pollo and passes it to the > Frame constructor when it creates a new Frame. Seems ok. > 2. Creating the menubar and toolbar in the constructor makes it a little > problematic in extending. I guess an init() method might be better? No problem with that. But how will you extend it? By subclassing? -- Bruno ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge