|
Re: improving KupuStateButton: small proposal: msg#00013web.kupu.devel
Hi Duncan! Duncan Booth wrote: yuppie wrote: Thanks for your feedback! Actually I forgot to grep for subclasses of KupuStateButton. But with a small modification of my proposal this should not be a problem: KupuStateButton would still maintain a 'pressed' variable. The only change to KupuStateButton would be the position of the commandfunc call. Moving it down 2 lines allows to overwrite the visible state from within the commandfunc. KupuEditor.execCommand does this by calling updateState. KupuZoomTool.commandfunc doesn't touch the visible state, so everything should work as before. Cheers, Yuppie |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: improving KupuStateButton: small proposal: 00013, Guido Wesdorp |
|---|---|
| Next by Date: | Is it possibile to control the well-formed XML produced by kupu?: 00013, Alessandra Donnini |
| Previous by Thread: | Re: Re: improving KupuStateButton: small proposali: 00013, Guido Wesdorp |
| Next by Thread: | Is it possibile to control the well-formed XML produced by kupu?: 00013, Alessandra Donnini |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |