ref: http://stackoverflow.com/questions/1878783/multiple-thread-progress-bar-control-with-gtk

in my C program , download some files from the internet, im using a GTK progress bar to show the download progress.

i wanna if i download one file ,my app show one progress bar

if i download three files ,my app can show three progress bar. the rest can be done in the same manner.

i create UI with glade3. GtkTreeView have 3 columns

Name
Progress
Status
and i wrote some code , its can work but have some problem

if i download one file,app lonking not bad.

but if i download two files. app could not show twoprogress bar.

app just show two thread in one progress

How should I do solve it ?

arrow
arrow
    全站熱搜

    LoveTotally 發表在 痞客邦 留言(0) 人氣()