Skip to content

taipy.gui.Page

Generic page generator.

The Page class transforms template text into actual pages that can be displayed on a web browser.

When a page is requested to be displayed, it is converted into HTML code that can be sent to the client. All control placeholders are replaced by their respective graphical component so you can show your application variables and interact with them.

__init__(**kwargs)

create_page()

Create the page content for page modules.

If this page is a page module, this method must be overloaded and return the page content.

This method should never be called directly: only the Taipy GUI internals will.

The default implementation returns None, indicating that this class does not implement a page module.

Returns:

Type Description
Optional[Page]

The page content for this Page subclass, making it a page module.