how to display initial information of program

2011-06-21 Thread jh_wang2004
hi all: In my app program initialization, it connects database, initializes SDL video channel,etc . these actions have been done before gtk mainloop, i want to display these initial message to user, and destroy the widget after initialization has been done, which widget shall i use? I try to use

how to create login progressbar

2011-06-20 Thread jh_wang2004
hi all: my app connect database, it show login dialog first, after connected, it distory the login dialog and come in main loop, show main window. i want add a progressbar in login dialog, but at that time it doesn't in main loop , how can i refresh the progressbar by using timeout function?