Show Gtk::TreeModelColumn<long> as appropriate strings and choose them by Gtk::CellRendererCombo.
- From: O01eg <o01eg yandex ru>
- To: gtkmm-list gnome org
- Subject: Show Gtk::TreeModelColumn<long> as appropriate strings and choose them by Gtk::CellRendererCombo.
- Date: Mon, 28 Mar 2011 11:12:24 +0400
I write GUI to access to database. Some tables have foreign keys.
I mapped Gtk::TreeModel and Gtk::TreeModelColumnRecord to SQL and can
edit simple values but cann't write Gtk::CellRenderer to show
Gtk::TreeModelColumn<long> of foreign key as
Gtk::TreeModelColumn<Glib::ustring> of appropriate string from foreign
table.
Is it possible or I need add string column and work with strings when
accessing to database?
My current code: http://ompldr.org/vODAxdg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]