Has anyone successfully added a select long click callback to a SimpleMenuLayer?
In the source code of SimpleMenuLayer, there’s only a mention of a select_click being set, but not select_long_click:
My best guess would be that you need to set the callbacks again and trigger menu_layer_set_click_config_onto_window again, but I don’t know if this can be overwritten.
I think I previously attempted to use menu_layer_set_callbacks on the result of simple_menu_layer_get_menu_layer, but definitely didn’t rerun menu_layer_set_click_config_onto_window when I first did it so I likely did other things incorrectly.
I’ll likely go down a different path in the end to not break the expected behavior of a menu for the user. Figured that this was a decent inaugural post for this section of the forum. It’s also a prime example of a question that would otherwise get lost in the noise in Discord and is better suited for this format. ![]()