http://defect.opensolaris.org/bz/show_bug.cgi?id=10763



--- Comment #9 from Darren Kenny <dkenny at opensolaris.org> 2009-09-15 
08:58:41 UTC ---
(In reply to comment #8)
> I don't find gtk_cell_layout_set_cell_data in Gtk+. There is only
> gtk_cell_layout_set_cell_data_func which is not what I want. I can get the

Ah I get you now... 

I do know that when I tried to add another column (STRING) to the treemodel I
ran into a recursive loop when I called tried to set it's value, so I don't
think you actually need the set_cell_data function here.

> "text" property from the cell renderer, but I am not sure if the property I 
> get
> belongs to the cell I want. e.g. I want to get the first cell's text. When I
> get the "text" property from the cell renderer, I don't know if it is the 
> first
> cell's text or other cells' text. 

But you do, since the list should be ordered according to how they were packed
into the cell layout.

> 
> GtkTreeViewColumn has such API: gtk_tree_view_column_cell_set_cell_data. But I
> don't find it in GtkComboBox or GtkCellView.

I don't believe that a ComobBox has any way to differentiate the cells once
rendered, and that's why it's not there - each cell is rendered and the result
is whats output to the screen - essentially it's similar to a single column
view in the GtkTreeView.

As such I don't think there is any issue with taking the list of renderers,
getting the appropriate information from them (e.g. text attribute) and
concatinating the results together to form the a11y name.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Reply via email to