Adi J. Sieker wrote:
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.

It also automatically includes a nice bitmap.



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.

A different approach would be to provide actual subclasses, like:

dButtonPreferences
dButtonOK
dButtonCancel

etc. etc. Not sure I like this idea or not, I'd have to see some discussion on it first, but thought I'd mention it.

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to