Re: How to make custom cell renderer?



On Mon, 2002-12-02 at 19:17, James M. Cape wrote:
On Mon, 2002-12-02 at 08:49, Harring Figueiredo wrote:
 Note -- I heard somewhere that GtkComboBox will be replaced.

I've heard that as well, but that replacement has yet... to reveal
itself.</godfather> :-)

Correct. It is still planned for 2.4. I still have to work some issues
out, but it's getting there.


        -Kris


--- "James M. Cape" <jcape ignore-your tv> wrote:
On Fri, 2002-11-22 at 01:30, Paul Sprencz wrote:
How can I make a custom cellrenderer? I want to have a ComboBox cell 
renderer.

Thanks.
Best Regards
Paul Sprencz

Best bet is to copy the code from GtkCellRendererText, and replace the
editing widget (currently a GtkEntry) with a GtkComboBox.

Adding an object property for the list contents would be the final step.

Peace,

    Jim Cape
    http://ignore-your.tv

    "Solidarity, mutual aid, collective liberation, autonomy,
     empowerment, anti-hierarchy, anti-oppression, diversity,
     creativity--these are the social values I think of when
     I hear the word anarchy."
        -- http://www.infoshop.org/rants/solstice_reflections.html
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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