本文整理汇总了Python中efl.elementary.entry.Entry.callback_anchor_hover_opened_add方法的典型用法代码示例。如果您正苦于以下问题:Python Entry.callback_anchor_hover_opened_add方法的具体用法?Python Entry.callback_anchor_hover_opened_add怎么用?Python Entry.callback_anchor_hover_opened_add使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类efl.elementary.entry.Entry
的用法示例。
在下文中一共展示了Entry.callback_anchor_hover_opened_add方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: entry_anchor_clicked
# 需要导入模块: from efl.elementary.entry import Entry [as 别名]
# 或者: from efl.elementary.entry.Entry import callback_anchor_hover_opened_add [as 别名]
def entry_anchor_clicked(obj, item=None):
win = StandardWindow("entry", "Entry Anchor", autodel=True, size=(400,400))
box = Box(win, size_hint_weight=EXPAND_BOTH)
win.resize_object_add(box)
entry = Entry(win, anchor_hover_style="popout", anchor_hover_parent=win)
entry.text = "<a href=url:http://www.enlightenment.org/>Enlightenment</a>"
entry.callback_anchor_clicked_add(anchor_clicked)
entry.callback_anchor_hover_opened_add(anchor_hover_opened)
entry.show()
frame = Frame(win, size_hint_align=FILL_BOTH, text="Entry test",
content=entry)
frame.show()
box.pack_end(frame)
box.show()
win.show()