[Glade-users] GtkComboBox



On Sun, 2005-07-31 at 13:28 -0300, John Coppens wrote:
Hi all.

I've been playing with GtkComboBox. Not liking its size, I investigated a
little and found that the correct way to change the appearance seems to
be through the GtkCellLayout. 

BUT, as this widget was instantiated by Glade, I have no easy access to
the renderers, so I cannot use the GtkCellLayout functions. The doesn't
seem to be a way to interrogated which renderers are used either.

So, which is the correct way to change the appearance of the GtkComboBox?
Do I have to recreate it completely myself?

GtkComboBox implements the GtkCellLayout interface. So I think you can
call gtk_cell_layout_clear() to clear it, and then add whatever
renderers you want.

Damon





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