Re: VTK widget



On 2/13/08, Preben <64bit mailme dk> wrote:
> >> 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?
>
> But what about signal handling?
> How is this achieved?
>
> How do I build a complete wrapper for a whole object? I mean building a mm-version of e.g. glib's
> dock-item?

There's some documentation about that here:
http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-wrapping-c-libraries.html

-- 
jonner


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