Re: [gtkmm] additions to the porting guide



We have no gnomemm porting guide yet. Maybe you would like to start one,
in the style of the gtkmm porting guide. And please use
gnomemm-list gnome org for gnomemm stuff.

On Fri, 2002-08-16 at 20:54, Manuel Clos wrote:
> Hi all,
> 
> I'm in the process of porting a gnome-- app to gnomemm.
> 
> While these changes are still not tested, the compilation succeeds.
> 
> The lines are before and after.
> 
> Hope this helps.
> 
> Mostly
> #include <libgnomeuimm.h>
> 
> Gnome::App
> Gnome::UI::App
> 
> Gnome::AppBar
> Gnome::UI::AppBar
> 
> Gnome::Dialogs::error(parent, message);
> Gtk::MessageDialog(parent, message, Gtk::MESSAGE_ERROR);
> 
> Gdk_Window about_win = about_->get_window();
> Glib::RefPtr<Gdk::Window> about_win = about_->get_window();
> (and use "about_win->" instead of "about_win.")
> 
> Gnome::Main application("GnomeCDMaster", VERSION, argc, argv);
> Gnome::Main application("GnomeCDMaster", VERSION, 
> Gnome::UI::module_info_get(), argc, argv);
> 
> application.timeout.connect(SigC::slot(&guiUpdatePeriodic), 2000);
> Glib::signal_timeout().connect(SigC::slot(&guiUpdatePeriodic), 2000);
> 
> If someone sees any error in this replacements, I'll be happy to know.
> 
> -- 
> Manuel Clos
> llanero eresmas net
 
-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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