Re: problem with Glib:OptionContext



On Wed, 2005-04-06 at 14:57 +0200, David Sillou wrote:
> Hello, I'm trying to retrieve command line parameters using:  Main
> <http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Main.html#a2>
> (int& argc, char**& argv, Glib::OptionContext
> <http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1OptionContext.html>&
> option_context) contructor.
> 
> Glib::OptionContext context;
> Gtk::Main m (&argc, &argv,&context);
> 
> But i get a message saying that OptionContext is not a member of Glib.
> (ooops)
> I'm using glibmm 2.4.7 and gtkmm 2.4.1.

This is new API in glibmm 2.6.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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