[wxruby-users] evt_auinotebook_end_drag ?

Niklas Baumstark niklas.baumstark at googlemail.com
Mon Aug 18 17:26:57 EDT 2008


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.

is this a bug? if yes, can this be fixed?

if want a notebook that adds to itself an empty page if there are no more other tabs (so that it stays usable). therefore i must somehow react on the user closing tabs. is there perhaps another way to work around this?

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/20080818/ab8cd702/attachment.bin>


More information about the wxruby-users mailing list