problem when extend a GtkCellRenderer



Title: Message
hi,
 
i want to extend the GtkCellRenderer with two extra property "x_coord" and "y_coord", what i did are
1)add variable declaration in GtkCellRenderer.h
2)add variavle init in gtk_cell_renderer_init
3)install property in gtk_cell_renderer_class_init
4)add in gtk_cell_renderer_set_property
5)add in gtk_cell_renderer_get_property
 
once i test with g_object_set_data, i got the warning the property doesn't exist.
 
did i miss anything, or do it in a wrong way?
 
thanks in advance and best regards,
 
ln


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