Proposed GtkTreeViewColumn API change
- From: Jonathan Blandford <jrb redhat com>
- To: gtk-devel-list gnome org
- Subject: Proposed GtkTreeViewColumn API change
- Date: 18 Nov 2001 03:16:20 -0500
While this is a little late, I'd like to make a small API change to
GtkTreeViewColumn. It effects a very few people who currently
explicitly set their mode to be RESIZABLE. Currently, it has a
GtkTreeViewColumnSizing enum to determine how sizing is done. This is
defines as:
typedef enum
{
GTK_TREE_VIEW_COLUMN_GROW_ONLY,
GTK_TREE_VIEW_COLUMN_RESIZABLE,
GTK_TREE_VIEW_COLUMN_AUTOSIZE,
GTK_TREE_VIEW_COLUMN_FIXED
} GtkTreeViewColumnSizing;
It was pointed out that RESIZABLE is identical to GROW_ONLY in
functionality, with the exception that it's user resizable, and that
FIXED could also be user resizable. Rather than add FIXED_RESIZABLE to
the enum, I'd rather make resizable a property, and remove it from the
enum. Additionally, if I add another sizing mode for 2.2, I would have
to add 2 variants (one for resizing).
So, which should I do:
1) Add GTK_TREE_VIEW_COLUMN_FIXED_RESIZABLE
2) Remove GTK_TREE_VIEW_COLUMN_RESIZABLE and add a "::resizable"
property[*]
3) Nothing
4) Some other solution I haven't considered
I'm currently leaning towards option 2. Anyone else have comments?
Thanks,
-Jonathan
[*] The property would not work, of course, for GTK_TREE_VIEW_COLUMN_AUTOSIZE
> LocalWords: AUTOSIZE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]