All Projects → dariolah → nim-iup-examples

dariolah / nim-iup-examples

Licence: other
Nim GUI examples using IUP

Programming Languages

nim
578 projects
Makefile
30231 projects

Projects that are alternatives of or similar to nim-iup-examples

IUPforZig
IUP (Portable User Interface Toolkit) bindings for the Zig language.
Stars: ✭ 56 (+300%)
Mutual labels:  iup-gui-library, iup
viup
A V wrapper for the cross-platform UI library, IUP.
Stars: ✭ 36 (+157.14%)
Mutual labels:  iup
niup
IUP FFI bindings for Nim
Stars: ✭ 32 (+128.57%)
Mutual labels:  iup

Nim GUI examples using IUP

Rewrite of IUP examples in Nim. Code uses package 'niup' which contains generated FFI bindings for latest IUP.

For code explanation and more information visit https://www.tecgraf.puc-rio.br/iup/

Strong typed API using 'niup' module

  • button: Button, Text, Label, Vbox, Dialog, Image
  • text
  • textformat
  • multiline1
  • multiline2: MultiLine, List dropdown
  • list1: List, drag'n'drop
  • timer
  • dialog_ballon: window/dialog with irregular shape based on image dialogballon

C-like API examples using 'niupc' module

  • Hello World

    • example2_1.nim : Initialization
    • example2_2.nim : Creating a Dialog
    • example2_3.nim : Adding Interaction
    • example2_4.nim : Adding Layout Elements
    • example2_5.nim : Improving the Layout
    • example2_5_niupext.nim : Improving the Layout, using module niupext
  • Simple Notepad

    • example3_1.nim : Main Dialog
    • example3_2.nim : Adding a Menu
    • example3_3.nim : Using Pre-defined Dialogs
    • example3_4.nim : Custom Dialogs
    • example3_5.nim : Adding a Toolbar and a Statusbar
    • example3_6.nim : Defining Hot Keys
    • example3_7.nim : Recent Files Menu and a Configuration File
    • example3_8.nim : Clipboard Support
    • example3_9.nim : More File Management
    • example3_10.nim : Dynamic Layout
    • example3_11.nim : External Help
    • simple_notepad.nim : Final Considerations
    • simple_notepad_niupext.nim : Final Considerations, using module niupext simple notepad
    • scintilla_notepad.nim : Version with IupScintilla instead of IupText scintilla notepad
  • SimplePaint

    • example4_1 : Loading and Saving Images
    • example4_2 : Drawing with OpenGL
    • example4_3 : Drawing with CD and Printing
    • example4_4 : Interactive Zoom and Scrollbars
  • samples

    • list1: simple list, multiple list with callback and a drop-down list list1
    • list2: three frames with simple list, multiple list with callback and a drop-down list list2
    • list3 list3
    • matrixlist matrixlist
    • matrix matrix
    • tree tree
    • webbrowser webbrowser
    • plot plot
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].