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
0 answers

PHP FFI vector by reference

In PHP 4.4.4 (bamcompiler to be more precise) I try to use w32api FFI to interface with iup GUI library like this: registerfunction("int IupOpen (int argc,string argv) From iup.dll"); $iup->registerfunction("int IupClose ()…
tbmale
  • 185
  • 1
  • 1
  • 5
0
votes
2 answers

Expand IUP.tabs element to fit dialog

I am using Lua 5.1.4 and IUP 3.4.0. Given the code: dlg = iup.dialog { iup.hbox { iup.tabs { tab1, tab2 } } ; title = "window", rasterSize = "640x480" } where tab1 and tab2 are each an…
Ovar Feisyl
  • 103
  • 7
0
votes
1 answer

IUP, menu, webbrowser, tree, tabs

I have such menu situation: int menu_create(Ihandle *menu) { hamburger = IupItem("&Hamburger", "hamburger"); IupSetAttributes(hamburger, "AUTOTOGGLE=YES, RADIO=YES"); char* ce = "Ćev&apčići"; cevapcici = IupItem(utf8_to_cp1250(ce),…
Wine Too
  • 4,515
  • 22
  • 83
  • 137
0
votes
2 answers

IUP, mouse events on matrix

I have basic confusion in understanding of IUP events system. Now I am talking about matrix. This is how it is created: Ihandle *create_mat(void) { mat = IupMatrix(NULL); IupSetAttribute(mat, "READONLY", "YES"); IupSetCallback(mat, "CLICK_CB",…
Wine Too
  • 4,515
  • 22
  • 83
  • 137
0
votes
1 answer

IUP matrix "Full row select"

By trying to use IUP matrix I find it's usage very intuitive and it work surprisingly fast even on weak computer. So I see that I can get from that control most of I need. But, since IUP has very original way of setting properties I can't get that…
Wine Too
  • 4,515
  • 22
  • 83
  • 137
0
votes
1 answer

IUP matrix refresh

I am trying to use IUP matrix from C like I uses DataGrid from VB. Till now I come to this: int refreshl(Ihandle *mat, int from) { struct lotstruct lot; FILE *fol; fol = fopen("C:/myfolder/myfile", "rb+"); int b; int temp = 1; for…
Wine Too
  • 4,515
  • 22
  • 83
  • 137
-1
votes
2 answers

(Lua/IUP) Check if one function is done before executing the next function

I have 2 functions. A function that displays a dialog that allows the user to choose which string to extract, and a function that can extract strings according to what the user chose in the dialog. I want them to run one after another inside the…
ITmaster
  • 29
  • 7
-1
votes
1 answer

A gap in IUP dropdown lists

Dropdown lists in IUP for Windows contain a superfluous gap after the last element if the number of elements is sufficient to warrant a scrollbar (which is five or more). Is this something I can change? Example dropdown =…
7vujy0f0hy
  • 8,741
  • 1
  • 28
  • 33
-1
votes
1 answer

Using IUP with C on Ubuntu

Somebody please help me to develop apps with IUP Portable User Interface toolkit with C in Linux (Ubuntu 12.04_amd64(actually i am using elementary :P) with Linux 3.2.0-51-generic to be more specific)[by the way i know nothing about iup - i came…
dhanesh sr
  • 121
  • 6
-9
votes
1 answer

In lua I see the print function use ..var.. and I wonder what the periods mean?

Here is an example: print("PARAM"..param_index.." = "..param.value) What the heck are those weird periods in there?
1 2 3 4 5
6