Skip to main content

Tooltips

Tooltips can be created by setting the description argument (max. 200 characters) on any of the input fields, tabs and sections, pages, steps, or views as follows:

class Parametrization(vkt.Parametrization):
number = vkt.NumberField("My number", description="This text is shown in the field's tooltip")
class Parametrization(vkt.Parametrization):
tab = vkt.Tab("My tab", description="This text is shown in the tab's tooltip")
tab.section = vkt.Section("My section", description="This text is shown in the section's tooltip")
class Parametrization(vkt.Parametrization):
page = vkt.Page("My page", description="This text is shown in the page's tooltip")
class Parametrization(vkt.Parametrization):
step = vkt.Step("My step", description="This text is shown in the step's tooltip")
class Controller(vkt.Controller):
...

@vkt.MapView("My map view", description="This text is shown in the view's tooltip")
def my_map_view(self, params, **kwargs):
...

The value of description can be styled using Markdown.