Re: Using gtkmm and gtk+ in one application



On Sun, 2011-02-27 at 18:36 +0100, Stefan Westerfeld wrote:

> To see if that would work, I've tried to use a gtk+ hello world, written in C.
> Then I added a file written in C++, which would create a Gtk::Main object
> (after gtk_init was called by the C application), and then some widgets. That
> seemed to work. Both, widgets created by the C part and widgets created by the
> C++ part appeared to function.
> 
> So... is it possible to extend gtk+/C applications with gtkmm code, or are
> there any problems that I should be aware of when mixing both?

Apart from the code looking dead-ugly (like inscape used to look, don't
know if it's still the case), not really.




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