Post subject: gtk combobox with a model, retrieve the content of a cell

Posted: Fri Jan 11, 2013 11:33 am

Familiar Face

Joined: Fri Oct 26, 2012 10:49 amPosts: 43

gtk-2.0Hello!I have a combobox that I made with a model, 2 columns, the first one contains text, the second one a icon.I want to retrieve the textI connected the change signal with cb_on_cboxChuck_changed()My problem is to get the value of the text-cell of the active combobox items.the function "gtk_combo_box_get_active_text" doesn't work, may be because there are two columns.

How could I get the value of the first column?Thanks a lot for your help in advanceM.Boernercallback of the changed signal

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum