Navigation C API Pages Python bindings Applications

List of examples

Following pages contains a list of all code examples, the source files could be found and are compiled in the demos/c_simple/ and demos/py_simple directories in the source tree.

Table 1. List C examples
Example Source filename(s)

SDL Glue

SDL2_glue.c

SDL Glue

SDL_glue.c

Graphics Backend

backend_example.c

Backend Tasks

backend_tasks_example.c

Backend Timers

backend_timers_example.c

2D Linear Convolution

convolution.c

Custom Debug Message Handler

debug_handler.c

Font and Text rendering

fonttest.c fileview.c

Gaussian Additive Noise Filter

gaussian_noise.c

Glyph drawing

draw_glyph.c

Input Events Handling

input_example.c

Image Loader Registration

loaders_register.c

Loaders with Progress Callback

loaders.c

Matrix example

matrix.c

Memory IO with Loaders

memory_io.c

Showimage

showimage.c

Grabbers (v4l2) Examples

v4l2_grab.c v4l2_show.c

Vector example

vector.c

Choice widget ops

choice.c choice.json

Choice widget array

choice_arr.c choice_json_arr.c choice_json_arr.json

Widgets login window

login_example.c login_example_1.json login_example_2.json

Widgets pixmap

pixmap_example.c pixmap_example.json

Widgets pixmap

clock.c

Table widget example

table_example.c table_example.json

X11 Backend with multiple windows

x11_windows.c

Table 2. List Python examples
Example Source filename(s)

Backend Init

backends.py

Gaussian Blur Filter

blur.py

Camera Viewer

cam_view.py

Box Blur Convolution

convolution.py

Floyd-Steinberg Dithering

dither.py

Font Style

font_style.py

GFX Primitives

gfx.py

Progress Callback

progress_callback.py

Qt (PySide)

gfxprim_qt.py

Resize

resize.py

Showimage

showimage.py

X11 backend with multiple windows

x11_windows.py