DataViewCtrl - URL renderer

Me again - promise that I will stop soon with all these questions/issues about DataViewXXXX.

Was hoping that wx.DataViewTextRenderer would just magically handle "URL" display and ....

It doesn't so I guess one has to do a DataViewCustomRenderer. Anyone has some pointers on how to create one?

Any chance that a sample will be included in the demo of the next release?

Werner

Me again - promise that I will stop soon with all these questions/issues
about DataViewXXXX.

Was hoping that wx.DataViewTextRenderer would just magically handle
"URL" display and ....

It doesn't so I guess one has to do a DataViewCustomRenderer. Anyone has
some pointers on how to create one?

Derive your class from PyDataViewCustomRenderer and implement at least the GetValue, SetValue, GetSize, and Render methods.

Any chance that a sample will be included in the demo of the next release?

Yes, that is the plan.

···

On 1/10/11 7:45 AM, werner wrote:

--
Robin Dunn
Software Craftsman

That is great, I will wait for the next release or pre-view and look at this then again.

Thanks
Werner

···

On 10/01/2011 20:14, Robin Dunn wrote:

On 1/10/11 7:45 AM, werner wrote:

Me again - promise that I will stop soon with all these questions/issues
about DataViewXXXX.

Was hoping that wx.DataViewTextRenderer would just magically handle
"URL" display and ....

It doesn't so I guess one has to do a DataViewCustomRenderer. Anyone has
some pointers on how to create one?

Derive your class from PyDataViewCustomRenderer and implement at least the GetValue, SetValue, GetSize, and Render methods.

Any chance that a sample will be included in the demo of the next release?

Yes, that is the plan.