コード例 #1
0
ファイル: mimas_TableView.cpp プロジェクト: lubyk/mimas
/** 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);
}