Re: [Iup-users] Scrollable list of toggles?

2011-06-27 Thread Antonio Scuri
an automatic toggle behavior for cells in the next IUP release. Best Regards, Antonio Scuri > -Original Message- > From: Bernd Eggink [mailto:bernd.egg...@sudrala.de] > Sent: domingo, 26 de junho de 2011 06:56 > To: iup-users@lists.sourceforge.net > Subject: [Iup-users] Scr

Re: [Iup-users] iup.getparm adds enter to field

2011-07-15 Thread Antonio Scuri
Hi, That was a bug in IupText on Windows. It is now fixed on CVS. It will be available on the next release. Thanks for reporting. Best, Antonio Scuri From: Jane Taubman [mailto:janetaub...@gmail.com] Sent: sexta-feira, 15 de julho de 2011 07:28 To: IUP discussion list

Re: [Iup-users] Problem with the GetParm dialog in Lua

2011-07-22 Thread Antonio Scuri
The objective of iup.GetParam is to get a "param". You only specified the button and no parameter. It needs at least one parameter. Best, scuri From: Jane Taubman [mailto:janetaub...@gmail.com] Sent: quinta-feira, 21 de julho de 2011 3:58 To: IUP discussion list. Subject: [Iup-users] Pr

Re: [Iup-users] Problem with the GetParm dialog in Lua

2011-07-22 Thread Antonio Scuri
BTW, If you want a simpler pre-defined dialog, I recommend using IupMessageDlg. Best, scuri From: Antonio Scuri [mailto:sc...@tecgraf.puc-rio.br] Sent: sexta-feira, 22 de julho de 2011 12:09 To: 'IUP discussion list.' Subject: Re: [Iup-users] Problem with the GetParm dia

Re: [Iup-users] Problem with the GetParm dialog in Lua

2011-07-25 Thread Antonio Scuri
etParm dialog in Lua On 22 July 2011 16:08, Antonio Scuri wrote: The objective of iup.GetParam is to get a "param". You only specified the button and no parameter. It needs at least one parameter. This also fails function parmaction (dialog,index) print(index) st

Re: [Iup-users] iup on mac os x

2011-07-28 Thread Antonio Scuri
Hi, I can help you, but I need more information about your system configuration. Did you installed GTK on your system? Which one? Did you follow the instructions on the IUP GTK driver documentation? BTW, I built IUP for MacOSX and I'm about to publish the pre-compiled bina

Re: [Iup-users] Problem with the GetParm dialog in Lua

2011-08-04 Thread Antonio Scuri
It was a bug in the IupLua binding of the IupGetParam dialog. It is fixed now on CVS. Best, scuri From: Antonio Scuri [mailto:sc...@tecgraf.puc-rio.br] Sent: segunda-feira, 25 de julho de 2011 15:11 To: 'IUP discussion list.' Subject: RE: [Iup-users] Problem with t

Re: [Iup-users] Problem with the GetParm dialog in Lua

2011-08-04 Thread Antonio Scuri
this possible or do I need to use a full blown dialog window. Thanks again for all your help. On 25 July 2011 19:10, Antonio Scuri wrote: Put the "Bt" option at last. It will work. Can't remember why this restriction. I'll check. -- Jane. Jane Taubman | www.rjt.org.

Re: [Iup-users] Setting the Minimum Size on a dialogue,

2011-08-04 Thread Antonio Scuri
In your code, there is a problem: dlg.minsize = dlg.size because "minsize" is in pixels and "size" is in character units. I think that what you want is: dlg.minsize = dlg.rastersize Best, scuri From: Jane Taubman [mailto:janetaub...@gmail.com] Sent: quarta-feira, 27 de julh

Re: [Iup-users] Right-Click Context Menu

2011-08-15 Thread Antonio Scuri
Hi, No need for a dialog. You can show a context menu by simply calling IupPopup(menu). That function will return only after the menu item is processed or the menu loses its focus. So you can destroy it right after the call. Best Regards, Antonio Scuri From: harry gotterwald

Re: [Iup-users] Transperency bug (?)

2011-09-21 Thread Antonio Scuri
That depends on the system. For instance, stipple is always opaque in the base Windows driver which the CD_IUP driver relies on. Best, Scuri From: Robert Persson [mailto:r.k.pers...@gmail.com] Sent: terça-feira, 20 de setembro de 2011 08:34 To: iup-users@lists.sourceforge.net Subject: [

Re: [Iup-users] IupText MULTILINE and SCROLLBAR attributes (IUP 3.5, Windows 7)

2011-10-18 Thread Antonio Scuri
There is something missing in the documentation. When the multiline attribute is set, the scrollbar attribute is reset to YES. Since we cannot guarantee the order the attributes will be set using the Lua constructor, it seems that the scrollbar attribute is being replaced. So, you can set the s

Re: [Iup-users] GetChild missing in Lua binding

2011-10-18 Thread Antonio Scuri
It was a bug. Fixed and committed to CVS. Thanks for reporting. Best, Scuri From: Daniel Klein [mailto:daniel.kl...@tornado-medical.com] Sent: terça-feira, 18 de outubro de 2011 1:12 To: iup-users@lists.sourceforge.net Subject: Re: [Iup-users] GetChild missing in Lua binding G

Re: [Iup-users] IupText MULTILINE and SCROLLBAR attributes (IUP 3.5, Windows 7)

2011-10-19 Thread Antonio Scuri
y here and now done Yes, that's two loops, but it does the job. And it isn't really a performance problem, since there aren't that many properties anyway, and I don't plan to spawn thousands of IupText controls per second :-). Regards, Benoit. 2011/10/18 Antonio Scuri There

Re: [Iup-users] iup hashtable?

2011-11-11 Thread Antonio Scuri
Yes, you can download the IUP source code, and extract the "iup/src/iup_table.h" internal header. You can safely use that header to create a hash table independent from any control or global IUP state. Those functions are very stable and that API will not change. Best, Scuri > -Original Mes

Re: [Iup-users] .net platform

2011-11-16 Thread Antonio Scuri
> Has anybody tried to use IUP in a Windows .NET application via the p/invoke > mecanism rather than using its own Windows Forms framework? I can't remember. > What about integrating a Windows Forms driver for IUP? This would be very interesting, but for us has a very low priority. If any

Re: [Iup-users] Iup for Lua 5.2 ?

2011-12-10 Thread Antonio Scuri
and IM. But this is optional. Best Regards, Antonio Scuri > Hi, > I just tried to compile iup-3.5 under Lua 5.2 and kernel 3.1.5. There were no > error messages during the make process, but when I start a program, I get > > module 'iuplua' not found: > no f

Re: [Iup-users] Using IUP with LuaCom to control IE

2011-12-21 Thread Antonio Scuri
Hi, From the IUP point of view I really don't know how to help you. I hope that someone had done that before and could point some directions. I guess it is something related to the LuaCOM objects. Best, Scuri > -Original Message- > From: Jane Taubman [mailto:janetaub...@gmail.com]

Re: [Iup-users] Using IUP with LuaCom to control IE

2011-12-22 Thread Antonio Scuri
rom any DOM element, but you need to get the > element and then access it via a variable. > > On 21 December 2011 16:00, Antonio Scuri wrote: > >  I guess it is something related to the LuaCOM objects. > > >

Re: [Iup-users] text with spin not expanding the spin

2012-01-12 Thread Antonio Scuri
native GTK application with the GtkSpinButton (used internally by IUP when IupText has a spin) will behave the same. Best Regards, Antonio Scuri > -Original Message- > From: fra [mailto:francescoarmando.po...@fastwebnet.it] > Sent: quinta-feira, 12 de janeiro de 2012 9:48 > T

Re: [Iup-users] text with spin not expanding the spin

2012-01-12 Thread Antonio Scuri
Hi Francesco, To post to the list you must be a member or to be authorized to do so. Once you sent a message I could include you in the "Accept Always" list, but if not a member you will not receive other posts to the list. Best, Scuri > -Original Message- > From: fra III [mailto:ilt

Re: [Iup-users] example image.wlua

2012-01-17 Thread Antonio Scuri
That was a bug. Fixed now in CVS. Thanks for reporting, Scuri > -Original Message- > From: fra III [mailto:ilterzou...@fastwebnet.it] > Sent: segunda-feira, 16 de janeiro de 2012 10:35 > To: IUP list > Subject: [Iup-users] example image.wlua > > Hello All, > exploring examples i have a

Re: [Iup-users] Text caret problem

2012-01-27 Thread Antonio Scuri
Hi, Thanks for the report and the test code. Yes it is a bug. I'll take a look at it. Best, Scuri > I've noticed what seems to be a problem with the "caret" attribute of iup.text > using the Windows driver. When the caret position is located outside the > visible portion of a multi-line tex

Re: [Iup-users] About Mgl

2012-02-02 Thread Antonio Scuri
Hi Francesco, I'll be offkine fir a few days. When I get back I'll return to you. Best, Scuri On Tue, Jan 31, 2012 at 11:18 AM, fra III wrote: > Hello All, > i know that IUP 3.6 (in cvs) is in progress, but i was try to use the > mgl module for some plotting, and i have some preliminary ques

Re: [Iup-users] IUP 3.5: missing IupButton:destroy()?

2012-03-01 Thread Antonio Scuri
> So, is the :destroy() binding missing on buttons, or is the documentation > wrong? The implementation was missing. It was implemented only for dialogs. Fixed in CVS. > Also, if I have added several buttons to the strip, and I remove one of them, it > disappears from the strip (which is what

Re: [Iup-users] a little help about resizing

2012-03-01 Thread Antonio Scuri
Right now we have a bug in resize when running IUP GTK on Ubuntu 11.10 with the Unity desktop. Did you upgraded your Ubuntu? Best, Scuri > -Original Message- > From: fra III [mailto:ilterzou...@fastwebnet.it] > Sent: quinta-feira, 1 de março de 2012 07:45 > To: IUP list > Subject: [Iup-

Re: [Iup-users] a little help about resizing

2012-03-01 Thread Antonio Scuri
Ok. Then the problem I told you does not apply. Can you run an example from the documentation to check if it presents the same problem? If it does not, then maybe something you are doing is affecting the resize. Setting the SIZE or RASTERSIZE attribute inside the RESIZE_CB callback is one p

Re: [Iup-users] a little help about resizing

2012-03-01 Thread Antonio Scuri
Sorry, but I think that maybe there is a problem with the resize in the code committed to the IUP CVS. I will run a few tests and return to you soon. Best, Scuri > -Original Message- > From: Antonio Scuri [mailto:antonio.sc...@gmail.com] > Sent: quinta-feira, 1 de março de 2

Re: [Iup-users] a little help about resizing

2012-03-02 Thread Antonio Scuri
Fixed and committed to CVS. Only affected who were using the source code from CVS. Best, Scuri > -Original Message- > From: Antonio Scuri [mailto:antonio.sc...@gmail.com] > Sent: quinta-feira, 1 de março de 2012 17:56 > To: 'IUP discussion list.' > Subject:

Re: [Iup-users] Again about resizing, my problem

2012-03-03 Thread Antonio Scuri
Did you implemented the ACTION callback of the canvas? So we the system generates a redraw event you will be able to redraw in the same way you button callback did. Best, Scuri > -Original Message- > From: fra III [mailto:ilterzou...@fastwebnet.it] > Sent: sábado, 3 de março de 2012 0

Re: [Iup-users] Compiling IUP - linker errors

2012-03-05 Thread Antonio Scuri
e yet, still working on some tasks. This should solve both of your issues. Best Regards, Antonio Scuri > -Original Message- > From: Eddy Martin [mailto:h...@lavabit.com] > Sent: segunda-feira, 5 de março de 2012 02:12 > To: iup-users@lists.sourceforge.net > Subject: [Iup-

Re: [Iup-users] Compiling IUP - linker errors

2012-03-05 Thread Antonio Scuri
ble-libstdcxx-debug -- > enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --with-arch- > 32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux- > gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix > gcc version 4.6.2 (Debian 4.6.2-

Re: [Iup-users] Compiling IUP - linker errors

2012-03-05 Thread Antonio Scuri
r 2 > > > > > > I decided not to compile the IUP Lua source as I have Lua installed on > > my system already. > > Is there a way to work around this and compile IUP with my existing > > Lua install? > > I had added 'export LUA_BIN=/usr/bin' to my p

Re: [Iup-users] Again about resizing, my problem

2012-03-05 Thread Antonio Scuri
You mean, did you update from the CVS repository and then rebuild the main library? Best, Scuri > -Original Message- > From: fra III [mailto:ilterzou...@fastwebnet.it] > Sent: domingo, 4 de março de 2012 16:13 > To: IUP discussion list. > Subject: Re: [Iup-users] Again about resizing, my

Re: [Iup-users] Again about resizing, my problem

2012-03-06 Thread Antonio Scuri
Usually something is not installed on the system to develop using GTK. Best, Scuri > -Original Message- > From: fra III [mailto:ilterzou...@fastwebnet.it] > Sent: terça-feira, 6 de março de 2012 09:18 > To: IUP discussion list. > Subject: Re: [Iup-users] Again about resizing, my problem

Re: [Iup-users] Again about resizing, my problem

2012-03-07 Thread Antonio Scuri
After dlg:show() reset the rastersize attribute to nil: dlg:show() dlg.rastersize = nil And remove the rastersize of the canvas. Setting the size of an element this restricts the element resize. You can also set and reset the rastersize of the canvas instead of the dialog. Using this ap

Re: [Iup-users] Compiling IUP - linker errors

2012-03-22 Thread Antonio Scuri
> I decided not to compile the IUP Lua source as I have Lua installed on my > system already. I think you already have. Because what failed was the iuplua executable, which is similar to the lua standalone interpreter, but simply shows an IUP dialog. > Is there a way to work around this and com

Re: [Iup-users] Param with callback

2012-03-22 Thread Antonio Scuri
Hi, Don't remember if I already answered this one, so here it goes. You can store any userdata you like in IUP attributes. For example: IupSetAttribute(btn, "MY_DATA_XYZ", (char*)mydata); Best, Scuri From: Redspikers [mailto:redspik...@gmail.com] Sent: quarta-feira, 1 de

Re: [Iup-users] Right to Left

2012-04-13 Thread Antonio Scuri
fix the details. Best Regards, Antonio Scuri From: jimmy coyne [mailto:jimmy_co...@yahoo.com] Sent: sexta-feira, 13 de abril de 2012 12:44 To: iup-users@lists.sourceforge.net Subject: [Iup-users] Right to Left Hi, Does IUP support right to left on the windows platform for

Re: [Iup-users] About Mgl

2012-04-19 Thread Antonio Scuri
Hi, Just confirming that MglPlot has an internal limitation that does not allow to change the color of the axis. We added a note in the documentation. Best, Scuri > -Original Message- > From: fra III [mailto:ilterzou...@fastwebnet.it] > Sent: terça-feira, 31 de janeiro de 2012 11:18 >

Re: [Iup-users] [IUP 3.5, Windows 7] Tray notifications?

2012-04-26 Thread Antonio Scuri
> I have an application that can occasionally detect that a newer > version is available. I would like to be able to show this as a tray > notification popup, but I don't see anything to do so. An alternate > solution would have been to change the traytip attribute, but this > doesn't cause the ti

Re: [Iup-users] crash when using iuplua with lua coroutine, and a temp patch

2012-04-27 Thread Antonio Scuri
Hi, I never used Lua coroutines, so don't know if this is going to solve your problem or not. But I would like to help you. Can you build a very small example that demonstrates the problem? In the solution you propose, the stored context reference will be used anywhere else?

Re: [Iup-users] Confirm usage of global attributes

2012-05-01 Thread Antonio Scuri
Hi, No, the global attributes in Lua can only be accessed by the functions iup.GetGlobal, iup.StoreGlobal and iup.SetGlobal. Best Regards, Antonio Scuri From: uten navn [mailto:u...@null.net] Sent: segunda-feira, 30 de abril de 2012 16:26 To: iup-users@lists.sourceforge.net

Re: [Iup-users] crash when using iuplua with lua coroutine, and a temp patch

2012-05-03 Thread Antonio Scuri
iup.MainLoop() end -- I patch the iuplua.c, the function iuplua_plugstate patch should be ok , it hold the thread state ref, but I am not sure it where to free the Luastate ref, I use il_destroy_cb, this maybe not correct. 在 2012-4-27,21:20, Antonio Scuri 写道:

Re: [Iup-users] Progress request

2012-05-09 Thread Antonio Scuri
Hi, > I'd just like to check how IUP is progressing with: > *UTF8 support > *ScrollBox > *GridBox We still don't have a definitive road map for 3.7 but these will likely be scheduled for 3.7. > *Images in IUP list Already done at CVS. > Are there any plans for when IUP 3.6 will be rel

Re: [Iup-users] reset or clear IupMatrix

2012-05-18 Thread Antonio Scuri
I think the best way to do that is to remove all lines, then add lines according to the new file. Best, Scuri From: Ano Nymous [mailto:ershib...@gmail.com] Sent: sexta-feira, 18 de maio de 2012 13:23 To: iup-users@lists.sourceforge.net Subject: [Iup-users] reset or clear IupMatrix

Re: [Iup-users] reset or clear IupMatrix

2012-05-20 Thread Antonio Scuri
Thanks. I think we can simplify that by creating a new attribute for content and cell attribute cleaning. Let me think about it. Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: domingo, 20 de maio de 2012 06:16 > To: IUP discussion list. > Subjec

Re: [Iup-users] IupSetAttribute or IupSetAttributes and string size limit for Attributes string

2012-05-23 Thread Antonio Scuri
The use for IupSetAttributes is more oriented to simplify instead of optimize. So it is an easy way to set a few attributes in the same line of code. To fill an IupMatrix I recommend using plain IupSetAttribute. Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gm

Re: [Iup-users] double quoted string using IupSetAttributes

2012-05-23 Thread Antonio Scuri
That depends on what you are doing inside "iupmatrixformatattrib1". Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: quarta-feira, 23 de maio de 2012 12:11 > To: IUP discussion list. > Subject: [Iup-users] double quoted string using IupSetAttribut

Re: [Iup-users] Can't require IUP in debug mode

2012-05-23 Thread Antonio Scuri
> "error loading module 'iuplua' from file ... \iuplua51.dll': The specified > procedure could not be found." > Using dependency walker I can see that the debug version of my exe depends > on MSVCR100D.DLL and iuplua51.dll depends on MSVCR100.DLL. So I'm > guessing that this is the problem. Y

Re: [Iup-users] double quoted string using IupSetAttributes

2012-05-23 Thread Antonio Scuri
> IupSetAttributes 4:1="4",4:2="Ac"er",4:3="8.7",4:4="9983877" > > but the output on matrix control is - er" > i tried to escape the quote with \ but why it still doesn't works? my weird > code.. IupSetAttributes does not require you to quote attributes that do not have

Re: [Iup-users] reset or clear IupMatrix

2012-05-23 Thread Antonio Scuri
In the next IUP version, look for the CLEARVALUE and CLEARATTRIB attributes documentation at the IupMatrix. Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: domingo, 20 de maio de 2012 06:16 > To: IUP discussion list. > Subject: Re: [Iup-users] re

Re: [Iup-users] [Iup 3.5, Windows 7] Questions about finding and highlighting substrings in a multiline text

2012-05-28 Thread Antonio Scuri
> Is there a better way to avoid interning such a big string? Not that I'm aware off. In Windows and in GTK you have to retrieve the string to search inside it. > Is it possible to format parts of the text already present in the control? Yes. In fact, it shouldn't work the other way. From t

Re: [Iup-users] [iup_3.5 Windows7] Where to find cd.h and corresponding lib?

2012-06-01 Thread Antonio Scuri
Hi, Those headers belong to the CD library: www.tecgraf.puc-rio.br/cd Best Regards, Antonio Scuri From: yanghui [mailto:lag...@hotmail.com] Sent: sexta-feira, 1 de junho de 2012 04:40 To: iup-users@lists.sourceforge.net Subject: [Iup-users] [iup_3.5 Windows7] Where to find

Re: [Iup-users] printing solution for IUP toolkit

2012-06-02 Thread Antonio Scuri
Hi, I suggest you to use the CD toolkit: www.tecgraf.puc-rio.br/cd Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: sábado, 2 de junho de 2012 04:47 > To: IUP discussion list. > Subject: [Iup-users] printing solution for IUP toolkit > > hi, >

Re: [Iup-users] [Windows 7, IUP 3.5] setting iupclipboard.text can crash the application

2012-06-04 Thread Antonio Scuri
Yes, good point. Just did that and committed to CVS. It will be available in the next version. Best, Scuri From: Benoit Germain [mailto:bnt.germ...@gmail.com] Sent: segunda-feira, 4 de junho de 2012 12:47 To: IUP discussion list Subject: [Iup-users] [Windows 7, IUP 3.5] setting iupclipbo

Re: [Iup-users] [IUP 3.5, Windows 7] little problem with threading model passed to CoInitializeEx

2012-06-05 Thread Antonio Scuri
Hi Benoit, On the documentation at System/Drivers/Win32 you can read: “IupOpen calls "CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);", if you need another concurrency model call CoInitializeEx with other options before calling IupOpen. Be aware that some features in some controls require

Re: [Iup-users] [IUP 3.5, Windows 7] little problem with threading model passed to CoInitializeEx

2012-06-05 Thread Antonio Scuri
> In fact I observe the same thing when switching between LfW's lua.exe and > wlua.exe to run a given "iup-only" script: wlua.exe gives me W7 style (tabs with > white background, rounded buttons), whereas lua.exe gives me WXP visual > style (gray background, square buttons). I don't know if this is

Re: [Iup-users] Attaching an action to a button without a closure

2012-06-05 Thread Antonio Scuri
> If I use button1:action, it was necessary to place it inside main whereas I > want > to place it outside. > How to link button1 to the button1_action(? You can retrieve the button1 handle after calling "main". For instance: local button1 = dlg[1][1] Or you can save the button as a custom

Re: [Iup-users] Attaching an action to a button without a closure

2012-06-06 Thread Antonio Scuri
Hi Luciano, Sorry, but I don't know how to answer that question. I guess it depends a lot on each developer style and needs. I've seen so different structures around here that I cannot say which one is the most common. :) And in fact that remotes to "what's the most common structure fo

Re: [Iup-users] Examples for IupNormalizer

2012-06-06 Thread Antonio Scuri
Hi Noam, That was a bug in the IupNormalizer constructor in Lua. It is already fixed in the CVS. We are working to release the next version as soon as the new drag and drop support is ready. Best, Scuri > -Original Message- > From: Noam Postavsky [mailto:npost...@users.sourceforg

Re: [Iup-users] [Iup 3.5, Windows 7] Questions about finding and highlighting substrings in a multiline text

2012-06-06 Thread Antonio Scuri
feira, 4 de junho de 2012 11:25 To: IUP discussion list. Subject: Re: [Iup-users] [Iup 3.5, Windows 7] Questions about finding and highlighting substrings in a multiline text 2012/5/28 Antonio Scuri > Is it possible to format parts of the text already present in the control? Yes. In

Re: [Iup-users] Attaching an action to a button without a closure

2012-06-06 Thread Antonio Scuri
rs, we are able to build a style. > In my case, I came in the Lua's world only to use IUP. So I haven't > assimilated a > Lua style. > If someone has more larger example code, I would like to receive it. I > recognise > my question is not simple. Let me development som

Re: [Iup-users] printing solution for IUP toolkit

2012-06-07 Thread Antonio Scuri
Have you take a look at the IupCanvas samples that use CD? So, to print you have to draw again using another canvas that points to a printer document, like this: canvas = cdCreateCanvas(CD_PRINT, "My Print Test"); myRedraw(canvas); cdKillCanvas(canvas); For instance, the myRedraw function

Re: [Iup-users] [Iup 3.5, Windows 7] Questions about finding and highlighting substrings in a multiline text

2012-06-07 Thread Antonio Scuri
BTW, the original goal of this script was to build a repro case for some rare situations I have encountered where for some reason layout is recomputed and text controls are expanded beyond the original dimensions of the dialog. I haven't succeeded yet, but maybe you are already aware of such an iss

Re: [Iup-users] how to center IupButton title that include \n

2012-06-08 Thread Antonio Scuri
By setting "ALIGNMENT=ACENTER". But each were not being horizontally aligned, just fixed on CVS. Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: quinta-feira, 7 de junho de 2012 18:43 > To: IUP discussion list. > Subject: [Iup-users] how to cente

Re: [Iup-users] [IUP 3.5 Windows7] separator labels with size and tabs

2012-06-08 Thread Antonio Scuri
Yes, that's a system behavior. Windows are not drawing the area the separator does not cover. So I recommend not setting the vertical SIZE or EXPAND attribute for separators. I recommend using IupFill to do that. Best, Scuri From: Benoit Germain [mailto:bnt.germ...@gmail.com] Sent: se

Re: [Iup-users] Iup 3.5 - Lua 5.1 - Trying to add element to list at runtime

2012-06-08 Thread Antonio Scuri
Hi, appenditem Works only after the element is mapped, i.e. it is created in the native system. To add items before map, just set the item number to the value. For instance: list = iup.list {"Gold", "Silver", "Bronze", "None"} list[5] = "Test" Best, Scuri From: Daniel K

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-09 Thread Antonio Scuri
Hi, Please, take a look at the new IUP documentation that you checkout from CVS. It contains a new page about compiling IUP and others in Windows, this should help clarify some directions. Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: sábado,

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-09 Thread Antonio Scuri
Hi, I guess it is missing to add the gcc.exe to the path so it can bui.d the dependencies. Or a simpler solution is to do: set USE_NODEPEND=Yes So it will not use the dependencies file. Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: sábad

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-11 Thread Antonio Scuri
It looks like mkdir is failing for some reason. Did you try to run it manually? mkdir -p ../obj/iupgtk/dllw4 Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: sábado, 9 de junho de 2012 21:36 > To: IUP discussion list. > Subject: Re: [Iup-users

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-11 Thread Antonio Scuri
> I've been trying to compile on Windows as well, and have been running into the > same problems. It looks like the Makefile expects to be run with a Bourne- > compatible shell, but on Windows cmd.exe is used as the shell, so the if > statements won't work (the quoting is different too). > Also, cm

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-12 Thread Antonio Scuri
> but the resulted files are .a, i expect dll files? since i request dllw4. > Library (../lib/mingw4/libiupstub.a) Done'; echo '' That is the only static library necessary when using DLLs. Because the WinMain function cannot be inside a DLL. > like above, i set USE_GTK=No > but why it still tr

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-12 Thread Antonio Scuri
P discussion list. > Subject: Re: [Iup-users] MingW Minimum Installation with tecmake to build > dllw4 problems > > On Mon, Jun 11, 2012 at 3:21 PM, Antonio Scuri > wrote: > > The Bourne shell is not necessary. I run it here without one. Maybe > > is something related to t

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-13 Thread Antonio Scuri
> I just noticed that tecmakewin.mak has the line > > SHELL = bash Thanks for point that out. It explains our issue. So I think I "just" have to include bash.exe in the list of the tools you have to install to use Tecmake. It should be simple, but there is no bash.exe in the GnuWin32 to

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-14 Thread Antonio Scuri
Hi, I was able to build using MingW and a minimal installation of tools provided by Win-Bash: http://win-bash.sourceforge.net/ http://sourceforge.net/projects/win-bash/files/shell-complete/latest/shell.w 32-ix86.zip/download But I had to remove their "make.exe" command and use the MingW

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-15 Thread Antonio Scuri
> is there a switch to let MAKE script know that we don't want to do > anything with LUA? No. You can edit the make_uname.bat or Makefile files and remove what you don't want from the list. Best, Scuri -- Live Securi

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-15 Thread Antonio Scuri
Thanks! Scuri > i blog about this here, > > http://obemsg.blogspot.com/2012/06/make-iup-dlls.html > > hopefully it would be useful for others who want to MAKE updated library or > dll. -- Live Security Virtual Confe

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-15 Thread Antonio Scuri
> I think the build process could be easier using MSys (a unix build > environment for use with MinGW): Hum, I thought MSys was just a library. Never used. I think I will have to give it a try. Thanks. > > Then, tested also using: > > set TEC_UNAME=mingw4 > > Did you mean "TEC_UNAME=dllw4"

Re: [Iup-users] A build problem, Solaris 5.8

2012-06-18 Thread Antonio Scuri
Thanks. I haven't built current IUP on SunOS yet. Best, Scuri From: Dave Atkinson [mailto:davea...@us.ibm.com] Sent: sexta-feira, 15 de junho de 2012 17:01 To: iup-users@lists.sourceforge.net Subject: [Iup-users] A build problem, Solaris 5.8 I'm attempting to build IUP from

Re: [Iup-users] iup 3.5 - Lua - Userdata in Tree

2012-06-18 Thread Antonio Scuri
Hi, In Lua use the iup.TreeSetUserId and iup.TreeGetUserId extra functions described at the documentation. When using those functions the USERDATAid attribute is used as you did, but also the Lua object is referenced in the Lua registry. From the IupTree Extra Fucntions docume

Re: [Iup-users] Examples for IupNormalizer

2012-06-18 Thread Antonio Scuri
> So after building from CVS it does work. The NORMALIZERGROUP attribute is > missing the "In Lua you can also use the element reference directly" note. Yes. Done. Thanks. > I think NORMALIZERGROUP should be given more emphasis: Just did that. Not that much but hope It works for others.

Re: [Iup-users] IupToggle has slow response to mouse in Windows

2012-06-18 Thread Antonio Scuri
> So, for instance, a double click will change the state > only once. That's correct. > For some reason the toggle control is unresponsive for about a second > after clicking. > Toggling with the keyboard works at normal speed. The weird thing is that If you click several times fast it wil

Re: [Iup-users] Why is TABTITLE deprecated in favour of TABTITLEn?

2012-06-19 Thread Antonio Scuri
The idea was to avoid setting attributes that affects only the IupTabs on children. But I should remove the deprecated mark, I will not remove their support anyway. And don't worry, when you add or remove Tabs, their titles are preserved and TABTITLEn will return the correct value. Best, Scur

Re: [Iup-users] MingW Minimum Installation with tecmake to build dllw4 problems

2012-06-20 Thread Antonio Scuri
Yes, because cdcontextplus is only built in Windows is not included in the do_all list. Just type: make cdcontextplus Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: quarta-feira, 20 de junho de 2012 15:08 > To: IUP discussion list. > Subject: R

Re: [Iup-users] undefined reference to `__main' while compile cd\test\simple

2012-06-20 Thread Antonio Scuri
No. I never use the "ld" command. Try using gcc to build the executable. Notice that there is a "config.mak" file in the "simple" folder that uses the Tecmake script to build the executable. You can use a Makefile like this: ---

Re: [Iup-users] printing solution for IUP toolkit

2012-06-21 Thread Antonio Scuri
Hi, I just took a look at PDFLib documentation and I didn't found a function to edit an existing file. Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: quarta-feira, 20 de junho de 2012 20:26 > To: IUP discussion list. > Subject: Re: [Iup-user

Re: [Iup-users] printing solution for IUP toolkit

2012-06-21 Thread Antonio Scuri
> is there any supported CD file format that allow us to load file into canvas, > play with it using CD api, then save it? Yes. But It is not very flexible. CD has a function called cdCanvasPlay that can "play" primitives from file to the canvas. The CD_CGM, CD_WMF, CD_EMF, and CD_METAFILE

Re: [Iup-users] Problem with newline in button title, Solaris 5.8

2012-06-22 Thread Antonio Scuri
Hi Dave, In the Motif I'm using to test IUP, it works. But it is newer from yours. Could be a system limitation that I'm not aware. In your track down, you can identify aprox. where the program crashes. I mean it is inside IUP code, or inside Motif/X? Thanks, Scuri From: Dav

Re: [Iup-users] Problem with newline in button title, Solaris 5.8

2012-06-22 Thread Antonio Scuri
Yes. It seems that it is a system limitation. So I will document that. Thanks, Scuri From: Dave Atkinson [mailto:davea...@us.ibm.com] Sent: sexta-feira, 22 de junho de 2012 13:58 To: iup-users@lists.sourceforge.net Subject: [Iup-users] Problem with newline in button title, Solaris 5.8

[Iup-users] IUP 3.6 Released

2012-06-24 Thread Antonio Scuri
ke a long period from 3.5 to 3.6. But it was a busy year. Thanks to everybody that sent us reports and feedback. Best Regards, Antonio Scuri -- Live Security Virtual Conference Exclusive live event will cover all the

Re: [Iup-users] IUP 3.6 Released

2012-06-25 Thread Antonio Scuri
! Curious: are you going to be releasing an updated tecmake archive as well? Cheers, DMK On Sun, Jun 24, 2012 at 6:43 PM, Ano Nymous wrote: great! thumbs up On 6/25/12, Antonio Scuri wrote: > Hi All, > > The 3.6 version of the IUP library has been released. >

Re: [Iup-users] [Windows 7, IUP 3.6] prebuilt 32 bits iup.dll version

2012-06-27 Thread Antonio Scuri
Thanks. Fixed the iup.rc on CVS. Best, Scuri From: Benoit Germain [mailto:bnt.germ...@gmail.com] Sent: quarta-feira, 27 de junho de 2012 11:19 To: IUP discussion list Subject: [Iup-users] [Windows 7, IUP 3.6] prebuilt 32 bits iup.dll version Hello, This is really minor, but DLL det

Re: [Iup-users] internal SDK documentation 404 in iup cvs

2012-06-29 Thread Antonio Scuri
Hi, The Internal SDK documentation is available along with the regular documentation. In the documentation tree it is the last topic. Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: sexta-feira, 29 de junho de 2012 11:08 > To: IUP discussio

Re: [Iup-users] internal SDK documentation 404 in iup cvs

2012-06-29 Thread Antonio Scuri
Sorry, now I understand what's going on. Yes, that's correct. I don't commit the doxygen documentation to the CVS. Because they are supposed to be generated from the source code. Doxywizard is quite simple to use. If you don't want to install Doxygen and generate the htmls, you can simply d

Re: [Iup-users] [IUP 3.6 Windows 7] problem with IupTree dynamic filling

2012-07-02 Thread Antonio Scuri
Hi Benoit, As Daniel pointed out, the -1 becomes obligatory for an empty tree with no root. So your test will work by simply changing: self.insertbranch0 = v .. "\\" To: self['insertbranch-1'] = v .. "\\" Best, Scuri From: Benoit Germain [mailto:bnt.germ...@g

Re: [Iup-users] [IUP 3.6 Windows 7] problem with IupTree dynamic filling

2012-07-03 Thread Antonio Scuri
> Ok I understand. But with either IUP 3.5 or IUP 3.6, a rootless tree start with no > node at all, right? Yes. > Then, since insertbranch0 adds a node at the same depth as > the referenced node, shouldn't it shouldn't fail with IUP 3.5 as well for empty > trees, since there is no reference no

Re: [Iup-users] [IUP 3.6 Windows 7] Can I change the image in a list after it is set?

2012-07-07 Thread Antonio Scuri
It is a bug. Fixed and committed to CVS. Thanks for reporting. But there is an easy workaround. After changing the images call "iup.Update(list)". Best, Scuri From: Benoit Germain [mailto:bnt.germ...@gmail.com] Sent: quinta-feira, 5 de julho de 2012 13:10 To: IUP discussion list Sub

Re: [Iup-users] iupArray, how does it works?

2012-07-12 Thread Antonio Scuri
Ok. 20 is the initial allocated space in the array. You must increment it used space in order to Count return a value different from 0. Best, Scuri > -Original Message- > From: Ano Nymous [mailto:ershib...@gmail.com] > Sent: quinta-feira, 12 de julho de 2012 10:20 > To: IUP discussion li

Re: [Iup-users] [IUP 3.6 Windows 7] IupTree DELNODE and LASTADDNODE

2012-07-12 Thread Antonio Scuri
Hi, What I can do to improve that is to check is the node being removed is the last added node, and then clear that value. And to also clear that value when all nodes are removed. But I don’t know if I will catch all situations. The idea behind the last added node is for it to be used right af

  1   2   3   4   5   6   7   8   9   10   >