/** void QWidget::showFullScreen(bool enable=true) * bind/QWidget.h:61 */ static int TableView_showFullScreen(lua_State *L) { try { TableView *self = *((TableView **)dub_checksdata(L, 1, "mimas.TableView")); int top__ = lua_gettop(L); if (top__ >= 2) { bool enable = dub_checkboolean(L, 2); if (enable) { self->showFullScreen(); } else { self->showNormal(); } return 0; } else { self->showFullScreen(); return 0; } } catch (std::exception &e) { lua_pushfstring(L, "showFullScreen: %s", e.what()); } catch (...) { lua_pushfstring(L, "showFullScreen: 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); }