DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2338
Version: 1.3-feature


Fl_Group* Fl_Widget::parent_root() const {
    Fl_Group *myparent = parent();
    while(myparent) {
        //if the parent parent is null
        //we consider it the root
        if(!myparent->parent()) return myparent;
        myparent = myparent->parent();
    }
    return NULL;
}


Link: http://www.fltk.org/str.php?L2338
Version: 1.3-feature

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to