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
0
votes
1 answer

install lua 5.4 binaries and libraries step by step on Windows

I don't know how to install this for this little chunck of code to work, thanks in advance: The code works in LuaForWindows 5.1, because all libraries are included. But not in 5.4 as I don't know how to install libraries: Latest LuaForWindows is up…
Roger
  • 333
  • 2
  • 13
0
votes
1 answer

Netbeans - How to add external C libraries? IUP

I'm learning C, and I want to use my first external library. Firstly I'll show the simplistic code I'm trying to compile: #include #include int main(int argc, char **argv) { IupOpen(&argc, &argv); IupMessage("Hello…
Nassim Assaf
  • 773
  • 5
  • 5
0
votes
1 answer

Generalising a set of linked iup handles in Lua

I'm using Lua with IUP and have a number of pairs of IUP handles thus: UseField1 = iup.toggle {blah blah blah} Field1Label = iup.text {blah blah blah} The number of field pairs (maxFields) is currently 5 but may vary. At various places in my Lua…
ColeValleyGirl
  • 577
  • 15
  • 40
0
votes
0 answers

multiple vm detected error on an OpenGL example

Lua 5.3.5 is embedded in my application (written in C++) and I am using pre-built dynamic 32 bit Lua 5.3.5 libraries on Windows. In my application, I have a script editor which runs Lua scripts. I also use pre-built IUP 3.25 libraries (32 bit) to be…
macroland
  • 973
  • 9
  • 27
0
votes
2 answers

Identifying active iup dialog

I'm writing a lua program that needs to call an external popup (let's call it Poppy) provided as an external library/API by another active programme (environment is Windows). Poppy has a bad habit; when invoked, it pops up, does its work and then…
ColeValleyGirl
  • 577
  • 15
  • 40
0
votes
1 answer

Populating an iup list from a lua table

I'm building up a set of IUP dialog 'helper' functions -- boilerplate that I can include in my Lua code to quickly implement frequently used interface functionality in a consistent manner. I have a function to make a "standard" iup list with a…
ColeValleyGirl
  • 577
  • 15
  • 40
0
votes
1 answer

MinGW: Undefined reference to `iupKeyCodeToName(int)'

I'm trying to make a windows executable of this example: https://www.tecgraf.puc-rio.br/iup/examples/C/sample.c On Linux with help of this tool: https://github.com/jprjr/iup-build On Ubuntu 16.04, but i get this linking error when trying to…
Bran
  • 3
  • 1
0
votes
1 answer

iup.getparam in Lua -- prompting for a directory

I'm writing a Lua program that must prompt the user for a directory as one of a number of parameters for an operation (that involves copying a file to a target directory with a new name). Environment is Windows; I'm using Lua 5.1. The relevant code…
ColeValleyGirl
  • 577
  • 15
  • 40
0
votes
1 answer

using IUP - Is there any way to clear all the content out of a IupText object?

using IUP - Is there any way to clear all the content out of a IupText object? I'm implementing a very simple 4 line display that is supposed to emulate a hardware device. Unfortunately, through days of experimentation, I found that using…
0
votes
1 answer

LUA iup.text cursor trouble

I am trying to use iup.text to create a textbox linked to a text file. I want to display the text file in this textbox in real time. local Visu = iup.text{ multiline="yes", --rastersize="x60", expand="yes", readonly="yes", …
Tony
  • 3
  • 2
0
votes
0 answers

Align button IUP

I am trying to right align a button. So far I have this: #include #include int close(Ihandle *self) { return IUP_CLOSE; } int main(int argc, char **argv) { Ihandle *button, *quit, *dlg; IupOpen(&argc, &argv); …
Xantium
  • 11,201
  • 10
  • 62
  • 89
0
votes
1 answer

Remove border completely from Iup_FlatButton

I am trying to remove the border from a IupFlatButton so that it just looks like text (until pressed). The window so far here: As you can see it still has a small dotted border. My script: #include #include int main(int argc,…
Xantium
  • 11,201
  • 10
  • 62
  • 89
0
votes
0 answers

Statically linking IUP with Visual Studio

I have downloaded the IUP iup-3.25_Win64_vc15_lib.zip (the latest x64 bit VS version they provided) file and have extracted it to my project (in a sub folder called Library). I am trying to compile the following: #include…
Xantium
  • 11,201
  • 10
  • 62
  • 89
0
votes
1 answer

IUP graphic examples issue

I have been trying to run the IUP graphic examples given under this link C or CPP examples such as plot.C or mathglsamples.c under the MinGW X64 windows environment straight out of the source code adaption without modification per se. However the…
0
votes
1 answer

iup, IupParamBox problems

First of all sorry for my bad English. I have a problem with IupParamBox, I want to make a settings list with the IupParamBox in a program where settings can be changed. I tried to use the IupGetParam functions but i can not put IupGetParam in a…
Jorrit
  • 3
  • 2