Lines Matching refs:Connector
69 py::class_<Connector, DrmPropObject, unique_ptr<Connector, py::nodelete>>(m, "Connector") in init_pykmsbase()
70 .def_property_readonly("fullname", &Connector::fullname) in init_pykmsbase()
71 .def("get_default_mode", &Connector::get_default_mode) in init_pykmsbase()
72 .def("get_current_crtc", &Connector::get_current_crtc) in init_pykmsbase()
73 .def("get_possible_crtcs", [](Connector* self) { in init_pykmsbase()
76 .def("get_modes", &Connector::get_modes) in init_pykmsbase()
77 .def("get_mode", (Videomode(Connector::*)(const string& mode) const) & Connector::get_mode) in init_pykmsbase()
78 ….def("get_mode", (Videomode(Connector::*)(unsigned xres, unsigned yres, float refresh, bool ilace)… in init_pykmsbase()
79 .def("connected", &Connector::connected) in init_pykmsbase()
80 .def("__repr__", [](const Connector& o) { return "<pykms.Connector " + to_string(o.id()) + ">"; }) in init_pykmsbase()
81 .def("refresh", &Connector::refresh); in init_pykmsbase()
84 .def("set_mode", (int (Crtc::*)(Connector*, const Videomode&)) & Crtc::set_mode) in init_pykmsbase()
85 .def("set_mode", (int (Crtc::*)(Connector*, Framebuffer&, const Videomode&)) & Crtc::set_mode) in init_pykmsbase()