One model, different rows in different views
- From: Diego Zuccato <diego otello alma unibo it>
- To: GtkList <gtk-list gnome org>
- Subject: One model, different rows in different views
- Date: Fri, 07 Mar 2003 15:43:19 +0000
Hello all.
It the subj possible ?
Like having a model with, say, a list of objects.
At start all objects are in a view and the other is empty.
When a cell changes, that object is "moved" to the other view.
An example could be a "chooser":
VIEW1 VIEW2
item1
item2 ->
item3 <-
item4
(model contains {"Item1", 1}, {"Item2", 1}, {"Item3", 1}, {"Item4", 1})
After selecting item3 and clicking "->" :
VIEW1 VIEW2
item1 Item3
item2 ->
item4 <-
(model now contains {"Item1", 1}, {"Item2", 1}, {"Item3", 2}, {"Item4",
1})
Tks,
Diego.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]