Re: Trying hard with a custom cellrenderer.



Maybe it's not worth the effort. Maybe I should keep it as is.


> To use <URL*> template you must specialize it yourself using Gtk
> namespace. And implement all functions to get/set value from/into cell,
> I guess.
>
> I suggest, you to use <void*> template and override
> render/get_size-_vfunc() where get value from property with:
>
> void* ptr = property_url();
> URL* url = reimplement_cast< URL* >( ptr );
>
> Either use TreeViewColumn::set_cell_data_func().


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]