Editing a column in treeview and other questions



	Hi, there !

	I've a few questions regarding TreeView:

	I've created a TreeView with a simple ListStore model. The columns are
editable, so you can change the values held by the columns. So far so
good. However, I also want to actually modify the values in my own data
structure. I would need a signal such as column_changed() in TreeView (I
have a columns_changed() signal but it only changes when the column
model is modified). I would also need this column_changed() event
handler to tell me the column and the row in which the edition happened.

	Please note this doesn't have anything to do with selecting rows. What
event handler could I use ?

	I've made the title columns clickable. I intended to be able to search
by any column, so when the title of a column changed, I would put that
column as a search column. However, I don't know the event handler that
controls this (it seems not to exist a clicked() or title_clicked()
event in TreeViewColumn). What event handler could I use ?

	Also, I need to create a list and would like to return it as a
ListHandle<>. So either I need to add elements (actually ints) to a
ListHandler or maybe creating a ListHandler<> from a vector<int>. How
can this be made ?

	Actually I found that the help system is great if you know how to do
something, or if you can figure out how to do it, but quite big and
unmanageable (too many details) if you don't know how. Maybe a new entry
per class explaining how to use the more usual functionalities would be
great. TreeView is a specially great candidate because of its
complexity. Although in this case there is a quite good help explaining
the fundamentals about using ListStore and TreeStore and a few other
things, it is not enough.

	Salud !

		Baltasar

-- 

--

PBC -- J. Baltasar García Perez-Schofield
jbgarcia en uvigo de es  http://webs.uvigo.es/jbgarcia/
Dep. Informática, Universidad de Vigo, España (Spain)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]