Refreshing window & other



Hi

I am new in GTK programming and I think GTK is very nice and easy but I have few question I hope if someone can answer any of them.

1. How can I refresh a window in my program to show some text in the statusbar before my program do a big job. (In another word, how can I make "DoEvents" in GTK like Visual Basic)

[code]

gtk_statusbar_push(statusbar,Sid,"Searching...");
system("find / -name *.log -print");
gtk_statusbar_push(statusbar,Sid,"Done");

[/code]

2. Where can I download http://www.gtk.org/tutorial/ in html format. (the URL ftp.gtk.org/pub/ can't be found !!!)


3. How can I check if a file exist. (Is there any function in GTK to do that. if not then please how can I do it in C)

4. How can I put a text from clipboard to a text box (and make sure that the clipboard contain a text).

Thank you and sorry for my poor english.




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