Public Member Functions | |
def | __init__ |
def | add_action |
def | add_separator |
Private Attributes | |
_menu |
A widget which displays a pop-up menu when clicked :param name: The name to give this widget. :type name: str :param icon: The icon to display in this widgets button. :type icon: str
Definition at line 37 of file menu_dash_widget.py.
def rqt_robot_dashboard.menu_dash_widget.MenuDashWidget.__init__ | ( | self, | |
name, | |||
icons = None , |
|||
clicked_icons = None , |
|||
icon_paths = [] |
|||
) |
Definition at line 46 of file menu_dash_widget.py.
def rqt_robot_dashboard.menu_dash_widget.MenuDashWidget.add_action | ( | self, | |
name, | |||
callback | |||
) |
Add an action to the menu, and return the newly created action. :param name: The name of the action. :type name: str :param callback: Function to be called when this item is pressed. :type callback: callable
Definition at line 66 of file menu_dash_widget.py.
Definition at line 63 of file menu_dash_widget.py.
Definition at line 46 of file menu_dash_widget.py.