Re: Problems with making Notebook tabs dragable (as in DnD-dragable)



On Wed, 2007-01-10 at 22:55 +0100, Martin Nordholts wrote:
> Hello,
> 
> I am implementing Drag and Dropable Palettes (Dialogs in GIMP-speech) as
> in GIMP. For this I have a class PaletteNotebok : public Gtk::Notebook.
> 
> Whenever a page is added, I want the class to automatically fix DnD
> support for the Page Tab Label.
> 
> However, I am unable to do this on a notebook. This is a simple
> testcase:
> http://rafb.net/p/GzChRZ36.html
> and it causes a segfault on line 57.
> 
> I have tried to find anything through valgrind and gdb, but that gives
> me nothing.
> 
> When I "convert" the code in the example to use DnD on normal Buttons
> instead of notebook tab labels, it works fine.
> 
> Is this a bug in gtkmm, or am I doing something wrong?

Hi Martin,

While browsing the GTK+ Changelog, I noticed that there was a commit
recently that needed to fix an issue regarding GtkNotebook and DnD.
It's described in http://bugzilla.gnome.org/show_bug.cgi?id=360225 .
Maybe your problem is related to this.

Marko




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