Re: [Iup-users] Problem with IM library in some 64 bits machines

2016-06-02 Thread Antonio Scuri
Hi, GTK uses the same libPNG IM uses, but IM includes the libPNG code. Sometimes they conflict. So this is one of the reasons we changed IM for the next version. In Linux we are going to always use what's installed on the system instead of using the latest code. That's whats on SVN. IUP and

Re: [Iup-users] Problem with IM library in some 64 bits machines

2016-06-02 Thread Antonio Scuri
Hi, Just fixed that compilation problem for libpng 1.6.8. It is now on SVN. Best, Scuri On Thu, Jun 2, 2016 at 2:50 PM, Germán Arias wrote: > Hi, > > El jue, 02-06-2016 a las 10:03 -0300, Antonio Scuri escribió: > > Hi, > > GTK uses the same libPNG IM uses, but I

Re: [Iup-users] iupscintilla with lua lexer not working

2016-06-15 Thread Antonio Scuri
Notice that when you set attributes in a constructor the order Lua sets the attributes is not defined. So the problem is at the line styleclearall = "Yes", Comment it and you will see that it works. Best, Scuri On Wed, Jun 15, 2016 at 2:27 PM, Milind Gupta wrote: > Hi, > I tried th

Re: [Iup-users] iupscintilla with lua lexer not working

2016-06-15 Thread Antonio Scuri
Check que TABSIZE attribute. Best, Scuri On Wed, Jun 15, 2016 at 3:10 PM, Milind Gupta wrote: > Thanks Antonio. It is working now. Another question is how can I set the > tab spacing on the editor? > > Thanks, > Milind > > > On Wed, Jun 15, 2016 at 10:55 AM

Re: [Iup-users] iupscintilla with lua lexer not working

2016-06-15 Thread Antonio Scuri
write 'table:hello' it colors table > correctly. But if I write 'table.unpack' then it does not color table > properly. How can I make the '.' also respect the color scheme? > > Thanks, > Milind > > On Wed, Jun 15, 2016 at 11:16 AM, Antonio Scuri &g

Re: [Iup-users] Documentation on Colour Call back-Matrix

2016-06-20 Thread Antonio Scuri
Try this: function matrix:bgcolor_cb(l, c) -- play here local green =0 local blue =0 local red =200 if c == 0 then return iup.IGNORE -- title row, not used end if l == 0 then -- title column return iup.IGNORE end return red, green, blue, iup.DEFAULT end Best, Scuri On Mon, Jun 20, 2016 at

Re: [Iup-users] Documentation on Colour Call back-Matrix

2016-06-20 Thread Antonio Scuri
gnore the callback and pass the >treatment of the execution to the parent element. Applies only to some >actions. > > == > > Which explains the iup.IGNORE (thanks), but the significance of the others > is clearly understated! > > I think you might want to revisit that sectio

[Iup-users] Fwd: luajit: error loading module 'iuplua51' from file '.\iuplua51.dll': The specified procedure could not be found.

2016-06-22 Thread Antonio Scuri
-- Forwarded message -- From: Antonio Scuri Date: Sat, May 21, 2016 at 5:15 PM Subject: Re: [Iup-users] luajit: error loading module 'iuplua51' from file '.\iuplua51.dll': The specified procedure could not be found. To: "IUP discussion list." Th

Re: [Iup-users] Fwd: luajit: error loading module 'iuplua51' from file '.\iuplua51.dll': The specified procedure could not be found.

2016-06-25 Thread Antonio Scuri
i Scuri, >> >> thank you for your proposal. Until now, I did not received any file >> attachments from you. Please, can you send the files again? >> >> Best, >> Sören >> >> 2016-06-22 19:18 GMT+02:00 Antonio Scuri : >> >>> >>>

Re: [Iup-users] Fwd: luajit: error loading module 'iuplua51' from file '.\iuplua51.dll': The specified procedure could not be found.

2016-06-27 Thread Antonio Scuri
Hi, I uploaded the proxy DLL to: http://webserver2.tecgraf.puc-rio.br/~scuri/tmp/lua5.1_proxy.zip Let me know if it works. Best, Scuri On Sat, Jun 25, 2016 at 7:32 PM, Antonio Scuri wrote: > No. The attachment got stuck in the server. I will upload it to a > download area an

Re: [Iup-users] IUP Closing the entire program

2016-06-27 Thread Antonio Scuri
Hi, On IupClose, we call OleUninitialize(); CoUninitialize(); So specially CoUninitialize may affect your code. Notice that IupOpen and IupClose were not designed for successive calls. Usually the application calls IupOpen once at the beginning, and IupClose once at the end. Best, S

Re: [Iup-users] Place icon in system tray

2016-06-30 Thread Antonio Scuri
Yes. See the IupDialog documentation, attributes TRAY*. Best, Scuri On Wed, Jun 29, 2016 at 7:48 PM, Milind Gupta wrote: > Hi, > Is there a way that IUP provides to put the program icon in the > system tray and remove from the taskbar to setup a background running > application? > > Tha

Re: [Iup-users] opacity attribute

2016-06-30 Thread Antonio Scuri
Hi, I just tested in GTK 2.20 and it worked ok with IupSetAttribute(dialog,"OPACITY","128"); Notice that a value of "1" is almost fully transparent. The new C++ api will be a complement, not a replacement. Best, Scuri On Thu, Jun 30, 2016 at 1:00 AM, anon anon wrote: > using linux

[Iup-users] IUP 3.19

2016-06-30 Thread Antonio Scuri
find the complete list of changes and files for download at: http://www.tecgraf.puc-rio.br/iup/ http://iup.sourceforge.net/ Best Regards, Antonio Scuri -- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T

Re: [Iup-users] opacity attribute

2016-07-01 Thread Antonio Scuri
Hi, This is from the GTK documentation (used in IUP for the opacity attribute): "*gtk_widget_set_opacity ()* void gtk_widget_set_opacity (*GtkWidget* * *widget*, *double **opacity*); Request the *widget* to be rendered partially transp

Re: [Iup-users] 回复: Iup binaries for windows (Lua 5.3)

2016-07-01 Thread Antonio Scuri
On 2016-03-21 23:48, 云履 wrote: > In Lua for windows, package path and binaries like: > G:Program Files (x86)Lua5.1clibsiuplua51.dll --necessary for 'require' in lua > G:Program Files (x86)Lua5.1clibsiup.dll --to be wrapped by 'iuplua' I think > > User your version, 5.1 - iuplua51,

Re: [Iup-users] 回复: About Spinmin and Spinmax of Text with Spin

2016-07-01 Thread Antonio Scuri
I don't think so. Best, Scuri On 2016-02-18 15:18, 云履 wrote: > Yes, it works. > I was obstinately finding a way to remove / breaking limit of attribute > SPINMIN and SPINMAX of iup control - Text with Spin attribute. > Current method is fine. But I feel uneasy to use an initial value t

[Iup-users] IUP 3.19.1

2016-07-04 Thread Antonio Scuri
Hi All, We just updated the release to fix a problem in IupGetParam introduced in 3.19. Best, Scuri -- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech

Re: [Iup-users] static linking in linux

2016-07-05 Thread Antonio Scuri
Yes, it is, sort of... Depends what includes in "completely static". :) I do this here for the iuptest application. It statically links with IUP, CD and IM. But it uses GTK and their sub-libraries, also Cairo, from the system, I mean dynamically linked. Never did a fully static linking, don't

Re: [Iup-users] BGCOLOR don't work on GTK 3

2016-07-06 Thread Antonio Scuri
Which control? Best, Scuri On Wed, Jul 6, 2016 at 3:25 PM, Germán Arias wrote: > The BGCOLOR attribute don't work on Gtk 3.16.7. Or maybe I need do > something special? It works perfectly on Gtk 2. > > Germán > > > > ---

Re: [Iup-users] BGCOLOR don't work on GTK 3

2016-07-06 Thread Antonio Scuri
On Wed, Jul 6, 2016 at 3:42 PM, Germán Arias wrote: > I have the problem with IupButton. > > Germán > > El mié, 06-07-2016 a las 15:32 -0300, Antonio Scuri escribió: > > Which control? > > Best, > Scuri > > > On Wed, Jul 6, 2016 at 3:25 PM, Germán Arias

Re: [Iup-users] A problem or possible bug in IupFileDlg()

2016-07-08 Thread Antonio Scuri
Interesting. I tried that in Windows and the system shows an error dialog saying that multiple files can be selected only if in the same folder. Probably that's why we introduced that limitation in the GTK driver. We have the MULTIVALUEid attribute that can be used. But its definition implies

[Iup-users] Mingw x TDM-gcc x Mingw64

2016-07-08 Thread Antonio Scuri
Hi All, Regarding to building IUP, CD and IM with MingW. The problem with TDM and Mingw64 is that they do not include MSYS. I made a few tests here and IUP compile with MingW very easy using MSYS (from MingW standard distribution). But I have a hard time using TDM and Mingw64. What I did

Re: [Iup-users] About IUP with Lua v5.1

2016-07-11 Thread Antonio Scuri
IupLua works just fine with Lua 5.1. Probably there is something wrong with your installation. Check this package: https://sourceforge.net/projects/iup/files/3.19.1/Tools%20Executables/Lua51/iup-3.19.1-Lua51_Win32_bin.zip/download You will find a complete package with everything you need to r

Re: [Iup-users] A problem or possible bug in IupFileDlg()

2016-07-11 Thread Antonio Scuri
Just committed to SVN: New: MULTIVALUEPATH attribute in IupFileDlg. MULTIVALUE starting at 1 will now contain the full path if MULTIVALUEPATH =Yes. []s Scuri On Fri, Jul 8, 2016 at 11:43 AM, Antonio Scuri wrote: > Interesting. I tried that in Windows and the system shows an er

Re: [Iup-users] A problem or possible bug in IupFileDlg()

2016-07-19 Thread Antonio Scuri
Are you using the svn version or the current binaries? Because without the new attribute it will crash eventually. I can not make it the new default because it will affect existing applications that expect the value without the path and are not using the Recent Files feature. Best, Scuri Em 18/07

Re: [Iup-users] Not to do selection in IupText()?

2016-07-19 Thread Antonio Scuri
That's system dependent. When you start a dialog in GTK, that the focus is at a text edit control it automatically selects the text. If the focus is not at the text, it will not select, if then you change the focus to the text by pressing tab it will select the text. Even if you unselect the text

Re: [Iup-users] A problem or possible bug in IupFileDlg()

2016-07-20 Thread Antonio Scuri
t the out of boundary pointer in the > VALUE attribute should be fixed, otherwise it crashes program. I > reckon it would be a safe option that discards the filenames are not > in the same path to the first one. > > On 19 July 2016 at 22:38, Antonio Scuri wrote: > > Are yo

Re: [Iup-users] Problem with shift combination

2016-08-10 Thread Antonio Scuri
Hi, I still didn't have time to check this. Hopefully on the next couple of days. Best, Scuri On Fri, Aug 5, 2016 at 6:47 PM, Germán Arias wrote: > Hi, > > I'm using IUP from svn (Revisión: 3718) on OpenSUSE leap with Gtk 3. I > have a small example to test modifier keys. This is the K_AN

Re: [Iup-users] Problem with shift combination

2016-08-15 Thread Antonio Scuri
Hi, That depends on the key. For instance, 'h' and 'H', 'H' does not have the extended key shift code set. So a key will have iup_XkeyShift(key) only if it also has iup_isXkey(key). Take a look at the iupkey.h for more details. If you just want to detect the Shift key press, I suggest us

Re: [Iup-users] How display numeric values with comma and 2 decimals?

2016-08-18 Thread Antonio Scuri
Take a look at IupMatrixEx. There are several interesting options there. Best, Scuri On Thu, Aug 18, 2016 at 10:38 AM, Ranier VF wrote: > Hi, > > How can display values numeric with IupMatrix: > > > Example: > > Value = 18.98 > > > Storing in matrix: > > IupSetDoubleId2(mat, "", i + 1, 2, 18

Re: [Iup-users] IupGetParam segfault when close

2016-08-19 Thread Antonio Scuri
Which IUP version you are using? Best, Scuri On Fri, Aug 19, 2016 at 3:43 PM, Germán Arias wrote: > Hi, > > I get a segfault when close the IupGetParam window with the close > button of the window. This with the example getparam.c. I get the crash > even if I add a case for IUP_GETPARAM_CLOS

Re: [Iup-users] IupGetParam segfault when close

2016-08-19 Thread Antonio Scuri
OK Thanks for the feedback. Best, Scuri Em 19/08/2016 19:58, "Germán Arias" escreveu: > OK, I update to svn head and it works. Thanks. > > Germán > > El vie, 19-08-2016 a las 17:11 -0300, Antonio Scuri escribió: > > Which IUP version you are using? > &g

Re: [Iup-users] How display numeric values with comma and 2 decimals?

2016-08-22 Thread Antonio Scuri
IupMatrixEx, works to precision format, but not to > > comma separator. > > > Thanks. > > > Ranier Vilela > > > -- > *De:* Antonio Scuri > *Enviado:* quinta-feira, 18 de agosto de 2016 20:40 > *Para:* IUP discussion list. > *Assun

Re: [Iup-users] How display numeric values with comma and 2 decimals?

2016-08-22 Thread Antonio Scuri
DECIMALSYMBOL", 2, ","); > > IupSetIntId(mat, "NUMERICFORMATPRECISION", 2, 2); > > > With IupMatrixEx, works to precision format, but not to > > comma separator. > > > Thanks. > > > Ranier Vilela > > > -

Re: [Iup-users] How display numeric values with comma and 2 decimals?

2016-08-23 Thread Antonio Scuri
MBOL", ","); > > The comma separator, continue ignored. > Result is: > 18.98 > > Best regards > > > Ranier Vilela > -- > *De:* Antonio Scuri > *Enviado:* segunda-feira, 22 de agosto de 2016 18:39 > > *Para:* IUP

Re: [Iup-users] How to set date to DatePicker?

2016-08-25 Thread Antonio Scuri
Just tested here and it works in Windows 10, but it does not works in Windows XP. It was a simple correction. Just committed to SVN. Best, Scuri On Wed, Aug 24, 2016 at 7:28 PM, Ranier VF wrote: > Hi Scuri, > > How to set date to DatePicker? > > > ih = IupDatePick(); > > IupSetStrAttribute(i

Re: [Iup-users] Save iup.imagergba to png

2016-08-29 Thread Antonio Scuri
Which imagergba structure? Scuri On Mon, Aug 29, 2016 at 3:48 PM, Milind Gupta wrote: > Hi, > I want to save the imagergba structure as PNG. What is the best and > easiest way to do that? > > Thanks, > Milind > > >

Re: [Iup-users] Save iup.imagergba to png

2016-08-30 Thread Antonio Scuri
r, pixels = > *pixels*: table} -> (*ih*: ihandle) [in Lua] > > > On Mon, Aug 29, 2016 at 12:39 PM, Antonio Scuri > wrote: > >> Which imagergba structure? >> >> Scuri >> >> >> On Mon, Aug 29, 2016 at 3:48 PM, Milind Gupta >> wrote: >&

Re: [Iup-users] Compiling on Raspberry Pi

2016-09-10 Thread Antonio Scuri
You can try what the error suggested, to compile with -fPIC. You can edit tecmake.mak on the root folder of each library and add: ifeq ($(TEC_SYSARCH), arm) STDFLAGS += -fPIC endif Just check if TEC_SYSARCH is really "arm". Best, Scuri On Sat, Sep 10, 2016 at 4:16 AM, Mili

Re: [Iup-users] Compiling on Raspberry Pi

2016-09-11 Thread Antonio Scuri
n it. > > make[1]: ../tecmake.mak: No such file or directory > make[1]: *** No rule to make target '../tecmake.mak'. Stop. > Makefile:11: recipe for target 'ftgl' failed > make: *** [ftgl] Error 2 > > Please help me proceed from here. > > Thanks, > Milin

Re: [Iup-users] Compiling on Raspberry Pi

2016-09-12 Thread Antonio Scuri
looking at the wrong place? > > > Thanks, > Milind > > On Sun, Sep 11, 2016 at 10:13 AM, Antonio Scuri > wrote: > >> Please, download the FTGL sources that is available along the CD >> Download files. The package there have the Tecmake files. >> >> Best,

Re: [Iup-users] MULTIVALUECOUNT return 0 when select only one file in IupFileDlg

2016-09-14 Thread Antonio Scuri
Which driver? Windows or GTK? About the colored transparent box, using CD or any other drawing toolkit. But when using CD must use the ContextPlus drivers, because the regular drivers GDI and GTK2 does not have transparency. Only GDI+ and GTK3 using Cairo. Best, Scuri On Tue, Sep 13, 2016 a

Re: [Iup-users] MULTIVALUECOUNT return 0 when select only one file in IupFileDlg

2016-09-17 Thread Antonio Scuri
OK. Which IUP version? Em 17/09/2016 22:18, "max chen" escreveu: > ​Hi, > > I'm using GTK driver in ubuntu 16.04 x64​ > > >> Which driver? Windows or GTK? >> >> About the colored transparent box, using CD or any other drawing toolkit. >> But when using CD must use the ContextPlus drivers, be

Re: [Iup-users] MULTIVALUECOUNT return 0 when select only one file in IupFileDlg

2016-09-18 Thread Antonio Scuri
Ok. I'll try to reproduce the problem here and let you know what's going on. Best, Scuri On Sun, Sep 18, 2016 at 9:58 PM, max chen wrote: > sorry > IUP version is iup-3.19.1_Linux44_64_lib > > 2016-09-18 9:31 GMT+08:00 Antonio Scuri : > >> OK. Which IUP ver

Re: [Iup-users] MULTIVALUECOUNT return 0 when select only one file in IupFileDlg

2016-09-19 Thread Antonio Scuri
By the way, this was fixed in 3.18: Fixed: MULTIVALUE and MULTIVALUECOUNT in *IupFileDlg* when only one file is selected. Maybe you are running an older IUP version? Best, Scuri On Mon, Sep 19, 2016 at 5:06 PM, Antonio Scuri wrote: > Sorry but it works here. I tested under Ubuntu

Re: [Iup-users] MULTIVALUECOUNT return 0 when select only one file in IupFileDlg

2016-09-19 Thread Antonio Scuri
f/iup/html/examples/tests/) MULTIVALUECOUNT(2) MULTIVALUE0 = /tecgraf/iup/html/examples/tests/ MULTIVALUE1 = button.c Can you test the same code? Best, Scuri On Sun, Sep 18, 2016 at 10:25 PM, Antonio Scuri wrote: > Ok. I'll try to reproduce the problem here and let you know

Re: [Iup-users] MULTIVALUECOUNT return 0 when select only one file in IupFileDlg

2016-09-19 Thread Antonio Scuri
is a config problem of my system. > > I'm sorry for wasting your time. > > Regards > Max > > 2016-09-20 4:08 GMT+08:00 Antonio Scuri : > >> By the way, this was fixed in 3.18: >> >> Fixed: MULTIVALUE and MULTIVALUECOUNT in *IupFileDlg* when only one

Re: [Iup-users] building zlib for im

2016-09-29 Thread Antonio Scuri
Yes, sorry. I already fixed that problem in SVN. It will be included in the next release. But you can copy the files from IM to the same place in zlib folder that it will work. Thanks for reporting. Best, Scuri On Thu, Sep 29, 2016 at 11:52 AM, Victor Bombi wrote: > Hello, > > Trying to buil

Re: [Iup-users] building zlib for im

2016-09-29 Thread Antonio Scuri
Yes, you may. Or simply copy the missing file from IM. They are identical. Best, Scuri Em 29/09/2016 12:47, "Victor Bombi" escreveu: > I cant see zlib folder inside im folder (soundforge) > Do you mean I should take it from SVN? > > - Original Message ----- > *Fr

Re: [Iup-users] building zlib for im

2016-09-29 Thread Antonio Scuri
Or simply copy the missing file from IM. They are > identical. > > Best, > Scuri > > Em 29/09/2016 12:47, "Victor Bombi" escreveu: > >> I cant see zlib folder inside im folder (soundforge) >> Do you mean I should take it from SVN? >> >> - O

Re: [Iup-users] building zlib for im

2016-09-29 Thread Antonio Scuri
build but in this case I get > > victor@victorPortatil /c/iup/freetype/src > $ ./aa.bat > make: *** No targets specified and no makefile found. Stop. > > - Original Message - > *From:* Antonio Scuri > *To:* IUP discussion list. > *Sent:* Thursday, September

Re: [Iup-users] building zlib for im

2016-09-29 Thread Antonio Scuri
something = c++11 > > - Original Message - > *From:* Antonio Scuri > *To:* IUP discussion list. > *Sent:* Thursday, September 29, 2016 7:27 PM > *Subject:* Re: [Iup-users] building zlib for im > > It should have recognized the pragma. Just ignore the warnings. >

Re: [Iup-users] building zlib for im

2016-09-29 Thread Antonio Scuri
type-specifier > } catch (std::regex_error &) { >^ > src/Document.cxx:2682:28: error: expected unqualified-id before '&' token > } catch (std::regex_error &) { > ^ > src/Document.cxx:2682:28: error: expected ')'

Re: [Iup-users] building zlib for im

2016-09-29 Thread Antonio Scuri
p:784:33: error: 'M_LN10' was not declared in this scope > if(aa.v2 ^ > make[2]: *** [../obj/iup_mglplot/dllw4/axis.o] Error 1 > make[1]: *** [iup_mglplot] Error 2 > make: *** [iup_mglplot] Error 2 > > > So it seems that the flag is

Re: [Iup-users] iup_scintilla compilation with c++11

2016-09-30 Thread Antonio Scuri
Ok. Thanks for the feedback. I will release 3.20 next week, so I will try this. Best, Scuri On Fri, Sep 30, 2016 at 11:21 AM, Victor Bombi wrote: > Hi, Antonio > > The addition of -std=c++11 to config.mak in scintilla subproject solves > compilation error (at least for mingw-w64) > would

Re: [Iup-users] iupview building

2016-09-30 Thread Antonio Scuri
It must be manually built. In "iup/src", type "make iupstub". Best, Scuri On Fri, Sep 30, 2016 at 12:08 PM, Victor Bombi wrote: > Hi, Antonio > > while building iupview I get this error > > Tecmake: linking iupview.exe ... > C:/mingw32-4.8.2-posix-dwarf/bin/g++ -o ../bin/Win32/iupview.exe >

Re: [Iup-users] exes with mingw

2016-09-30 Thread Antonio Scuri
Done and committed.Thanks for the feedback. Best, Scuri On Fri, Sep 30, 2016 at 1:09 PM, Victor Bombi wrote: > > Hi, Antonio > > Finally (I hope) ;-) > > In the same way that happened with lua5.1.exe setargv should be avoided in > mingw builds of iuplua51.exe > > Tecmake: linking iuplua51.ex

Re: [Iup-users] iupweb

2016-09-30 Thread Antonio Scuri
Fixed and committed to SVN. Best, Scuri On Fri, Sep 30, 2016 at 12:38 PM, Victor Bombi wrote: > Just a remainder that iupluaweb should be also disabled. > > - Original Message - > From: "Victor Bombi" > To: "IUP discussion list." > Sent: Friday, September 30, 2016 4:45 PM > Subject

[Iup-users] IUP 3.20

2016-10-01 Thread Antonio Scuri
: *IupFlatFrame *custom container. - New: FRAMEBORDER attribute for *IupMatrix *to draw a border around the matrix visible area. You can find the complete list of changes and files for download at: http://www.tecgraf.puc-rio.br/iup/ http://iup.sourceforge.net/ Best Regards, Antonio Scuri

Re: [Iup-users] IupGetActionName ghost.

2016-10-24 Thread Antonio Scuri
Maybe it is used in some macro in a .h? Or some modules need to be rebuilded? Best, Scuri On Mon, Oct 24, 2016 at 2:24 AM, John Spikowski wrote: > Antonio, > > I'm using the latest Mingw32 IUP library and I have no reference to > `IupGetActionName' anywhere in my program. I can't seem to

Re: [Iup-users] Deprecated Functions

2016-10-24 Thread Antonio Scuri
No, sorry. Each different callback listed in "iup_cbs.h" must be implemented in Basic also. So how to associate that implementation with the IupSetCallback in Basic, then you don't need a custom MainLoop. I think you already did that using the if (strcmp). That can be improved with other st

Re: [Iup-users] About IUP and Plot

2016-10-26 Thread Antonio Scuri
you are not going to use 3D plots, then I recommend using IupPlot. Because it is something that we are always improving, and have much more control. Right now PieChart is on the way... Best Regards, Antonio Scuri On Tue, Oct 25, 2016 at 11:05 PM, . wrote: > Hi, >I notice that the

Re: [Iup-users] IUP plot axis labes

2016-11-04 Thread Antonio Scuri
Yes, the default value was incorrect. Thanks for reporting. Best, Scuri On Fri, Nov 4, 2016 at 4:43 PM, Milind Gupta wrote: > Found the MARGIN* Attributes. Only thing now is that the labels are not > centered by default but the documentation it should be centered by default > in the AXS_XLAB

Re: [Iup-users] Problem with binding on Windows

2016-11-08 Thread Antonio Scuri
Hi, Assuming that inside those scripts you are including -liup on the command line, it can be a compatibility problem between the mingw I build IUP with the mingw you are using. Mine is MinGW-W64-builds-4.2.0 Best, Scuri On Tue, Nov 8, 2016 at 8:59 PM, Germán Arias wrote: > Hi, > > My

Re: [Iup-users] Questions about IupCells

2016-11-14 Thread Antonio Scuri
Yes, that was a copy&paste error. Just fixed and committed to SVN. The callback is equivalent to BUTTON_CB with two extra parameters. In this case the LIMITSL:C attribute can be set using IupSetAttributeId2. Best, Scuri On Mon, Nov 14, 2016 at 4:42 AM, Germán Arias wrote: > Hi, > > The do

Re: [Iup-users] Questions about IupCells

2016-11-14 Thread Antonio Scuri
There are 3 examples in the /iup/html/examples/C folder (also reachable using the website). Best, Scuri On Mon, Nov 14, 2016 at 5:22 PM, Antonio Scuri wrote: > Yes, that was a copy&paste error. Just fixed and committed to SVN. The > callback is equivalent to BUTTON_CB with

Re: [Iup-users] minimize dialog when loosing focus

2016-11-28 Thread Antonio Scuri
Hi, The KILLFOCUS_CB is problematic, because it will also be called when a button inside that dialog gets the focus. Recently I committed to the SNV a new callback called FOCUS_CB for the dialog that will be called when another dialog (or its children) gets the focus. But it will work only if a

Re: [Iup-users] Event action name

2016-11-29 Thread Antonio Scuri
No, there isn't. Best, Scuri On Tue, Nov 29, 2016 at 7:08 PM, John Spikowski wrote: > Antonio, > > Now that IupGetActionName() has been deprecated, is there anyway to get > the action name of the current event from the callback? > > John > > --

Re: [Iup-users] Event action name

2016-11-29 Thread Antonio Scuri
, 2016-11-29 at 20:00 -0200, Antonio Scuri wrote: > > No, there isn't. > > Best, > Scuri > > > On Tue, Nov 29, 2016 at 7:08 PM, John Spikowski > wrote: > > Antonio, > > Now that IupGetActionName() has been deprecated, is there anyway to get &

Re: [Iup-users] Event action name

2016-11-30 Thread Antonio Scuri
ion fired the event, I'm only able > to assign one 'action' callback per control. > > On Tue, 2016-11-29 at 20:21 -0200, Antonio Scuri wrote: > > Because it was fake. It only worked in some conditions. > > Best, > Scuri > > > On Tue, Nov 29, 2016

Re: [Iup-users] how to disable iup's own error reporting dialog

2016-12-01 Thread Antonio Scuri
On Thu, Dec 1, 2016 at 3:43 PM, Ulrich Schmidt wrote: > Hi. > > I compiled a minimal compact iuplua module on windows. It works well but it > has its own error dialog popping up on runtime errors. I want to disable > this > dialog, so errors fall thru down to native lua. > > Question: How can i d

Re: [Iup-users] how to disable iup's own error reporting dialog

2016-12-01 Thread Antonio Scuri
Hi, Simply overwrite the "iup._ERRORMESSAGE(msg)" function. Can be: iup._ERRORMESSAGE = print Best, Scuri On Thu, Dec 1, 2016 at 5:11 PM, Antonio Scuri wrote: > > > On Thu, Dec 1, 2016 at 3:43 PM, Ulrich Schmidt wrote: > >> Hi. >> >> I com

Re: [Iup-users] a few thoughts about iup documentation

2016-12-02 Thread Antonio Scuri
gards, Antonio Scuri On Fri, Dec 2, 2016 at 5:05 AM, Ulrich Schmidt wrote: > Hi all. > > I allmost finished my 1st private program using iup in lua. > Compared to wxwidgets the compiled program is much smaller, The learning > curve seems to be much steeper caused also from the fac

Re: [Iup-users] Event action name

2016-12-02 Thread Antonio Scuri
I see. The idea is the same but more object oriented. Instead of globally handle all the events, store the event in the IUP object itselft. Then in WinEvent for instance directly call the function address like "ICALL(event{this_event}[1])". Then there will no need for a custom event loop. Isn't t

Re: [Iup-users] a few thoughts about iup documentation

2016-12-02 Thread Antonio Scuri
Ok. I'll check the links on the PDF. The tree links are working but the internal document links are not. Best, Scuri On Fri, Dec 2, 2016 at 11:20 AM, Ulrich Schmidt wrote: > Hi Antonio. > > Am 02.12.2016 um 14:07 schrieb Antonio Scuri: > > I use the documentation

Re: [Iup-users] minimize dialog when loosing focus

2016-12-02 Thread Antonio Scuri
() > else > tim.run = "YES" > end > --tim.run = "YES" > end > -- Show the dialog appropriately > local w,h = iup.GetGlobal("FULLSIZE"):match("(.-)x(.+)") > w,h = tonumber(w),tonumber(h) > dlg:map() > local dw,dh = dlg.rastersize:match(

Re: [Iup-users] Event action name

2016-12-02 Thread Antonio Scuri
35.0.html > > I'm trying to do a PoC for a client getting by on what I already have > until the deprecation happen and I'm scrambling for a quick fix. > > > On Fri, 2016-12-02 at 11:32 -0200, Antonio Scuri wrote: > > I see. The idea is the same but more object orien

Re: [Iup-users] two windows build related questions

2016-12-07 Thread Antonio Scuri
Hi, 1) no, there is no better solution. When using DLLs the application simply does not need to link with "iupstub.lib". 2) what do you mean by "attached resources"? Resources in the .RC file linked into the executable? Or a resource file as an external file like a .png or .jpg in a separate file

Re: [Iup-users] two windows build related questions

2016-12-08 Thread Antonio Scuri
, 2016 at 1:13 PM, Ulrich Schmidt wrote: > Hi Antonio. > > Am 07.12.2016 um 19:31 schrieb Antonio Scuri: > > 2) what do you mean by "attached resources"? Resources in the .RC file > linked > > into the executable? > > Yes > > > In the first case, sim

Re: [Iup-users] Android IUP implementation question/problem for IupDialog

2016-12-13 Thread Antonio Scuri
Hi, First I need to understand a little bit more about how Android does things. We can then adapt the IUP structure so it will be able to suit your needs. So after you create the native element, you tell me that you have to wait for an event when the element is actually created. In between

Re: [Iup-users] Android IUP implementation question/problem for IupDialog

2016-12-14 Thread Antonio Scuri
Why build a simple interface if we can make it complicated for everyone... Ok. Keep us posted. Nice to know that it is working. Best, Scuri On Tue, Dec 13, 2016 at 10:37 PM, Ranier VF wrote: > Hi Eric, > I am happy to know, you have better way. > I had no idea of the problems with "native

Re: [Iup-users] iOS IUP initial implementation

2016-12-23 Thread Antonio Scuri
Thanks for sharing. Best, Scuri On Fri, Dec 23, 2016 at 11:26 AM, Eric Wing wrote: > Hi all, > Here is the iOS counterpart to the Android prototype I just did. > > https://github.com/ewmailing/IupCocoaTouch > Switch to CocoaTouch branch > > I will say more about both of these when I get the c

Re: [Iup-users] IupGridBox

2016-12-23 Thread Antonio Scuri
Hi, There is a small error at the label creation: Ihandle *lbl1 = IupLabel("Label_1", NULL); Ihandle *lbl2 = IupLabel("Label_2", NULL); Should be: Ihandle *lbl1 = IupLabel("Label_1"); Ihandle *lbl2 = IupLabel("Label_2"); The result is something like: [image: Inline image 1] It need

Re: [Iup-users] IupGridBox

2016-12-23 Thread Antonio Scuri
n is a > little...unorthodox. The example IUP gives uses IupSetAttribute to create > all the controls, which is cumbersome and doesn't provide much control over > the manipulation of the controls (such as adding callbacks) since > IupSetAttribute doesn't return any handle

Re: [Iup-users] IupGridBox

2016-12-24 Thread Antonio Scuri
ter to an array of pointers, in which case the parameter should be > listed as Ihandle *children. > > Muchas gracias, > > On 12/23/2016 at 4:27 PM, Antonio Scuri wrote: > > Notice that "IupSetAttribute*s"* actually returns the same Ihandle* > that receives. It is

Re: [Iup-users] segfault using Lua iup.list dropdown on ubuntu 16.10

2016-12-26 Thread Antonio Scuri
ok. I'll take a look and get back to you in a few days. Best, Scuri On Mon, Dec 26, 2016 at 6:15 PM, reyalp wrote: > Hi, > > A user of an Lua IUP application I maintain (chdkptp) reported crashes > on several recent Linux distros, including ubuntu 16.10, Fedora 25 and > Manjaro. > > The cras

Re: [Iup-users] IUP - The correct package for Linux 64 bits

2016-12-26 Thread Antonio Scuri
That depends on the distribution. Our pre-compiled binaries are built for Ubuntu, on other distro it may work. Which distro and version are you using? Also, run "uname -a" this returns a lot of good information for me to help you. Also if you are still using Lua, then there are two pa

Re: [Iup-users] IUP for iOS and Android video introduction

2016-12-29 Thread Antonio Scuri
Thanks. I'l take a look next week. Best, Scuri On Wed, Dec 28, 2016 at 11:16 PM, Eric Wing wrote: > Hi, I promised to follow up with more details about my IUP backends > for iOS and Android. > > So I just posted a video introducing the ideas behind my IUP backend > for iOS and Android. Video

Re: [Iup-users] IUP for iOS and Android video introduction

2017-01-03 Thread Antonio Scuri
Hi Eric, Excellent video. Thanks for sharing with US. Also thanks for putting so much work on this. I have a few questionings. IUP for Cocoa is a safe ground. It can be used for Desktop applications although we can extend to iOS. Desktop applications are our priority and I really woul

Re: [Iup-users] segfault using Lua iup.list dropdown on ubuntu 16.10

2017-01-03 Thread Antonio Scuri
check which is the GTK version where the problem is occurring? Best, Scuri On Mon, Dec 26, 2016 at 11:01 PM, Antonio Scuri wrote: > ok. I'll take a look and get back to you in a few days. > > Best, > Scuri > > > On Mon, Dec 26, 2016 at 6:15 PM, reyalp wrote: >

Re: [Iup-users] Getting Started with IM

2017-01-03 Thread Antonio Scuri
Hi, You need to link with a C++ capable linker only if you are statically linking. If you are using DLLs you don't need a C++ capable linker. So yes, you can do that, and the interface with other programming language. Best, Scuri On Wed, Jan 4, 2017 at 12:28 AM, Andrew Robinson wrote: > H

Re: [Iup-users] IUP for iOS and Android video introduction

2017-01-04 Thread Antonio Scuri
OK. I just saw the second video. Sorry about your friend. As a C/C++ programmer I'm very disappointed with Android. Maybe from a Java perspective it is a better world. About your comments, I loved this paragraph: "So I agree that the lack of native Mac Cocoa support for IUP has hindered it

Re: [Iup-users] IUP for iOS and Android video introduction

2017-01-05 Thread Antonio Scuri
No, sorry. We (at IUP) are a small team, and we depend on the Tecgraf demand to guide our development needs. Since there are no demand for MacOS here, it is not a priority unfortunately. Thanks. So any news on you being able to get a Mac to help out? Or > maybe using GNUStep? (My code won't work

Re: [Iup-users] IUP event loop modification proposal (due to new platforms like Android, iOS, Mac)

2017-01-05 Thread Antonio Scuri
I'll take a look at this in a couple of days. Best, Scuri On Wed, Jan 4, 2017 at 8:49 PM, Eric Wing wrote: > As I said earlier, the way IUP does its startup sequence and main loop > is incompatible with Android and iOS, and potentially other backends > like Emscripten/asm.js/WebAssembly. So

Re: [Iup-users] segfault using Lua iup.list dropdown on ubuntu 16.10

2017-01-05 Thread Antonio Scuri
6.10, described on https://wiki.ubuntu.com/YakketyYak/ReleaseNotes > > Thanks for looking into this > > On Tue, Jan 3, 2017 at 10:12 AM, Antonio Scuri > wrote: > > Hi, > > > > I only have Ubuntu 16.04 installed. But I think the problem should be > with > &

Re: [Iup-users] IupOleControl

2017-01-06 Thread Antonio Scuri
You mean inside other container in the dialog, yes. Best, Scuri Em 06/01/2017 04:33, "John Spikowski" escreveu: > Can an IupOleControl reside in something else other than a dialog > window? I would like to include a OCX control along with other IUP > standard controls in a dialog. > > > >

Re: [Iup-users] IupGridBox, Part II

2017-01-09 Thread Antonio Scuri
Hi, Can you send me the code for that example. I may have an idea. Best, Scuri On Sun, Jan 8, 2017 at 3:16 PM, Andrew Robinson wrote: > Hello, > > This is just feedback of user satisfaction. It is not a complaint, it is > just an opinion and requires no response. I'm hoping someone will >

Re: [Iup-users] Extra data on IUP objects in LUA

2017-01-10 Thread Antonio Scuri
Hi, Yes, it is a permitted operation. Best, Scuri On Tue, Jan 10, 2017 at 6:30 PM, john huttley wrote: > Hi team, > > I want to generalise a call back (mouse over on a matrix) > > The call back only ever gets "self". So can I add a field to self like > this? > > > box=iup.matrix{} > > bo

Re: [Iup-users] IUP event loop modification proposal (due to new platforms like Android, iOS, Mac)

2017-01-15 Thread Antonio Scuri
see what can be done. Best Regards, Antonio Scuri On Sat, Jan 14, 2017 at 5:28 PM, Andrew Robinson wrote: > In conclusion... > > Working with nil from the Apple Developer site: > https://developer.apple.com/library/content/documentation/ > Cocoa/Conceptual/ProgrammingWithObject

<    3   4   5   6   7   8   9   10   11   12   >