[wxruby-users] evt_auinotebook_end_drag ?

Niklas Baumstark niklas.baumstark at googlemail.com
Tue Aug 19 10:29:00 EDT 2008


Hello,

Alex Fenton <alex at pressure.to> wrote:
> Niklas Baumstark wrote:
> > Hello,
> >
> > this is my code (in a frame's constructor):
> >
> > self.evt_auinotebook_page_close(@notebook) { puts "page closed!" }
> > self.evt_auinotebook_end_drag(@notebook)   { puts "page moved away!" }
> >
> > while the first works as expected, the second does not work at all. the block is never called, when a tab is moved from the target-notebook to another one.
> I'm a bit puzzled by this too. Unfortunately I can't find documentation 
> in wxWidgets of exactly when these events should occur.
> 
> However, your query prompted me to look again at the auibook header in 
> Wx. It seems that since version 2.8.5, several new AUI events were 
> added, including EVT_AUINOTEBOOK_DRAG_DONE. I've added support for these 
> events to wxRuby (SVN:1773), and this drag_done event does exactly what 
> you're looking for. So you should be able to resolve this with the next 
> wxRuby release (soon...)

thank you very much! by the way, when is the final version of wxruby going to be released? i love it :)

Greetings,
Niklas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20080819/b8b16294/attachment.bin>


More information about the wxruby-users mailing list