Re: Gtk::ListStore problem



On Fri, 2005-11-25 at 15:55 +0100, Tomek wrote:
> Hi!
> Why can't I create Gtk::ListStore model in the global space? (at the
> beginning of my file, outside the main() function).

you cannot construct any gtkmm (or glibmm, or pangomm or gdkmm etc etc)
types until the type system for each namespace has been set up, which is
normally done as part of Gtk::Main::init() or explicitly in main().

--p





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