Questions tagged [iup]

This tag is for questions related to the portable user interface toolkit known as IUP. IUP is a portable toolkit for building graphical user interfaces offering 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.

This tag is for questions related to the portable user interface toolkit known as IUP. From that link:

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.
85 questions
5
votes
1 answer

Read console output realtime in lua

How can I manage to periodically read the output of a script while it is running? In the case of youtube-dl, it sends download information (progress/speed/eta) about the video being downloaded to the terminal. With the following code I am able to…
logen
  • 53
  • 1
  • 4
4
votes
0 answers

How do I install IUP with MinGw

I'm learning how to make GUI applications using C and I came across the IUP Toolkit. Reading through the tutorials I am stuck on how to actually configure the toolkit with MinGw so that I can compile a basic window…
bsizzle
  • 389
  • 1
  • 4
  • 10
4
votes
2 answers

Using IUP on Mac OS X

Are you guys suffered from this question when using IUP on MacOS? Gizak-Pro:iup-3.6_MacOS107_bin Gizak$ ./iupview dyld: Library not loaded: /sw/lib/fontconfig2/lib/libfontconfig.1.dylib Referenced from:…
Gizak
  • 854
  • 2
  • 11
  • 21
4
votes
2 answers

GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

I am attempting to run a basic application using Iup and OpenCV. The main goal of the app is to display an image and allow the user to analyze in various interesting ways, but that is irrelevant right now. What I need to know is what the following…
ewok
  • 20,148
  • 51
  • 149
  • 254
3
votes
1 answer

Using IUP with Lua on Ubuntu

I'm trying to get IUP working on Ubuntu. I downloaded the binaries from sourceforge and the libraries seem to be in place in /usr/lib/libiup*.so, but when I write a script like the following: require("iuplua") iup.Message('Testing App!', 'Finished…
ktr
  • 696
  • 9
  • 15
3
votes
1 answer

How to display a progress Bar using Lua and IUP

I have built a long running script to which I have added a progress bar with the following code: function StartProgressBar() gaugeProgress = iup.gaugeProgress{} gaugeProgress.show_text = "YES" gaugeProgress.expand = "HORIZONTAL" …
Jane T
  • 2,081
  • 2
  • 17
  • 23
2
votes
1 answer

Triggering OK from the call back on GetParm

I am using the IUP.GetParm dialog to do a search and replace prompt. The dialog supports 3 buttons, the first two OK and Cancel close the prompt and return to the main program flow. The third button can be tracked in the parm_action function, what I…
Jane T
  • 2,081
  • 2
  • 17
  • 23
2
votes
1 answer

Running Lua code on Android

I have a simple GUI program that has 2 text fields for number entry and a button to press to get sum of these numbers. It uses the portable IUP for GUI elements: require( "iuplua" ) t1 = iup.text{} t2 = iup.text{} btn = iup.button {title =…
rnso
  • 23,686
  • 25
  • 112
  • 234
2
votes
1 answer

trouble using iup with Lua

I am trying to get Iup working in Lua. I have successfully installed and run iup in C, but I have an embedded lua interpreter in my gui and it would be helpful to be able to load dialogs from the interpreter. however, when I attempt to execute…
ewok
  • 20,148
  • 51
  • 149
  • 254
1
vote
0 answers

Using Touch/Multitouch in iuplua

Using iuplua 3.5, the following code should throw a couple of events on windows 7 devices capable of multi touch: require("iuplua") canvas = iup.canvas{rastersize = "640x480", touch = "YES"} dialog = iup.dialog{canvas, title = "test…
Henrik Ilgen
  • 1,879
  • 1
  • 17
  • 35
1
vote
0 answers

Various problems with IUPLua

I've been trying, for a few days, to get a simple test case (matrix.wlua from the IUP documentation's examples) to work properly. IUPLua isn't in LuaRocks, so I had to install LuaDist and modify my path; when I then tried to compile iup (including…
mmirate
  • 704
  • 6
  • 25
1
vote
1 answer

Getting input with IUP in Lua

I've been trying to get input with IUP to make a small pong game. I wanted to try some input, and tried some of the code that comes with the IUPGL examples, but the input doesn't seem to be working at all. Here's the code as it stands so…
Cristián Romo
  • 9,814
  • 12
  • 50
  • 50
1
vote
2 answers

How to require iuplua module from another folder?

I have a simple test.lua script that creates a window using iuplua. I call it with lua C:\path\to\test.lua. If I call it from C:\lua-5.4.4\iuplua where all the iup libraries at, everything is fine no matter where the script itself is placed. The…
Sun of A beach
  • 171
  • 1
  • 10
1
vote
1 answer

Problem with WinMain already defined in iup.lib

I'm currently migrating a project from C to C++ and also would like to use cmake for project setup, but I don't know if the issue is actually related to cmake. Unfortunately I have not so much insight into lua details, it's right now just an…
Feuerteufel
  • 571
  • 5
  • 16
1
vote
1 answer

Perl IUP GUI Button Action with uni parameter set

I'm using the Perl IUP module implemented by kmx, I liked it due to ease of using it and somewhat ok look. I need to create a Frame box with multiple button from a list (lets say 40-50). I can create this easily in a for loop going through the array…
Aravind Nadumane
  • 170
  • 1
  • 11
1
2 3 4 5 6