本文整理汇总了Python中subscription_manager.ga.GObject.threads_init方法的典型用法代码示例。如果您正苦于以下问题:Python GObject.threads_init方法的具体用法?Python GObject.threads_init怎么用?Python GObject.threads_init使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类subscription_manager.ga.GObject
的用法示例。
在下文中一共展示了GObject.threads_init方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: RHSMSpoke
# 需要导入模块: from subscription_manager.ga import GObject [as 别名]
# 或者: from subscription_manager.ga.GObject import threads_init [as 别名]
from subscription_manager import ga_loader
# initial-setup only works with gtk version 3
ga_loader.init_ga(gtk_version="3")
from subscription_manager.ga import GObject as ga_GObject
from subscription_manager.ga import Gtk as ga_Gtk
from subscription_manager.gui import managergui
from subscription_manager.i18n import configure_gettext
from subscription_manager.injectioninit import init_dep_injection
from subscription_manager.gui import registergui
from subscription_manager import utils
from subscription_manager.gui import utils as gui_utils
ga_GObject.threads_init()
__all__ = ["RHSMSpoke"]
configure_gettext()
class RHSMSpoke(FirstbootSpokeMixIn, NormalSpoke):
"""
Spoke used for registration of system in Anaconda or Initial Setup
"""
buildrObjects = ["RHSMSpokeWindow"]
mainWidgetName = "RHSMSpokeWindow"
uiFile = "rhsm_gui.ui"
helpFile = "SubscriptionManagerSpoke.xml"
# Display our spoke in second hub for testing purpose. There is also