Hi,
I'm using kivyMD and I want to have a MDNavigationDrawer but I want an event when the nav is touched, meaning when it drops the submenus down I want an event method to do something.
Because, unlike on buttons that have on_press, MDNavigationDrawer does not have this method. Thanks
So the kv would be:
TrytonDynamicNavDrawer:
on_press: root.create_menus()
And the python like this:
class TrytonDynamicNavDrawer(MDNavigationDrawer):
def on_press(self):
# I need to populate after the navigation drawer is pressed
Thank you very much.