Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::WebViewOptions Struct Reference

#include <web_view.hpp>

Classes

struct  Resource

Public Types

using FetchResource = std::function<std::optional<Resource>(const std::string& path)>

Public Attributes

bool enable_debug = false
 Enable DevTools / Web Inspector.
bool enable_debug_inspector = false
 Request a separate inspector window when supported.
bool transparent_background = false
bool accept_first_click = true
 macOS: first click on unfocused view is input
std::string initial_html
 Optional placeholder HTML shown before navigate()/set_html().
std::string custom_user_agent
 Override User-Agent string.
FetchResource fetch_resource
 Optional custom resource server.
std::string custom_scheme_uri
 Optional home URI for fetch_resource, e.g. pulp://app.

Member Typedef Documentation

◆ FetchResource

using pulp::view::WebViewOptions::FetchResource = std::function<std::optional<Resource>(const std::string& path)>

Member Data Documentation

◆ accept_first_click

bool pulp::view::WebViewOptions::accept_first_click = true

macOS: first click on unfocused view is input

◆ custom_scheme_uri

std::string pulp::view::WebViewOptions::custom_scheme_uri

Optional home URI for fetch_resource, e.g. pulp://app.

◆ custom_user_agent

std::string pulp::view::WebViewOptions::custom_user_agent

Override User-Agent string.

◆ enable_debug

bool pulp::view::WebViewOptions::enable_debug = false

Enable DevTools / Web Inspector.

◆ enable_debug_inspector

bool pulp::view::WebViewOptions::enable_debug_inspector = false

Request a separate inspector window when supported.

◆ fetch_resource

FetchResource pulp::view::WebViewOptions::fetch_resource

Optional custom resource server.

◆ initial_html

std::string pulp::view::WebViewOptions::initial_html

Optional placeholder HTML shown before navigate()/set_html().

◆ transparent_background

bool pulp::view::WebViewOptions::transparent_background = false

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/web_view.hpp