RE: Set treeview column width
- From: Jamf <jamf gm gmail com>
- To: ialbeniz cbt es
- Cc: gtkmm-list gnome org
- Subject: RE: Set treeview column width
- Date: Sat, 08 Mar 2008 09:52:25 +0100
Hi Iker.
I don't know if this is the way but it work for me:
column = Gtk::manage(new Gtk::TreeViewColumn(_("Name")));
column->pack_end(m_columns.m_name);
treeview->append_column(*column);
column->set_sizing(Gtk::TREE_VIEW_COLUMN_FIXED);
// Here you set the width
column->set_fixed_width(250);
column->set_resizable(true);
Bye,
Juan Ángel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]