本文整理汇总了Python中Components.Label.Label.hide方法的典型用法代码示例。如果您正苦于以下问题:Python Label.hide方法的具体用法?Python Label.hide怎么用?Python Label.hide使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Components.Label.Label
的用法示例。
在下文中一共展示了Label.hide方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Browser
# 需要导入模块: from Components.Label import Label [as 别名]
# 或者: from Components.Label.Label import hide [as 别名]
#.........这里部分代码省略.........
"btnRedY" : fheight - 75 - 100,
"btnGreenY" : fheight - 75 - 75,
"btnYellowY" : fheight - 75 - 50,
"btnBlueY" : fheight - 75 - 25,
"notifX" : ( fwidth / 2 ) - 175,
}
self.__isHbbtv = isHbbtv
if self.__isHbbtv:
isTransparent = fullscreen = True
self.__hbbtvMenu = hbbtvMenu
self.__isTransparent = isTransparent
self.__fullscreen = fullscreen
if self.__fullscreen:
Browser.skin = Browser.skinFullscreen
Screen.__init__(self, session)
HelpableScreen.__init__(self)
if self.__fullscreen:
self.skinName = "BrowserFullscreen"
self.__startUrl = url
self["loading"] = Label("")
self.urlInput = EnhancedInput()
self["url"] = self.urlInput
self.textInput = Input()
self["text"] = self.textInput
self.textInput.hide()
self.statuslabel = Label("")
self["statuslabel"] = self.statuslabel
self.statuslabel.hide();
self.urlInputEnabled = False
self.webnavigation = WebNavigation()
self.webnavigation.zoomFactor = 1.0
self.__onStoragePathChanged()
self["webnavigation"] = self.webnavigation
self.__urlList = MenuList([], enableWrapAround = True, content = eListboxPythonStringContent)
self["urlList"] = self.__urlList
self.canvas = CanvasSource()
self["canvas"] = self.canvas
self["buttonBar"] = Label("")
self["button_red_off"] = Boolean(True)
self["button_green_off"] = Boolean(True)
self["button_yellow_off"] = Boolean(True)
self["button_blue_off"] = Boolean(True)
self["button_red"] = Boolean(True)
self["button_green"] = Boolean(False)
self["button_yellow"] = Boolean(True)
self["button_blue"] = Boolean(True)
self["red"] = Label(_("Mouse Off"))
self["green"] = Label("")
self["yellow"] = Label(_("Navigation"))
self["blue"] = Label(_("Pagescroll"))