How do I…? — find the function by goal

Author: BlinkGTK Project

日本語 | API index

An index for finding the function name from what you want to do. See the page
in the "Details" column for usage, arguments and complete code examples. Every
function listed here is mechanically verified to exist in the bundled header
and shared library.

Start up and shut down

I want to… Functions Details
Tell BlinkGTK where the Chromium resources (icudtl.dat etc.) are blink_gtk_set_resources_path() / blink_gtk_set_icu_data_path() C API
Initialize the engine (before GTK) blink_gtk_init() C API
Run / quit the main loop blink_gtk_run_main_loop() / blink_gtk_quit_main_loop() C API
Shut down cleanly blink_gtk_shutdown() C API
Query the BlinkGTK / Chromium version blink_gtk_get_version() / blink_gtk_get_chromium_version() C API

Display pages

I want to… Functions Details
Create a WebView blink_web_view_new() C API
Create a WebView with a specific GPU mode / query it blink_web_view_new_with_gpu_mode() / blink_web_view_get_gpu_mode() Settings API
Open a URL blink_web_view_load_uri() C API
Show an HTML string directly blink_web_view_load_html() C API
Go back / forward (and check availability) blink_web_view_go_back() / blink_web_view_go_forward() / blink_web_view_can_go_back() / blink_web_view_can_go_forward() Navigation API
Reload / stop loading blink_web_view_reload() / blink_web_view_stop() Navigation API
Get the current URL / title blink_web_view_get_uri() / blink_web_view_get_title() C API
Know whether it is loading, and the progress blink_web_view_is_loading() / blink_web_view_get_estimated_load_progress() C API

Talk to the page

I want to… Functions Details
Run JavaScript from C blink_web_view_execute_javascript() App integration API
Receive messages from page JavaScript in C blink_web_view_register_message_handler() / blink_web_view_unregister_message_handler() App integration API
Send messages from C to page JavaScript blink_web_view_send_message_to_page() App integration API
Inject scripts / CSS into every page blink_web_view_inject_user_script() / blink_web_view_inject_user_stylesheet() / blink_web_view_remove_all_user_scripts() App integration API
Create a custom URL scheme (myapp:// etc.) blink_web_view_register_custom_scheme() App integration API
Serve binary data (images etc.) with a MIME type over a custom scheme blink_web_view_register_custom_scheme_full() App integration API

Appearance and interaction

I want to… Functions Details
Zoom in / out blink_web_view_set_zoom_level() / blink_web_view_get_zoom_level() In-page search and zoom
Search within the page blink_web_view_find_in_page() / blink_web_view_stop_finding() In-page search and zoom
Change the default font size / encoding blink_web_view_set_default_font_size() / blink_web_view_set_default_encoding() Settings API
Respond to Fullscreen API requests blink_web_view_set_fullscreen_handler() / blink_web_view_exit_fullscreen() / blink_web_view_is_fullscreen() UI handlers API
Set the rendering canvas size blink_web_view_set_canvas_size() C API

Change settings

I want to… Functions Details
Disable / enable JavaScript blink_web_view_set_javascript_enabled() / blink_web_view_get_javascript_enabled() Settings API
Stop / resume loading images blink_web_view_set_images_enabled() / blink_web_view_get_images_enabled() Settings API
Disable / enable localStorage blink_web_view_set_local_storage_enabled() / blink_web_view_get_local_storage_enabled() Settings API
Change / query the User-Agent blink_web_view_set_user_agent() / blink_web_view_get_user_agent() Settings API
Read / write / clear cookies blink_web_view_get_cookies() / blink_web_view_set_cookie() / blink_web_view_delete_all_cookies() C API

Provide your own UI

I want to… Functions Details
Show my own dialogs for alert / confirm / prompt blink_web_view_set_javascript_dialog_handler() UI handlers API
Provide my own file chooser (<input type="file">) blink_web_view_set_file_chooser_handler() / blink_web_view_file_chooser_response() UI handlers API
Download / save files Not supported yet (app-side workaround available) UI handlers API — status and workaround
Respond to HTTP authentication (Basic etc.) Not supported yet UI handlers API — status and workaround
Decide how certificate errors are handled blink_web_view_set_certificate_error_handler() UI handlers API
Respond to permission requests (geolocation, notifications, …) blink_permission_request_get_type_name() / blink_permission_request_allow() / blink_permission_request_deny() Signals API

Save and export

I want to… Functions Details
Print the page to PDF blink_web_view_print_to_pdf() C API
Save the rendered content as PNG blink_web_view_capture_screenshot() / blink_web_view_capture_screenshot_async() C API
Forbid copy / save / print (e-book readers, kiosks) blink_web_view_set_content_policy() / blink_web_view_get_content_policy() Settings API

Develop and debug

I want to… Functions Details
Open / close Chrome DevTools blink_web_view_open_devtools() / blink_web_view_close_devtools() DevTools API
Get the DevTools URL and inspect from another browser blink_web_view_get_devtools_url() DevTools API
Change the DevTools UI language blink_gtk_set_devtools_locale() / blink_gtk_get_devtools_locale() DevTools API
Inject mouse input for testing blink_web_view_inject_test_input() C API

Functions not listed here

The complete list of public functions (including deprecated and experimental
ones) is in the
complete function index of the C API reference.
For signals (load-changed / title-changed / permission-request etc.) see the
Signals API.

History

Date Changes
2026-07-30 First edition