/** bool QWidget::isFullScreen() * bind/QWidget.h:36 */ static int TableView_isFullScreen(lua_State *L) { try { TableView *self = *((TableView **)dub_checksdata(L, 1, "mimas.TableView")); lua_pushboolean(L, self->isFullScreen()); return 1; } catch (std::exception &e) { lua_pushfstring(L, "isFullScreen: %s", e.what()); } catch (...) { lua_pushfstring(L, "isFullScreen: Unknown exception"); } return dub_error(L); }
/** void QWidget::swapFullScreen() * bind/QWidget.h:65 */ static int TableView_swapFullScreen(lua_State *L) { try { TableView *self = *((TableView **)dub_checksdata(L, 1, "mimas.TableView")); if (!self->isFullScreen()) { self->showFullScreen(); } else { self->showNormal(); } return 0; } catch (std::exception &e) { lua_pushfstring(L, "swapFullScreen: %s", e.what()); } catch (...) { lua_pushfstring(L, "swapFullScreen: Unknown exception"); } return dub_error(L); }