mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Menu_.cxx
const Fl_Menu_Item * Fl_Menu_::find_item(Fl_Callback *cb) {
  for ( int t=0; t < size(); t++ ) {
    const Fl_Menu_Item *m = menu_ + t;
    if (m->callback_==cb) {
      return m;
    }
  }
  return (const Fl_Menu_Item *)0;
}
/**
 Find the menu item for the given callback \p cb.
 
 This method finds a menu item in a menu array, also traversing submenus, but
 not submenu pointers. This is useful if an application uses 
 internationalisation and a menu item can not be found using its label. This
 search is also much faster.
 
 \param cb find the first item with this callback
 \returns The item found, or NULL if not found
 \see find_item(const char*)
 */
Find the menu item for the given callback \p cb.
This method finds a menu item in a menu array, also traversing submenus, but
not submenu pointers. This is useful if an application uses
internationalisation and a menu item can not be found using its label. This
search is also much faster.

\param cb find the first item with this callback
\returns The item found, or NULL if not found
\see find_item(const char*)
Find the menu item for the given callback \ p cb . This method finds a menu item in a menu array also traversing submenus but not submenu pointers . This is useful if an application uses internationalisation and a menu item can not be found using its label . This search is also much faster . \ param cb find the first item with this callback \ returns The item found or NULL if not found \ see find_item ( const char * )
const Fl_Menu_Item * Fl_Menu_::find_item(Fl_Callback *cb) {
  for ( int t=0; t < size(); t++ ) {
    const Fl_Menu_Item *m = menu_ + t;
    if (m->callback_==cb) {
      return m;
    }
  }
  return (const Fl_Menu_Item *)0;
}
const Fl_Menu_Item * Fl_Menu_ :: find_item ( Fl_Callback * cb ) { for ( int t = 0 ; t < size ( ) ; t ++ ) { const Fl_Menu_Item * m = menu_ + t ; if ( m -> callback_ == cb ) { return m ; } } return ( const Fl_Menu_Item * ) 0 ; }
Find the menu item for the given callback \p cb.
Find the menu item for the given callback \ p cb .