Skip to main content
Ctrl+K
Logo image

Site Navigation

  • API Reference
  • Examples
  • How ToUI works

Site Navigation

  • API Reference
  • Examples
  • How ToUI works

Section Navigation

  • Website
    • Website.add_pages
    • Website.get_user_page
    • Website.open_new_page
    • Website.register_toui_blueprint
    • Website.run
    • Website.set_data_validation
    • Website.set_restriction
    • Website.set_ws_validation
  • DesktopApp
    • DesktopApp.add_pages
    • DesktopApp.get_user_page
    • DesktopApp.open_new_page
    • DesktopApp.run
  • Page
    • Page.add_function
    • Page.from_bs4_soup
    • Page.from_html_file
    • Page.from_str
    • Page.get_body_element
    • Page.get_element
    • Page.get_elements
    • Page.get_html_element
    • Page.to_bs4_soup
    • Page.to_html_file
    • Page.to_str
  • Element
    • Element.add_content
    • Element.from_bs4_tag
    • Element.from_str
    • Element.get_attr
    • Element.get_content
    • Element.get_element
    • Element.get_elements
    • Element.get_height_property
    • Element.get_id
    • Element.get_style_property
    • Element.get_value
    • Element.get_width_property
    • Element.has_attr
    • Element.on
    • Element.onclick
    • Element.set_attr
    • Element.set_content
    • Element.set_height_property
    • Element.set_id
    • Element.set_style_property
    • Element.set_value
    • Element.set_width_property
    • Element.to_bs4_tag
    • Element.to_str
  • IFrameElement
    • IFrameElement.add_content
    • IFrameElement.from_bs4_tag
    • IFrameElement.from_str
    • IFrameElement.get_attr
    • IFrameElement.get_content
    • IFrameElement.get_element
    • IFrameElement.get_elements
    • IFrameElement.get_height_property
    • IFrameElement.get_id
    • IFrameElement.get_style_property
    • IFrameElement.get_value
    • IFrameElement.get_width_property
    • IFrameElement.has_attr
    • IFrameElement.on
    • IFrameElement.onclick
    • IFrameElement.set_attr
    • IFrameElement.set_content
    • IFrameElement.set_height_property
    • IFrameElement.set_id
    • IFrameElement.set_style_property
    • IFrameElement.set_value
    • IFrameElement.set_width_property
    • IFrameElement.to_bs4_tag
    • IFrameElement.to_str
  • ToUIBlueprint
    • ToUIBlueprint.add_pages
    • ToUIBlueprint.register_toui_blueprint
  • quick_website
  • quick_desktop_app
  • API Reference
  • ToUIBlueprint
  • ToUIBlueprint.register_toui_blueprint

ToUIBlueprint.register_toui_blueprint#

ToUIBlueprint.register_toui_blueprint(blueprint, **options)[source]#

Registers a ToUIBlueprint object. It is similar to flask.Blueprint.register_blueprint.

Parameters:
  • blueprint (toui.structure.ToUIBlueprint) –

  • options – Same as flask.Blueprint.register_blueprint options parameter.

See also

toui.structure.ToUIBlueprint, flask.Blueprint.register_blueprint

previous

ToUIBlueprint.add_pages

next

quick_website

On this page
  • ToUIBlueprint.register_toui_blueprint()
Show Source

© Copyright 2023, Mubarak Almehairbi.

Created using Sphinx 5.3.0.

Built with the PyData Sphinx Theme 0.13.1.