MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / getWindowByPointer

Method getWindowByPointer

src/csvapplication.cpp:829–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827
828
829int CsvApplication::getWindowByPointer(Fl_Widget *widget) {
830 for( int i = 0; i < TCRUNCHER_MAX_WINDOWS; ++i ) {
831 if( windows[i].win == widget ) {
832 return i;
833 }
834 }
835 return -1;
836}
837
838
839

Callers 2

csvwindow.cppFile · 0.80
windowGetsClosedCBMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected