dbusmock.templates.gsd_rfkill ============================= .. py:module:: dbusmock.templates.gsd_rfkill .. autoapi-nested-parse:: gsd-rfkill mock template This creates the expected properties of the GNOME Settings Daemon's rfkill object. You can specify any property such as AirplaneMode in "parameters". Attributes ---------- .. autoapisummary:: dbusmock.templates.gsd_rfkill.__author__ dbusmock.templates.gsd_rfkill.__copyright__ dbusmock.templates.gsd_rfkill.SYSTEM_BUS dbusmock.templates.gsd_rfkill.BUS_NAME dbusmock.templates.gsd_rfkill.MAIN_OBJ dbusmock.templates.gsd_rfkill.MAIN_IFACE Functions --------- .. autoapisummary:: dbusmock.templates.gsd_rfkill.load dbusmock.templates.gsd_rfkill.SetAirplaneMode Module Contents --------------- .. py:data:: __author__ :value: 'Guido Günther' .. py:data:: __copyright__ :value: '2024 The Phosh Developers' .. py:data:: SYSTEM_BUS :value: False .. py:data:: BUS_NAME :value: 'org.gnome.SettingsDaemon.Rfkill' .. py:data:: MAIN_OBJ :value: '/org/gnome/SettingsDaemon/Rfkill' .. py:data:: MAIN_IFACE :value: 'org.gnome.SettingsDaemon.Rfkill' .. py:function:: load(mock, parameters) .. py:function:: SetAirplaneMode(self, mode) Convenience method to toggle airplane mode