> Benoît Minisini wrote: > >> Benoît Minisini wrote: > >>>> Benoît Minisini wrote: > >>>>>> ...menus don't support drag. > >>>>>> > >>>>>> Please tell me I am blind. > >>>>> > >>>>> They don't, no toolkit supports drag & drop on menus natively. > >>>> > >>>> I'm looking to drag menu items off a menu, not drag them onto a > >>>> menu. The gnome panel menus do it. > >>>> > >>>> Pity. I'm rewriting a Windows app that makes use of that feature. > >>>> I'll have to think up an alternative. > >>> > >>> I remember that in KDE3 this was a global UI option. I don't know if > >>> it exists in KDE4. > >>> > >>> I will add a property to the Menu class to enable the TearOff > >>> handle. I will tell you when it is done. > >>> > >> :) > >> > >> That would be great, thank you. > > > > Sorry, but I can't make it work correctly, both in gb.qt4 and gb.gtk. > > > > I will try again, but I'm afraid you will have to find a solution > > yourself... > > That's ok. I'll devise some kind of UI for it. >
The problems are the following: - In GTK+, you can tell a menu to go in its own window, but you have to implement the tear-off handle and management yourself apparently. I don't have time to do that! - In Qt4, you officially have support for tear-off menus, but when you activate it, it behaves strangely. Apparently, it's buggy. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
