Hi, On Wed, 5 Oct 2005 18:46:21 -0400, Ed Leafe wrote: > On Oct 5, 2005, at 5:03 PM, Paul McNett wrote: > >>> On thing to keep in mind is that with something like stock >>> buttons: the way that they are implemented in wxPython, which >>> closely mirrors its C++ wxWidgets roots, is likely not very >>> Pythonic, and if we were to add them to Dabo, we would most >>> likely do it very differently. The use of IDs is certainly >>> never going to make it into Dabo. >>> >> >> I see us doing something like we did with dKeys and dColors... >> map a string to the wx id's. >> > > I don't see us doing this at all. After all, what does this 'stock > button' give us? > It let's the OS handle the labeling. If you create the stock "Cancel" button it'll always be called "Abbrechen" in a German version of Windows.
> btn = dButton(self, Caption="Preferences") > btn = dButton(self, Stock="Preferences") > > ?? That looks nice. Although I think naming the parameter Standard would be more little more intuitive. adi _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
