Example #1
0
/** void TableView::setShowVerticalHeader(bool enable)
 * include/mimas/TableView.h:131
 */
static int TableView_setShowVerticalHeader(lua_State *L) {
  try {
    TableView *self = *((TableView **)dub_checksdata(L, 1, "mimas.TableView"));
    bool enable = dub_checkboolean(L, 2);
    self->setShowVerticalHeader(enable);
    return 0;
  } catch (std::exception &e) {
    lua_pushfstring(L, "setShowVerticalHeader: %s", e.what());
  } catch (...) {
    lua_pushfstring(L, "setShowVerticalHeader: Unknown exception");
  }
  return dub_error(L);
}