Skip to content

Open menu on hover? #4108

Answered by falkoschindler
ed2050 asked this question in Q&A
Dec 16, 2024 · 2 comments · 10 replies
Discussion options

You must be logged in to vote

Like this?

with ui.button('Menu').on('mouseenter', lambda: menu.open()):
    with ui.menu() as menu:
        ui.menu_item('Item 1')
        ui.menu_item('Item 2')
        ui.menu_item('Item 3')

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
3 replies
@ed2050
Comment options

@falkoschindler
Comment options

@ed2050
Comment options

Answer selected by ed2050
Comment options

You must be logged in to vote
7 replies
@falkoschindler
Comment options

@ed2050
Comment options

@falkoschindler
Comment options

@ed2050
Comment options

@ed2050
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants