On 03/25/13 07:53, testalucida wrote:
> I just overlooked the which( x, y ) method which exactly fits my needs.

        Great -- yes, it's easy to miss, because it wasn't documented! ;)
        Fixed in r9849:

-------------------------------------------------------------------------
Fl_Widget * Fl_Tabs::which(int event_x,
                           int event_y
                          )

Return the widget of the tab the user clicked on at event_x / event_y.
This is used for event handling (clicks) and by fluid to pick tabs.

Returns:
    The child widget of the tab the user clicked on, or
    0 if there are no children or if the event is outside of the tabs area.
-------------------------------------------------------------------------

    Noticed push() wasn't documented either; put a \todo stand in
    marker for now..
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to