Lines Matching refs:Connector
65 py::class_<Connector, DrmPropObject, unique_ptr<Connector, py::nodelete>>(m, "Connector") in init_pykmsbase()
66 .def_property_readonly("fullname", &Connector::fullname) in init_pykmsbase()
67 .def("get_default_mode", &Connector::get_default_mode) in init_pykmsbase()
68 .def("get_current_crtc", &Connector::get_current_crtc) in init_pykmsbase()
69 .def("get_possible_crtcs", [](Connector* self) { in init_pykmsbase()
72 .def("get_modes", &Connector::get_modes) in init_pykmsbase()
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()
75 .def("connected", &Connector::connected) in init_pykmsbase()
76 … .def("__repr__", [](const Connector& o) { return "<pykms.Connector " + to_string(o.id()) + ">"; }) in init_pykmsbase()
77 .def("refresh", &Connector::refresh) 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()