Re: problem when extend a GtkCellRenderer



On Tuesday 09 December 2003 10:17, Liu Neo-W4135C wrote:

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?

  g_object_set(obj, "property", value, NULL);

and

  g_object_get(obj, "property", &value, NULL);

will set/get property values, not g_object_set_data().

Cheers
-Tim





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