Re: [glade--] Treeview, drag_data_get event



On Wednesday 02 June 2004 10:22, you wrote:
> Niklas Nylund IB schrieb:
> > Hello,
> >
> > I don't know if this is a bug or if I'm simply doing something wrong,
> > if I attach the drag_data_get signal to a treeview the code generated
> > will look like this, in window1.hh (similair also in window1_glade.h)
> >
> > class window1 : public window1_glade
> > {
> >         void on_treeview1_drag_data_get(const
> > Glib::RefPtr<Gdk::DragContext>& context,GtkSelectionData
> > *selection_data,guint info,guint time); };
> >
> > GtkSelectionData ? Is this correct? Giving me a C GTK object confuses me
> > somewhat. I tried to change all the GtkSelectionData to
> > Gtk::SelectionData but this caused a lot of compilation errors.
>
> Use a newer glademm version and the bug will be gone (I suggest the CVS
> version)
>
>     Christof

I just did a checkout and tested the same thing with the CVS code, same thing
happend. It still gives me the GTK object.

Niklas






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