本文整理汇总了Python中pyasm.web.HtmlElement.blockquote方法的典型用法代码示例。如果您正苦于以下问题:Python HtmlElement.blockquote方法的具体用法?Python HtmlElement.blockquote怎么用?Python HtmlElement.blockquote使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pyasm.web.HtmlElement
的用法示例。
在下文中一共展示了HtmlElement.blockquote方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: get_display
# 需要导入模块: from pyasm.web import HtmlElement [as 别名]
# 或者: from pyasm.web.HtmlElement import blockquote [as 别名]
def get_display(my):
widget = Widget()
app = "Maya"
widget.add("<h3>Application Setup Wizard</h3>")
block = HtmlElement.blockquote()
block.add("<p>Step 1: Launch %s (or start with a new session)</p>" % app)
# sphere test
block.add("<p>Step 2: Sphere test</p>")
sphere_button = ProdIconButtonWdg("Sphere")
sphere_button.add_event("onclick", "app.mel('sphere')")
block.add( sphere_button)
block.add( "If a sphere appears when clicking on this button, then the Maya connector is functiioning")
block.add("<p>Step 3: Introspection</p>")
introspect_button = ProdIconButtonWdg("Introspect")
introspect_button.add_event("onclick", "introspect()")
block.add( introspect_button)
block.add("<p>Step 4: Create C:/temp/sthpw</p>")
block.add("<p>Step 5: Check in Sphere</p>")
block.add("<p>Step 6: Load Sphere</p>")
widget.add(block)
return widget