Hi Herbert,

I'm still looking at this. I expanded this a bit more. I can get the following to work:

EVT_AUINOTEBOOK_PAGE_CHANGING
EVT_AUINOTEBOOK_PAGE_CHANGED
EVT_AUINOTEBOOK_DRAG_DONE
EVT_AUINOTEBOOK_TAB_RIGHT_DOWN
EVT_AUINOTEBOOK_TAB_RIGHT_UP
EVT_AUINOTEBOOK_BG_DCLICK
EVT_AUINOTEBOOK_PAGE_CLOSED

But not these:

EVT_AUINOTEBOOK_PAGE_CLOSE
EVT_AUINOTEBOOK_BUTTON
EVT_AUINOTEBOOK_BEGIN_DRAG
EVT_AUINOTEBOOK_END_DRAG
EVT_AUINOTEBOOK_DRAG_MOTION
EVT_AUINOTEBOOK_ALLOW_DND (Actually, I can't see how to activate this).

And I don't have a middle button to test:

EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN
EVT_AUINOTEBOOK_TAB_MIDDLE_UP

And:

EVT_AUINOTEBOOK_CANCEL_DRAG is not wrapped.

It looks like a wxWidgets problem.  See here from 2011:

https://groups.google.com/forum/#!msg/wx-users/8lflty8iDJo/5-r_qLcP2MIJ

Regards

Steve.


On 12/09/14 14:24, herbert breunung wrote:
ah thanks

maybe it only worked

but drag done is fine, but without the info where dragging started useless.
as i also didnt found methods of the event object in sources im currently
a bit helpless how to achieve that. maybe soemthing went wrong in the XS
mapping? unfortunately i also dont have any mouse events on the bar itself.

the little program grew, its on:
https://bitbucket.org/lichtkind/kephra/src/d993a2380d71b9449bd6e47d36b8f1a415c71b47/lib/docbar.pl?at=sp1

and thanks for your work


Hi Herbert,

I'm using Kubuntu 14.04.

On 11/09/14 16:22, herbert breunung wrote:
just noticed because a kephra feature stopped working. this is the example
Well I think you're right.  But for me it NEVER worked.
EVT_AUINOTEBOOK_END_DRAG too.  I have no idea why.

I gave up some time ago and I only use:

     EVT_AUINOTEBOOK_DRAG_DONE instead of END_DRAG and I avoid using
BEGIN_DRAG.  It means a bit more validation afterwards.

I also use:

     EVT_AUINOTEBOOK_PAGE_CHANGING
     EVT_NOTEBOOK_PAGE_CHANGED

Which also work.

It would be useful to find out why, but I never really had time. Maybe when I
get a chance.

Does your END_DRAG work?

Regards

Steve



Reply via email to