Re: [glade--] Treeview, drag_data_get event

Christof Petig <[email protected]> Wed, 02 Jun 2004 09:22:50 +0200
Newsgroups gmane.comp.gnome.glademm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
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