GtkTreeColumn's width



Title: Message
expertises,
 
i try to do some enhancement in GtkCellRendererText and there i need to know the width of the column. i use g_object_set_data to set the pointer of GtkTreeViewColumn and g_object_get_data to get the pointer in GtkCellRendererText. when I use gtk_tree_view_column_get_width, the result is always 0.
 
i have a quick browse in source code of GtkTreeViewColumn and haven't found the assign of width.
 
any mistake i made or there do exist a bug?
 
thanks and best regards,
 
Liu, Nian


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