Ed Leafe wrote: > On Aug 30, 2008, at 2:19 PM, Paul McNett wrote: > >> These methods have cruft that I'm not sure is still necessary, or if >> it >> is still necessary, we should really remove the necessity. >> >> Specifically, I'm referring to imgKey and to a lesser extent caption. >> The caption should be set using myPage.Caption = "Page 1", and the >> imgKey shouldn't be necessary for there to be an image on the page >> tab. > > I'm not sure that I follow. Are you proposing to re-write the image > handling to accept an image, rather than making someone add the image > to the pageframe and then referencing that?
Yes. If possible. > As far as the 'caption' keyword is concerned, I think it should > remain. It's nice to be able to do: > > pg = pgf.appendPage(caption="Foo") > > ...instead of: > > pg = pgf.appendPage() > pg.Caption = "Foo" Ok, status quo wins. Although it seems inconsistent that Caption is upper case. >> I also want to change the 'pgCls' argument to 'page', and specify in >> the >> docstring that the page argument can be either a class or an instance. > > No argument on this. Just do a lot of grepping first to see if pgCls > is used anywhere. Could be used in user code... I guess we should deprecate it first. >> But I'm just not sure if it'll work, as its been years since I've >> looked >> at this. > > > Well, you can make the change locally, run the built-in demos, run > DaboDemo, and run the visual tools. If none of those break, you're > probably OK. Yep. We'll see if I get around to it. :) Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
