# Ruby-iup preview release

**URL:** <https://www.ruby-forum.com/t/ruby-iup-preview-release/154809>\
**Category:** Ruby\
**Created:** [December 4, 2008, 4:41am UTC](https://www.ruby-forum.com/t/ruby-iup-preview-release/154809 "2008-12-04T04:41:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phasis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e56c9b/32.png) [@phasis](https://www.ruby-forum.com/u/phasis)\
**Post date:** [December 4, 2008, 4:41am UTC](https://www.ruby-forum.com/t/ruby-iup-preview-release/154809/1 "2008-12-04T04:41:05Z")

</div>

Hi,

I’m pleased to announce the preview release of ruby-iup  
[[http://rubyforge.org/projects/ruby-iup/](http://rubyforge.org/projects/ruby-iup/)]  
ruby-iup is a binding library for the IUP GUI toolkit.

IUP is a portable toolkit for building graphical user interfaces. It  
offers a  
configuration API in three basic languages: C, Lua and LED. IUP’s  
purpose is  
to allow a program to be executed in different systems without any  
modification,  
therefore it is highly portable. Its main advantages are:

- high performance, due to the fact that it uses native interface  
elements.

- fast learning by the user, due to the simplicity of its API.

Refer to [IUP - Portable User Interface](http://www.tecgraf.puc-rio.br/iup/)

For now, no document and test are included and works on Linux and  
Windows.

Some example codes are provided and theses are ported from C code.

Some Screenshots:  
[Gallery - Standard Controls](http://www.tecgraf.puc-rio.br/iup/en/gallery.html)  
[Gallery - Additional Controls](http://www.tecgraf.puc-rio.br/iup/en/gallery_ctrl.html)  
[Gallery - Pre-defined Dialogs](http://www.tecgraf.puc-rio.br/iup/en/gallery_dlg.html)

== Example ==

require ‘iup’

male = Iup.Toggle(“Male”)  
female = Iup.Toggle(“Female”)  
exclusive = Iup.Radio(Iup.Vbox([male,female]))  
exclusive.value = female  
exclusive.tip = “Two state button - Exclusive - RADIO”  
frame = Iup.Frame(exclusive,:title=\>“Gender”)  
dialog = Iup.Dialog(Iup.Hbox([Iup.Fill,frame,Iup.Fill]))  
dialog.attr = “SIZE=140, TITLE=IupRadio, RESIZE=NO, MINBOX=NO,  
MAXBOX=NO”  
dialog.Show  
Iup.MainLoop  
dialog.Destroy

== Get It ==

gem install ruby-iup

== Notes ==

Windows:

The OCI compatible binary gem is availble.  
Tray application and MDI application is possible.

Other OS:  
Requires motif compatible library.  
Prebuilt IUP library are available at  
[http://www.tecgraf.puc-rio.br/iup/en/download.html](http://www.tecgraf.puc-rio.br/iup/en/download.html)

== To do ==

Documentaion.  
Unit Test code.  
Make MacOS gem.

Regards,

Park H.
