This reference documentation is divided into 3 major sections:
- Connecting to the dashboard
How to initially connect to the Tableau dashboard
- Tableau objects
Classes that represent things you can see on the dashboard (filters, parameters, marks, etc.)
- Change event classes
Classes that represent change events on the dashboard (mark selection, filter change, parameter change, etc.)
api.get_dashboard
is the recommended way to connect to the Tableau Dashboard.
client_code.api
These are the things you can see on the dashboard (filters, parameters, worksheets, etc.).
client_code.model.proxies
You will encounter these classes when registering event handlers. For example, when registering the 'filter_changed' event:
# in some form code
def __init__(self):
# setup code omitted
self.dashboard.register_event_handler('filter_changed', self.my_event_handler)
def my_event_handler(self, event):
filter = event.filter
event
in this case will be an instance of the ~client_code.model.proxies.FilterChangedEvent
class.
client_code.model.proxies
client_code.dialogs
client_code.model.proxies