Public Member Functions | Private Attributes
rqt_robot_dashboard.menu_dash_widget.MenuDashWidget Class Reference
Inheritance diagram for rqt_robot_dashboard.menu_dash_widget.MenuDashWidget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def add_action
def add_separator

Private Attributes

 _menu

Detailed Description

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 38 of file menu_dash_widget.py.


Constructor & Destructor Documentation

def rqt_robot_dashboard.menu_dash_widget.MenuDashWidget.__init__ (   self,
  name,
  icons = None,
  clicked_icons = None,
  icon_paths = [] 
)

Definition at line 47 of file menu_dash_widget.py.


Member Function Documentation

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 67 of file menu_dash_widget.py.

Definition at line 64 of file menu_dash_widget.py.


Member Data Documentation

Definition at line 47 of file menu_dash_widget.py.


The documentation for this class was generated from the following file:


rqt_robot_dashboard
Author(s): Ze'ev Klapow
autogenerated on Fri Aug 28 2015 12:50:54