MCPcopy Create free account
hub / github.com/davisking/dlib / is_editable

Method is_editable

dlib/gui_widgets/widgets.cpp:4071–4087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4069// ----------------------------------------------------------------------------------------
4070
4071 bool text_grid::
4072 is_editable (
4073 unsigned long row,
4074 unsigned long col
4075 ) const
4076 {
4077 auto_mutex M(m);
4078 DLIB_ASSERT ( row < number_of_rows() && col < number_of_columns(),
4079 "\tbool text_grid::is_editable(row,col)"
4080 << "\n\trow: " << row
4081 << "\n\tcol: " << col
4082 << "\n\tnumber_of_rows(): " << number_of_rows()
4083 << "\n\tnumber_of_columns(): " << number_of_columns()
4084 << "\n\tthis: " << this
4085 );
4086 return grid[row][col].is_editable;
4087 }
4088
4089// ----------------------------------------------------------------------------------------
4090

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected