Re: [gtkmm] Treeview help needed
- From: "Andreas B. Thun" <abt gmx de>
- To: bart <gtkmm hakvoort be>
- Cc: Simon Fuhrmann <NightSlayer gmx de>, Christer Palm <palm nogui se>, David Kinyanjui <david i2software com>, gtkmm-list gnome org
- Subject: Re: [gtkmm] Treeview help needed
- Date: Thu, 15 Apr 2004 22:47:01 +0200
*Bingo!* Thx Bart! Finally, they are reacting.
Don't know in which order you do things. But to make the headers
clickable you need to call set_headers_clickable() *AFTER* you've
appended the columns.
Sorting is not working, though.
What must I do to get this nice behaviour that every column is sorted
by the column header when I click the header?
I append cols with:
m_tree_view.append_column(gettext("Active"), m_columns.m_col_active);
m_tree_view.append_column(gettext("Type"), m_columns.m_col_type);
m_tree_view.append_column(gettext("ID"), m_columns.m_col_id);
m_tree_view.append_column(gettext("Elements"), m_columns.m_col_elements);
m_tree_view.append_column(gettext("Description"), m_columns.m_col_description);
m_list_store_ref->set_sort_column_id(1, Gtk::SORT_ASCENDING);
does not do anything for me ...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]