当前位置: 首页>>代码示例>>Python>>正文


Python TypeConvert.py2_dbus_boolean方法代码示例

本文整理汇总了Python中nmlib.nm_utils.TypeConvert.py2_dbus_boolean方法的典型用法代码示例。如果您正苦于以下问题:Python TypeConvert.py2_dbus_boolean方法的具体用法?Python TypeConvert.py2_dbus_boolean怎么用?Python TypeConvert.py2_dbus_boolean使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在nmlib.nm_utils.TypeConvert的用法示例。


在下文中一共展示了TypeConvert.py2_dbus_boolean方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: crtscts

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def crtscts(self, new_crtscts):
     self.prop_dict["crtscts"] = TypeConvert.py2_dbus_boolean(new_crtscts)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ppp.py

示例2: noauth

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def noauth(self, new_noauth):
     self.prop_dict["noauth"] = TypeConvert.py2_dbus_boolean(new_noauth)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ppp.py

示例3: require_mppe_128

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def require_mppe_128(self, new_require_mppe_128):
     self.prop_dict["require-mppe-128"] = TypeConvert.py2_dbus_boolean(new_require_mppe_128)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ppp.py

示例4: mppe_stateful

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def mppe_stateful(self ,new_mppe_stateful):
     self.prop_dict["mppe-stateful"] = TypeConvert.py2_dbus_boolean(new_mppe_stateful)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ppp.py

示例5: system_ca_certs

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def system_ca_certs(self, new_system_ca_certs):
     self.prop_dict["system-ca-certs"] = TypeConvert.py2_dbus_boolean(new_system_ca_certs)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_802_1x.py

示例6: require_mppe

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def require_mppe(self, new_require_mppe):
     self.prop_dict["require-mppe"] = TypeConvert.py2_dbus_boolean(new_require_mppe)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ppp.py

示例7: hidden

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def hidden(self, new_hidden):
     self.prop_dict["hidden"] = TypeConvert.py2_dbus_boolean(new_hidden)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_wireless.py

示例8: autoconnect

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def autoconnect(self, new_autoconnect):
     self.prop_dict["autoconnect"] = TypeConvert.py2_dbus_boolean(new_autoconnect)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_connection.py

示例9: never_default

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def never_default(self, new_never_default):
     self.prop_dict["never-default"] = TypeConvert.py2_dbus_boolean(new_never_default)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ip6config.py

示例10: may_fail

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def may_fail(self, new_may_fail):
     self.prop_dict["may-fail"] = TypeConvert.py2_dbus_boolean(new_may_fail)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ip6config.py

示例11: dhcp_send_hostname

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def dhcp_send_hostname(self, new_dhcp_send_hostname):
     self.prop_dict["dhcp_send_hostname"] = TypeConvert.py2_dbus_boolean(new_dhcp_send_hostname)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ip6config.py

示例12: ignore_auto_dns

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def ignore_auto_dns(self, new_ignore_auto_dns):
     self.prop_dict["ignore-auto-dns"] = TypeConvert.py2_dbus_boolean(new_ignore_auto_dns)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ip6config.py

示例13: auto_negotiate

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def auto_negotiate(self, new_auto_negotiate):
     self.prop_dict["auto_negotiate"] = TypeConvert.py2_dbus_boolean(new_auto_negotiate)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_wired.py

示例14: refuse_chap

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def refuse_chap(self, new_refuse_chap):
     self.prop_dict["refuse-chap"] = TypeConvert.py2_dbus_boolean(new_refuse_chap)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ppp.py

示例15: nodeflate

# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
 def nodeflate(self, new_nodeflate):
     self.prop_dict["nodeflate"] = TypeConvert.py2_dbus_boolean(new_nodeflate)
开发者ID:electricface,项目名称:deepin-system-settings,代码行数:4,代码来源:nmsetting_ppp.py


注:本文中的nmlib.nm_utils.TypeConvert.py2_dbus_boolean方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。