コード例 #1
0
ファイル: mimas_TableView.cpp プロジェクト: lubyk/mimas
/** void QTableView::scrollToTop()
 * bind/QTableView.h:14
 */
static int TableView_scrollToTop(lua_State *L) {
  try {
    TableView *self = *((TableView **)dub_checksdata(L, 1, "mimas.TableView"));
    self->scrollToTop();
    return 0;
  } catch (std::exception &e) {
    lua_pushfstring(L, "scrollToTop: %s", e.what());
  } catch (...) {
    lua_pushfstring(L, "scrollToTop: Unknown exception");
  }
  return dub_error(L);
}