Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.07 KB

tree.md

File metadata and controls

32 lines (20 loc) · 1.07 KB

IUP for Zig

Lines of code GitHub code size in bytes made with Zig made with Zig

WIP Work in Progress

A Zig language idiomatic and type-checked bindings for IUP Portable User Interface Toolkit

Tree example

Creates a tree with some branches and leaves. Two callbacks are registered: one deletes marked nodes when the Del key is pressed, and the other, called when the right mouse button is pressed, opens a menu with options.

Source code: tree_example.zig.

Type zig build tree to run this example.

Converted from original example in C https://tecgraf.puc-rio.br/iup/examples/C/tree.c

Screenshots

Windows Classic

Tree Windows

Ubuntu

Tree Ubuntu