gtkcombobox with self internal code to the options



Hi all,

Is possible use self codes to substitute the serial code that identify
the options of a GtkComboBox?

My problem in a simple explanation:
I have a sqlite table with two columns, the id and the name, but the
id isn't serial. To easily the load and save process of my screen will
be so good if the table code (id column) substitute the serial code
used that identify the options of the combo box.

Have a way to do this?

Thanks!


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