Re: GtkComboBoxEntry alignment



Am Donnerstag, den 29.07.2004, 18:17 -0700 schrieb Ian King [ES]:
> Hi,
> 
> Is there anyway to access the GtkCellRenderer used for displaying the 
> text of a GtkComboBoxEntry, by default the text is center aligned which 
> is not what I want.
> 
> Thanks for your time
> 

Have you tried to call gtk_cell_layout_clear() after
gtk_combo_box_entry_set_text_column() and add a text renderer yourself ?
(You have to call set_text_column() so that the combo box entry knows
which column to use when updating the contents of the entry when 
the user selects an item from the popup).

Regards, Matthias




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