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


Python BaseAdminGtkNode.__init__方法代码示例

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


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

示例1: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
 def __init__(self, *args, **kwargs):
     BaseAdminGtkNode.__init__(self, *args, **kwargs)
     self._statistics = None
     self._shown = False
     self._stats = None
     self._link = None
     self._labels = {}
开发者ID:flyapen,项目名称:UgFlu,代码行数:9,代码来源:admin_gtk.py

示例2: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
    def __init__(self, state, admin):
        BaseAdminGtkNode.__init__(self, state, admin, title=_("Component"))

        self._startTime = None
        self._debugging = None
        self._initialFluMask = ''
        self._initialGstMask = ''
开发者ID:ApsOps,项目名称:flumotion-orig,代码行数:9,代码来源:componentnode.py

示例3: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
 def __init__(self, state, admin, effectName, title=None):
     """
     @param state: state of component this is a UI for
     @type  state: L{flumotion.common.planet.AdminComponentState}
     @param admin: the admin model that interfaces with the manager for us
     @type  admin: L{flumotion.admin.admin.AdminModel}
     """
     BaseAdminGtkNode.__init__(self, state, admin, title)
     self.effectName = effectName
开发者ID:ApsOps,项目名称:flumotion-orig,代码行数:11,代码来源:effectsnode.py

示例4: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
 def __init__(self, state, admin):
     BaseAdminGtkNode.__init__(self, state, admin, title=_("Eaters"))
     # tree model is a model of id, uiState, StateWatcher
     # tree model contains eaters
     self.treemodel = None
     self.treeview = None
     self._selected = None # the watcher of the currently selected row
     self.labels = {}
     self._lastConnect = 0
     self._lastDisconnect = 0
开发者ID:ylatuya,项目名称:Flumotion,代码行数:12,代码来源:eatersnode.py

示例5: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
 def __init__(self, state, admin):
     BaseAdminGtkNode.__init__(self, state, admin, title=_("Feeders"))
     # tree model is a model of id, uiState, StateWatcher, type
     # tree model contains feeders and their feeder clients
     # type is a str, 'feeder' or 'client'
     self.treemodel = None
     self.treeview = None
     self.selected = None
     self.labels = {}
     self._lastConnect = 0
     self._lastDisconnect = 0
开发者ID:offlinehacker,项目名称:flumotion,代码行数:13,代码来源:feedersnode.py

示例6: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
 def __init__(self, *args, **kwargs):
     BaseAdminGtkNode.__init__(self, *args, **kwargs)
     self._progress = None
     self._model = gtk.TreeStore(str, str, str, int)
     self._view = None
     self._errorText = None
     self._uiInitialized = False
     self._fields = {}
     self._valFormats = {}
     self._lblFormats = {}
     self._labels = {}
     self._iterIndex = {}
     self._targetsWarnings = {}
     self._targetsError = {}
     self._jobWarnings = []
     self._jobError = None
     self._status = None
开发者ID:osiloke,项目名称:Flumotion-Transcoder,代码行数:19,代码来源:filetranscoder_admin_gtk.py

示例7: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
 def __init__(self, state, admin, title=None):
     BaseAdminGtkNode.__init__(self, state, admin, title)
     # create widget
     self.widget = gtk.Table(2, 1)
     self.radioButton = {}
     self.radioButton["backup"] = gtk.RadioButton(label="Backup")
     self.radioButton["master"] = gtk.RadioButton(
         self.radioButton["backup"],
         label="Master")
     self.radioButtonHandlers = {}
     currentRow = 0
     for eaterName in self.radioButton:
         self.widget.attach(self.radioButton[eaterName], 0, 1, currentRow,
             currentRow+1, yoptions=gtk.FILL, xpadding=6, ypadding=6)
         currentRow = currentRow + 1
         self.radioButton[eaterName].show()
         sigID = self.radioButton[eaterName].connect(
             "toggled", self.cb_toggled, eaterName)
         self.radioButtonHandlers[eaterName] = sigID
     self.widget.show()
开发者ID:offlinehacker,项目名称:flumotion,代码行数:22,代码来源:admin_gtk.py

示例8: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
 def __init__(self, *args, **kwargs):
     BaseAdminGtkNode.__init__(self, *args, **kwargs)
     self._shown = False
     self._state = None
     self._reqStats = {} # {name: (widget, converter, format, default)}
开发者ID:ApsOps,项目名称:flumotion-orig,代码行数:7,代码来源:admin_gtk.py

示例9: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
 def __init__(self, *args, **kwargs):
     BaseAdminGtkNode.__init__(self, *args, **kwargs)
     self.view = None
     self.model = gtk.TreeStore(str, str)
     self.model_lookup = {}
开发者ID:osiloke,项目名称:Flumotion-Transcoder,代码行数:7,代码来源:httpmonitor_admin_gtk.py

示例10: __init__

# 需要导入模块: from flumotion.component.base.baseadminnode import BaseAdminGtkNode [as 别名]
# 或者: from flumotion.component.base.baseadminnode.BaseAdminGtkNode import __init__ [as 别名]
 def __init__(self, state, admin):
     BaseAdminGtkNode.__init__(self, state, admin, title=_("Properties"))
开发者ID:offlinehacker,项目名称:flumotion,代码行数:4,代码来源:propertiesnode.py


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