Re: GtkComboBox :-)

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

 



Hi Jim, 

Excuse me, but do you have a small example ? i am looking for it in the
source code and in the api reference, to understand the mechanism, but i
don't find. 

And i don't know how to implement a GtkComboBox with GtkCellLayout. 
In the source code of gtkcombobox.c, i can see gtk_combo_box_cell_layout_*
but none examples.

If you can help me, of course. 

Thanks

Stephane aka matrixise

On Tue, Feb 10, 2004 at 08:15:50PM -0600, James M. Cape wrote:
>> On Tue, 2004-02-10 at 21:19 +0100, Stephane Wirtel wrote:
>> > Hi all, 
>> > 
>> > I want to know if there is a way to show many columns of a GtkTreeModel
>> > with a GtkComboBox ?
>> > 
>> > I think no, but i am not sure.
>> > 
>> > 
>> > Thanks
>> > 
>> > matrixise
>> > 
>> > Stephane
>> 
>> GtkComboBox supports the GtkCellLayout interface, so you can pack cells
>> ala GtkTreeViewColumn using it:
>> 
>> http://developer.gnome.org/doc/API/2.0/gtk/GtkCellLayout.html
>> 
>> -- 
>> Peace,
>> 
>>     Jim Cape
>>     http://ignore-your.tv
>> 
>>     Everyone has their own Truth, but there is only one Honesty.
>> _______________________________________________
>> 
>> gtk-list@xxxxxxxxx
>> http://mail.gnome.org/mailman/listinfo/gtk-list

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux