Re: Trying hard with a custom cellrenderer.
- From: Germán Diago <germandiago gmail com>
- To: gtkmm-list gnome org
- Subject: Re: Trying hard with a custom cellrenderer.
- Date: Thu, 1 Jul 2010 15:32:39 +0200
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]