Author: BlinkGTK Project
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.
| 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 |
| Get the version string to quote in a bug report (build number included) | blink_gtk_get_version_full() |
C API |
| I want to… | Functions | Details |
|---|---|---|
| Create a WebView | blink_web_view_new() |
C API |
| Choose the rendering path / query it | blink_gtk_set_gpu_mode() (before init)
/ 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 |
| 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 |
| 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 serif / sans-serif / monospace typeface, or set a minimum font size | blink_web_view_set_font_family() /
blink_web_view_set_minimum_font_size() (1.2.3-build2 and
later) |
Settings API |
| Change the default font size / encoding | blink_web_view_set_default_font_size() (1.2.3 and
later) / blink_web_view_set_default_encoding() (1.2.3 and
later; only for pages with no declared or detected 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 |
| I want to… | Functions | Details |
|---|---|---|
| Disable / enable JavaScript | blink_web_view_set_javascript_enabled() /
blink_web_view_get_javascript_enabled() (applied from
1.2.3) |
Settings API |
| Stop / resume loading images | blink_web_view_set_images_enabled() /
blink_web_view_get_images_enabled() (applied from
1.2.3) |
Settings API |
| Disable / enable localStorage | blink_web_view_set_local_storage_enabled() /
blink_web_view_get_local_storage_enabled() (applied from
1.2.3) |
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 |
| 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, show progress, cancel | blink_web_view_set_download_handler() with the
BlinkDownload from download-started
(blink_download_cancel() etc., 1.2.3-build2 and later) |
UI handlers API — Downloads |
| Respond to HTTP authentication (Basic etc.) | blink_web_view_set_auth_handler() +
blink_web_view_auth_response() (1.2.3-build2 and
later) |
UI handlers API — HTTP authentication |
| 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 |
| Answer a permission request later / see who is asking / remember the answer | blink_permission_request_ref() /
_get_origin() / _set_remember() /
blink_web_view_get_permission_state() (1.2.3-build2 and
later) |
Signals API |
| Open links in the system browser / stop a navigation / open a new window in another view | decide-navigation signal with
blink_navigation_decision_open_external() /
blink_navigation_decision_ignore() /
blink_navigation_decision_create_view() (1.2.3-build2 and
later) |
Signals API |
| I want to… | Functions | Details |
|---|---|---|
| Print the page to PDF | blink_web_view_print_to_pdf_with_options() (paper,
margins, ranges) / blink_web_view_print_to_pdf()
(1.2.3-build2 and later) |
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 |
| 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 |
| Put trace markers at both ends of the part to measure | blink_gtk_trace_mark() (since v1.2.3) |
C API |
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.
| Date | Changes |
|---|---|
| 2026-07-30 | First edition |