[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tooltips issue
From: |
Germán Arias |
Subject: |
Re: Tooltips issue |
Date: |
Sun, 14 Dec 2014 00:01:29 -0600 |
User-agent: |
GNUMail (Version 1.2.2) |
Looking at the machinery of GNUstep to display ToolTips, this only take in
account the coordinates of rectangles, and not information about levels (front,
back,...). So, I will need change the way used by FisicaLab to display tooltips.
Germán
On 2014-12-13 00:47:43 -0600 Germán Arias <address@hidden> wrote:
> See:
>
> http://youtu.be/ZCMN3-mgIaQ
>
> No idea if this is a bug, or I'm doing something wrong. The chalkboard is a
> grid of buttons (50x50), I add the buttons with something like:
>
> [botonCell setBordered: NO];
> [botonCell addToolTipRect: NSMakeRect(0, 0, 50, 50)
> owner: self
> userData: nil];
> [self addSubview: botonCell];
> [botonCell release];
>
> Is this a bad approach? Maybe I need add the visible rect at scrollview and
> then with -hitTest: get the button to display the tooltip?
>
> PS: No idea why the video show the menu as a white rectangle. I don't use
> Terminal.app because Control-C (copy) can't stop the recording.
>
> Germán
>
>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
>
- Tooltips issue, Germán Arias, 2014/12/13
- Re: Tooltips issue,
Germán Arias <=