After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 668428 - Function to set initial width of a column
Function to set initial width of a column
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2012-01-22 10:46 UTC by Nick Schermer
Modified: 2018-02-10 04:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nick Schermer 2012-01-22 10:46:44 UTC
It would be nice if there is a function to set the initial size of a column, without restricting resizing. This to for example restore the old column sizes on startup.

In Gtk2 this is possible with a bit of a hack:

column->resized_width = 75;
column->use_resized_width = TRUE;

But in Gtk3 this is not public anymore. Maybe a function gtk_tree_view_column_set_{preferred,resized}_width or something.
Comment 1 Matthias Clasen 2018-02-10 04:36:35 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.