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 <[email protected]> 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 > [email protected] > https://lists.gnu.org/mailman/listinfo/gnustep-dev > _______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
