Re: How to determine if Gtk+ had been initialized



On Wed, Oct 18, 2006 at 05:02:17PM -0400, Daniel Atallah wrote:
On 10/18/06, Paul Plaquette <trilda free fr> wrote:
The question is : from the library, is there a way to know the caller
had initialized Gtk+ ?

Just use gtk-init-check(), it will return TRUE even if it is already
initialized.

And if Gtk+ is *not* already initialized, it will attempt to
initialize it.

Yeti


--
Whatever.



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