Lines Matching refs:Videomode
73 .def("get_mode", (Videomode (Connector::*)(const string& mode) const)&Connector::get_mode) in init_pykmsbase()
74 ….def("get_mode", (Videomode (Connector::*)(unsigned xres, unsigned yres, float refresh, bool ilace… in init_pykmsbase()
81 .def("set_mode", (int (Crtc::*)(Connector*, const Videomode&))&Crtc::set_mode) in init_pykmsbase()
82 .def("set_mode", (int (Crtc::*)(Connector*, Framebuffer&, const Videomode&))&Crtc::set_mode) in init_pykmsbase()
200 py::class_<Videomode>(m, "Videomode") in init_pykmsbase()
203 .def_readwrite("name", &Videomode::name) in init_pykmsbase()
205 .def_readwrite("clock", &Videomode::clock) in init_pykmsbase()
207 .def_readwrite("hdisplay", &Videomode::hdisplay) in init_pykmsbase()
208 .def_readwrite("hsync_start", &Videomode::hsync_start) in init_pykmsbase()
209 .def_readwrite("hsync_end", &Videomode::hsync_end) in init_pykmsbase()
210 .def_readwrite("htotal", &Videomode::htotal) in init_pykmsbase()
212 .def_readwrite("vdisplay", &Videomode::vdisplay) in init_pykmsbase()
213 .def_readwrite("vsync_start", &Videomode::vsync_start) in init_pykmsbase()
214 .def_readwrite("vsync_end", &Videomode::vsync_end) in init_pykmsbase()
215 .def_readwrite("vtotal", &Videomode::vtotal) in init_pykmsbase()
217 .def_readwrite("vrefresh", &Videomode::vrefresh) in init_pykmsbase()
219 .def_readwrite("flags", &Videomode::flags) in init_pykmsbase()
220 .def_readwrite("type", &Videomode::type) in init_pykmsbase()
222 ….def("__repr__", [](const Videomode& vm) { return "<pykms.Videomode " + to_string(vm.hdisplay) + "… in init_pykmsbase()
224 .def("to_blob", &Videomode::to_blob) in init_pykmsbase()
226 .def_property("hsync", &Videomode::hsync, &Videomode::set_hsync) in init_pykmsbase()
227 .def_property("vsync", &Videomode::vsync, &Videomode::set_vsync) in init_pykmsbase()