Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dariolah/nim-iup-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

74 Commits

Repository files navigation

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

About

Nim GUI examples using IUP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /