[ gtkD ] Question about mouse press event in Notebook ...

Mike Wey mike-wey at example.com
Wed Apr 24 14:11:15 PDT 2013


On 04/24/2013 08:43 AM, Super666666Super wrote:
> Sorry, you don't understand me.
>
> I want something like this:
>
> ....ACII ART....
>
> I know that function addOnButtonPressd() prevents change the order of
> the tabs ...
>
> Did you have any idea ?
>
> Thanks for your time.

I see what you mean, using the enterNotify and leaveNotify events you 
can track if the mouse is over an tab and skip the mousePress event.
The tab label do need to be wrapped in an EventBox for this to work.

http://dpaste.dzfl.pl/3bb9ab78

-- 
Mike Wey


More information about the Digitalmars-d mailing list