Skip to content

How context_menu does work? #574

Answered by pc223
Zeroto521 asked this question in Q&A
Jul 18, 2021 · 3 comments · 7 replies
Discussion options

You must be logged in to vote

Not sure if this is what you looking for, you can try add "ContextData" in response of query(), after that, when you enter context menu mode, the data variable (def context_menu(self, data) -> list:) will be [["param1","param2","param3"]]

{
    "result":[
        {
            "Title":"title1"
            "SubTitle":"subtitle1",
            "IcoPath":"assets/favicon.ico",
            "ContextData":["param1","param2","param3"],
        }
    ]
}

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@pc223
Comment options

pc223 Jul 18, 2021
Collaborator

@taooceros
Comment options

@taooceros
Comment options

@pc223
Comment options

pc223 Jul 19, 2021
Collaborator

Answer selected by taooceros
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants