On Tue, 2009-06-30 at 16:10 +0200, Sever P A wrote:
> Hello,
>
> In my app. main.cc, there is something like...
>
> ---
> int main(int argc, char *argv[])
> {
> Gtk::Main kit(argc, argv);
> Class object;
> Gtk::Main::run (object);
> return 0;
> }
> ---
>
> It would seems a fundamental C++ programming question but, I'd like to
> ask you for the best way to transfer the main parameters values to
> "Class" member vars...
Glib::OptionContext makes this quite easy:
http://git.gnome.org/cgit/glibmm/tree/examples/options/main.cc
--
[email protected]
www.murrayc.com
www.openismus.com
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list