Code Monkey home page Code Monkey logo

nim-iup-examples's Introduction

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

nim-iup-examples's People

Contributors

dariolah avatar nixfreak avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.