gtktreeview API request
- From: Allin Cottrell <cottrell wfu edu>
- To: gtk-app-devel-list gnome org
- Subject: gtktreeview API request
- Date: Fri, 26 Nov 2004 23:07:06 -0500 (EST)
I would find it very useful (and I think some others might too) if
there were a means of getting a pointer to the current GtkEntry (if
any) in a treeview containing editable text cells: say
GtkWidget *gtk_tree_view_get_entry (GtkTreeView *tree_view)
which would return NULL if there's no active editable entry, and the
appropriate widget pointer otherwise.
Without this, it's very difficult if not impossible to get a
treeview to act like a simple spreadsheet, where the user can move
to a given cell and simply start typing to fill out the cell's data.
The GTK programmer can arrange that, e.g., typing a number starts
the cell editing process, but then the first number typed is "eaten"
and there's no way (that I can see) to pass it into the GtkEntry
that is created as part of the cell editing process: this widget is
private and inaccessible.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]