[Gtk-sharp-list] list and parameters
underdog10@netcourrier.com
underdog10@netcourrier.com
Mon, 14 Mar 2005 16:05:58 +0000
Hi,
I own the project XBGM=23 from xbgm.sf.net. I'am tring to implement new fu=
nctionnality to XBGM=23. =
In the last release version i allow only one selected row.
In the dev verion, i would like to implement a batch list.
I add all information missing in in hidden column.
My problem is than i couldn't figure out a nice way to pass each row to pr=
ogress dialog then to a ftp library.
At this time i create a copy of the list in a string with a special split =
caracter like this:
// Main window to ProgreesDialog
xISO =3D new StringBuilder((string)store2.GetValue(iter2, 8) + =22=7C=22 +
(string)store2.GetValue(iter2, 5) + =22=7C=22 + =
(string)store2.GetValue(iter2, 2) + =22=7C=22 + =
(string)store2.GetValue(iter2, 6) + =22=7C=22 + =
(string)store2.GetValue(iter2, 9) );
progress.xISOAdd(xISO.ToString());
then i my xISOAdd function in split the string to create a list in order t=
o update label and progress bar of the progressdialog.
In the same time, in a thread, i pass a copy of the sting to my ftp librai=
ry and split it again to finally create the extract batch list.
Well, this is pretty ugly and heavy in memory and not even working very we=
ll.
I would like to see a nice way to received information directly from the r=
ow and pass information between thread.
I have pass many week looking at code and testing without nice result. =
So i relay need some ideas because i stuck with this ugly code.
Thanks for helpping.
Kaya
-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Tool=
bar...
Web/Wap : www.netcourrier.com
T=E9l=E9phone/Fax : 08 92 69 00 21 (0,34 =80 TTC/min)
Minitel: 3615 NETCOURRIER (0,16 =80 TTC/min)