When to call show()?




In some programs I found that people prefer to call show() method just after they're creating a new widget, but some perefr to just call $window->show_all once in the end of window creation.
Which is better?

For me it's all same, because it doesn't showed anyway if we did not call Gtk2->main


--

--beast




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