Re: VTK widget



On 2/12/08, Preben <64bit mailme dk> wrote:
> >> Does some of you know how use VTK widget in gtkmm ?
> >> I found http://vtkgtk.sourceforge.net/ and succeeded in making it
> >> compile and run with cmake. But it's based in gtk and not gtkmm.
> >
> > You can still wrap() them to use in a Gtkmm application, like you'd do
> > for pure Gtk widget.
>
> Could some one provide a method for using this wrap functionality.
> I can't find any documentation of how to use it, (except an uncomment doxygen method).
>
> I looked at inkscape, but they generate their own ui primitives, and as far as I understand, this
> should be far from necessary.

Something like:

Gtk::Widget w = Glib::wrap (GTK_WIDGET(some_c_widget));

Is that what you're looking for?
-- 
jonner


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