Re: creating dialogs on startup?



Please ignore my last message, I forgot the difference between hide() and close(), and also show_all() inside the dialog was causing showing the dialog on start up, silly me, I apologize ...

On Wed, Mar 4, 2015 at 6:35 PM, codekiddy <codekiddy gmail com> wrote:
Hi, I noticed it takes some time for dialog to show, at first the FileChooser dialog was slow, but now even my own dialogs (those as "complex" as FileChooser) take time to show them self...
So I come to an idea to create a dialog on the heap in Main Windows's construtor, so that dialog will be ready to show it self without the need to construct it self, *But* here another problem appeared because now on Main Window's start up both the dialog and Windows show their faces lol..

So I have 2 questions:
1. Why does dialog shows on it's own during application startup when Top window holds a pointer to the dialog and initializes a pointer in constructor?
2. What can I do to make dialogs show them self faster?

Thank you!
~codekiddy





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