Re: how to display initial information of program

2011-06-22 Thread Bill Czermak
Suggest you open another window with the information displayed in it and a button which can be clicked to completely destroy the window if the user wants to do this. You can also destroy the window from your application when you know it is no longer needed. You can of course setup a containe

Re: how to display initial information of program

2011-06-22 Thread Just Fill Bugs
On 22/06/11 14:24, jh_wang2004 wrote: Hello Bill: Thanks a lot for you answer, i'm new to GTK indeed??and please forgive my poor English. Maybe I did not clearly express the intent. My app display a login dialog at first, when user clicks button, it connects database, after connection establish

Re: how to display initial information of program

2011-06-21 Thread Bill C
Hi Jh What language are you writing in? I can help in C (5+ years with GTK) and PyGtk.. just started using it. Be aware that once gtk_main() has been called everything must be done by callbacks. Anything else will cause subtle faults, although it may appear to work. The gtk_main loop contr

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