Re: [Iup-users] Problem with '==' comparing IUP handles

2025-07-30 Thread Antonio Scuri
Yes, there is a limitation on the equal operator. The second parameter should be able to be anything. It is a bug. You can workaround it, by switching the order, print(srv == txt) should work in this case, but it will not compare two Iup Handles. Best, Scuri Em qua., 30 de jul. de 2025 às 08:16

Re: [Iup-users] Mouse wheel delta value in IupMatrix

2025-07-23 Thread Antonio Scuri
I don't recall changing the wheel system setting. What can happen is that the number of scrolling lines be dynamically configured. But I also made a few tests here and IupMatrix is scrolling normal like other controls. Em qua., 23 de jul. de 2025 às 07:10, Maurizio Petrarota < mewuid...@gmail.com>

Re: [Iup-users] IupVisualLED "element properties" dialog does not save MASKINT

2025-02-18 Thread Antonio Scuri
MASKINT is a write only attribute. It will not be saved. But I believe that MASK was saved instead, but the limits were lost. I just added a small fix. Thanks for reporting. Best, Scuri Em qua., 12 de fev. de 2025 às 02:34, escreveu: > Attached sample image. > > using the button Set with

Re: [Iup-users] Windows installer for Iup 3.32

2025-01-20 Thread Antonio Scuri
Thanks! Em dom., 19 de jan. de 2025 às 10:08, Jesús Ruiz escreveu: > Hi, > > I have just updated the Windows installer to Iup v.3.32. > > Changes: > > - There is now one installer for VC17 and one for mingw6. > - Examples for static compilation for both toolchains. > > See https://github.com/jes

[Iup-users] IUP 3.32

2025-01-10 Thread Antonio Scuri
Hi All, We just released IUP version 3.32 The changes are mainly bug fixes. And we added support for Ubuntu 24 (Linux 6.8). You can find the complete list of changes and files for download at: http://iup.sourceforge.net/ Best Regards, Antonio Scuri

Re: [Iup-users] scrollbar not initially visible after dynamic allocation

2024-10-09 Thread Antonio Scuri
Also, if the dialog is already visible, you must call IupMap on the newly added container. Em qua., 9 de out. de 2024 às 08:36, Antonio Scuri escreveu: > Try calling IupRefresh after dynamic adding the controls. > > Best, > Scuri > > > Em sex., 20 de set. de 2024 às 1

Re: [Iup-users] scrollbar not initially visible after dynamic allocation

2024-10-09 Thread Antonio Scuri
Try calling IupRefresh after dynamic adding the controls. Best, Scuri Em sex., 20 de set. de 2024 às 13:52, Graham Stephens < gra...@thestephensdomain.com> escreveu: > > Sorry, I'm having trouble working out how to reply to these > responses...? (I didn't get a message to my account?) > > A ro

Re: [Iup-users] scrollbar not initially visible after dynamic allocation

2024-09-19 Thread Antonio Scuri
Which control is used to display the scrollbar? IupScrollBox? Em qui., 19 de set. de 2024 às 01:40, Graham Stephens < gra...@thestephensdomain.com> escreveu: > IUP noob here. > > I am in the middle of creating a layout, with two tabs to the left of > the UI and an image to the right. The content

Re: [Iup-users] Making a vector drawing tool with IUP+CD?

2024-09-06 Thread Antonio Scuri
Hi, > Or do I have to add my own code to answer queries like is point (x,y) close enough to that bezier curve to register a hit, on a mouse click? CD does not have functions like that, it is a simple graphics library. Such questions don't usually be solved by graphics libraries. Foley is a great

Re: [Iup-users] IUP C99 patches?

2024-08-21 Thread Antonio Scuri
Exactly, because of that old compilers, we prefer to stay as it is. Até least for now. But thanks for the offer. Best, Scuri Em ter., 20 de ago. de 2024, 13:22, Devin Smith escreveu: > Hi all, > > I notice that IUP could incorporate some enhancements from C99 (for > example intptr_t from stdin

Re: [Iup-users] Creating your own widgets

2024-07-29 Thread Antonio Scuri
In the IUP web site at "Internal SDK". There are no specific examples. You can take a look at IUP existing controls downloading the source code. Best, Scuri Em sáb., 27 de jul. de 2024 às 08:36, Tumanov Alex escreveu: > Hello! > > Please tell me where I can find detailed information about cre

Re: [Iup-users] Where to get iupluamatrix.dll?

2024-01-19 Thread Antonio Scuri
Thanks for reporting Em sex., 19 de jan. de 2024 às 10:00, Antonio Scuri escreveu: > Yes, it is missing a > #ifdef LUA_VERSION > > Em qui., 18 de jan. de 2024 às 12:04, Gia Hung Nguyen < > giahungngu...@yandex.com> escreveu: > >> I'm unable to find this dl

Re: [Iup-users] Where to get iupluamatrix.dll?

2024-01-19 Thread Antonio Scuri
Yes, it is missing a #ifdef LUA_VERSION Em qui., 18 de jan. de 2024 às 12:04, Gia Hung Nguyen < giahungngu...@yandex.com> escreveu: > I'm unable to find this dll. The only thing I can do to avoid linking > error is comment out IupMatrixSetFormula and IupMatrixSetDynamic in > iupcontrols.h. They

Re: [Iup-users] C++ wrapper

2024-01-19 Thread Antonio Scuri
I don't get this error here. Which compiler are you using? Em qui., 18 de jan. de 2024 às 07:23, Gia Hung Nguyen < giahungngu...@yandex.com> escreveu: > There is a conflict between line 471 and line 473 of iup_plus.h. To the > compiler, these constructors are the same: a method that takes a para

[Iup-users] IUP 3.31

2023-10-15 Thread Antonio Scuri
time frame when it is going back to IUP. You can find the complete list of changes and files for download at: http://iup.sourceforge.net/ Best Regards, Antonio Scuri ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/

Re: [Iup-users] Visual cue for default buttons?

2023-08-03 Thread Antonio Scuri
IUP does not set that style. Can't remember now why we didn't do it. But probably because it does not behave as expected or does not have an equivalent in GTK. Em sáb., 29 de jul. de 2023 às 10:19, Johann ''Myrkraverk'' Oskarsson via Iup-users escreveu: > Dear IUP Users, > > How is one supposed

Re: [Iup-users] Discussion of MX 21.3 build troubles...

2023-08-03 Thread Antonio Scuri
Great! Thanks Em qui., 3 de ago. de 2023 às 04:57, sur-behoffski < sur_behoff...@grouse.com.au> escreveu: > G'day, > > I'm trying to help Anonymous build IM/CD/IUP with Lua 4.4.6 and > LuaRocks. This message documents some of the hoops that "lglicua" > uses to get things to work. > > First of

Re: [Iup-users] Problem linking with scintilla

2023-07-24 Thread Antonio Scuri
; more undefined references to `__dso_handle' follow > > Which additional library(s) do I need to add now (I'm currently at 19!!)? > On 7/24/23 05:38, Antonio Scuri wrote: > > IupScintilla is C only, but Scintilla itself is not. > > Em qua., 19 de jul. de 2023 às

Re: [Iup-users] Problem linking with scintilla

2023-07-24 Thread Antonio Scuri
ols: DSO > missing from command line* > > Now what do I do? > > PS -- There is a typo in the doc: *gdk-3* should have been *-lgdk-3* > PPS -- Look at that huge, gigantic command line! This is far, far easier > to do in Windows than it is in Linux. > On 7/17/23 05:56, Antonio Scuri

Re: [Iup-users] Problem linking with scintilla

2023-07-17 Thread Antonio Scuri
-L/my_path/iup/lib/Linux Em seg., 17 de jul. de 2023 às 09:04, Anonymous escreveu: > On 7/17/23 04:49, Antonio Scuri wrote: > > There is no sense in using GTK 2 anymore for recent systems. Focus on GTK > 3. > > Yes sir, I understand. I will focus only on GTK3 from now o

Re: [Iup-users] Problem linking with scintilla

2023-07-17 Thread Antonio Scuri
t; > > ... but do I really have to copy files from root to a place where it can > be found by my make file? That doesn't make sense but if that is how things > are done in Linux, I will just have to do it. I just hope those files are > easy to find. > On 7/15/23 12:31, Antonio

Re: [Iup-users] Problem linking with scintilla

2023-07-15 Thread Antonio Scuri
r interface library > > Oops! It looks like IUP will only work with GTK2 and that says I have > GTK3, right? Is there any workaround for that or am I screwed? > > Signed, > Andrew > On 7/15/23 05:50, Antonio Scuri wrote: > > The scintilla library itself is missing. IupScintilla

Re: [Iup-users] Problem linking with scintilla

2023-07-15 Thread Antonio Scuri
The scintilla library itself is missing. IupScintilla is IUP using Scintilla. Em sáb., 15 de jul. de 2023 às 09:43, Anonymous escreveu: > Ola, > > I'm still new to Linux so forgive me if I ask what might be stupid > questions. I cannot link to scintilla using IUP. I get a slew of error > like

Re: [Iup-users] IUP Matrix adding and removing lines

2023-05-23 Thread Antonio Scuri
I think you could simply move the merged cell attributes from one row to the other. When you insert the new row the attributes keep pointing to the old row. Best, Scuri Em dom., 21 de mai. de 2023 às 03:23, Milind Gupta escreveu: > Hi, > I have a IUP Matrix where some cells are merge

Re: [Iup-users] Are you ok?

2023-05-16 Thread Antonio Scuri
Thanks Andrew! Yes, I'm ok. Sorry for being away from IUP, but it's been very hard to keep up with my current tasks. Hope to get back soon. Best, Scuri Em seg., 15 de mai. de 2023 às 20:08, Anonymous escreveu: > Ola Antonio Scuri, > > Haven't heard from you in

Re: [Iup-users] Reminder about IUP fixes and improvements since 3.30 (was: Win installer for IUP 3.30)

2022-12-08 Thread Antonio Scuri
Thanks, Yes, It's about time. I'm planning to release a new version in January after the holidays. Best, Scuri Em qua., 7 de dez. de 2022 às 22:58, sur-behoffski < sur_behoff...@grouse.com.au> escreveu: > G'day, > > Just a reminder that IUP 3.30, the latest package, was released in > appro

Re: [Iup-users] IupConfig

2022-11-28 Thread Antonio Scuri
Are those dialogs maximized or placed at the top manually? Em dom., 27 de nov. de 2022 às 21:10, Andrew Robinson escreveu: > I measured the offset when all dialogs were set to X=0. The dialogs that > have RESIZE='NO', MAXBOX='NO', and MINBOX='NO' have an offset of +2 pixels > whereas the don't

Re: [Iup-users] New Go bindings

2022-11-16 Thread Antonio Scuri
Just commited your fix to the SVN. Thanks. Em ter., 31 de mai. de 2022 às 13:51, Milan Nikolic escreveu: > Pete, the requirements are already in go.mod file, where it states it > needs 1.17. Not sure from which version, you would get a warning if you try > to use the lower version. > But I thin

Re: [Iup-users] IupAnimatedLabel

2022-11-16 Thread Antonio Scuri
Hi, Yes, that's correct. The user interface is not updated during a long processing. What you can do is inside your processing call a callback, then inside that callback call IupLoopStep. This will not only refresh the IupAnimatedLabel, but also allow the user to click on a cancel button, for in

Re: [Iup-users] IupMatrixEx -- Related issues

2022-10-28 Thread Antonio Scuri
Hi, Thanks for the update. Can you send me that png file? Best, Scuri Em qui., 27 de out. de 2022 às 14:19, Andrew Robinson escreveu: > Ola, > > Update: The problem isn't with IUP, the problem is with iupview.exe. I'm > using iupview.exe to convert png to C, which causes the issue, but whe

Re: [Iup-users] Upgrade Changes?

2022-06-10 Thread Antonio Scuri
. >> >> On Fri, Jun 10, 2022 at 2:24 PM Antonio Scuri >> wrote: >> >>> Hi, >>> >>> IUP calculates all sizes by itself, but GTK has some constraints that >>> we have to workaround. Maybe it is something related with Wayland as Mi

Re: [Iup-users] Upgrade Changes?

2022-06-10 Thread Antonio Scuri
ary using ScriptBasic and IUP now has alignment issues. What > >> changed to cause this? > >> [...] > >> > >> John > > G'day John, > > > > [This message is being cross-posted to the lua-l list, since it > partially begs for more resou

Re: [Iup-users] New Go bindings

2022-05-31 Thread Antonio Scuri
Hi, Thanks for the contributions! Best, Scuri Em ter., 31 de mai. de 2022 às 04:28, Milan Nikolic escreveu: > Hi, > > I just released the bindings for Go at https://github.com/gen2brain/iup-go > . > I know there were previous attempts, my bindings include IUP C source code > that is compi

Re: [Iup-users] SIGSEGV when resuming coroutine from iup callback

2022-05-27 Thread Antonio Scuri
Hi, > Would it be possible to release a new iup version from the latest svn > master to have this fix available in the official build? That depends on the changes. Can you send me a diff? Em qui., 26 de mai. de 2022 às 16:08, Ico escreveu: > Hi Scuri, > > I spent the afternoon digging mys

Re: [Iup-users] Proper usage of IupPostMessage when using Lua - example needed.

2022-05-25 Thread Antonio Scuri
Sorry, I only have a sample in C. It is attached. In Lua you will need something likeluathread too. Best, Scuri Em ter., 24 de mai. de 2022 às 14:35, Stefan Heinzmann < stefan_heinzm...@gmx.de> escreveu: > Hello list, > > The documentation mentions in passing that IupPostMessage is expect

Re: [Iup-users] GC-related segmentation fault on latest iuplua + lua5.4

2022-05-07 Thread Antonio Scuri
Great. Thanks for the feedback. Best, Scuri Em sáb., 7 de mai. de 2022 às 04:07, Zevv escreveu: > Hi Scuri, > > Quoting Antonio Scuri (2022-05-07 00:09:46) > > > No, this is not a known issue. Have you tried a sample code from the > > web site? Are your prog

Re: [Iup-users] GC-related segmentation fault on latest iuplua + lua5.4

2022-05-06 Thread Antonio Scuri
Hi, No, this is not a known issue. Have you tried a sample code from the web site? Are your program terminating Lua, but leaving the interface open? Best, Scuri Em sex., 6 de mai. de 2022 às 09:20, Zevv Glass escreveu: > Hello, > > I'm building a simple app using lua5.4 and latest iup, a

Re: [Iup-users] Tecmake Not Working (update)

2022-03-31 Thread Antonio Scuri
Tecmake expects a posix configuration enabled on your system. That's why mkdir is failing. So, let's start over, first I understood that your are trying to embed iuplua console on your application, is that correct? Em qua., 30 de mar. de 2022 23:05, Kaz Foxsen escreveu: > Hello, > > I tri

Re: [Iup-users] Tecmake Is Giving Me Errors

2022-03-31 Thread Antonio Scuri
I followed Tecmake installation instructions, but I'm confused about config.mak vs tecmakewin.mak. Is the user supposed to paste a copy of tecmakewin.mak into a source folder and rename it to config.mak? No. Neither, actually, to build IUP. IUP already has inside its source the .mak files r

Re: [Iup-users] IupMatrixSetFomula

2022-02-28 Thread Antonio Scuri
* *formula*, const char* > *init*); [in C] > *iup.MatrixSetFormula*(*ih*: > ihandle, *col*: number, *formula*: string, > [*init*: string]) [in Lua] > or > *ih*:SetFormula(*col*: number, > *formula*: string, [*init*: string]) [in > Lua] > > > > > On 2/27/2022 at 10:13 AM, Anto

Re: [Iup-users] MASK (non inheritable) (since 3.0)

2022-02-28 Thread Antonio Scuri
g screen capture for IUP - Version 3.30? ... > > > I couldn't find any text for "regex" or "mask" yet. > > Thanks, > Andrew > > On 2/27/2022 at 9:53 AM, Antonio Scuri wrote: > > It is available with the internal SDK. Take a look at the >

Re: [Iup-users] Small nitpick

2022-02-27 Thread Antonio Scuri
Fixed and committed to the SVN. Em qua., 9 de fev. de 2022 às 19:23, Andrew Robinson escreveu: > Ola Antonio, > > Online documentation for IUP - Version 3.30 > GETFOCUS_CB > > Action generated when an element is given keyboard focus. This callback is > called after the KILLFOCUS_CB of the elemen

Re: [Iup-users] IupMatrixSetFomula

2022-02-27 Thread Antonio Scuri
> "so it's not a useful function" I think if you read the documentation carefully you will see that it is a very useful function... Also you will find out that the formula receives two parameters lin and col, so you can test the col number and return the contents you actually want in the UNIT

Re: [Iup-users] MASK (non inheritable) (since 3.0)

2022-02-27 Thread Antonio Scuri
It is available with the internal SDK. Take a look at the iup/src/iup_mask.c file for more details. Best, Scuri Em dom., 27 de fev. de 2022 às 13:50, Andrew Robinson escreveu: > Ola Antonio, > > RE: https://www.tecgraf.puc-rio.br/iup/en/attrib/iup_mask.html > > Is that regEx engine available

Re: [Iup-users] SIMULATEMODAL

2022-02-16 Thread Antonio Scuri
stom dialog does not (or is not > documented to do)? > > Thanks, > Andrew > ​ > > On 2/16/2022 at 12:51 PM, Antonio Scuri wrote: > > Obs: You replied only to me, so I'm including the list in the reply again. > > > You say "I guess" but is that how

Re: [Iup-users] SIMULATEMODAL

2022-02-16 Thread Antonio Scuri
osed" > > I understand but you need to understand this needs to be documented > behavior since that is an expected behavior of custom modal dialogs > in other IDEs. > > "I guess you will have to set the focus yourself" > > You say "I guess" but is that ho

Re: [Iup-users] SIMULATEMODAL

2022-02-16 Thread Antonio Scuri
I guess you will have to set the focus yourself, calling IupFocus. You could do that on CLOSE_CB. IUP does not set focus after the dialog is closed, this is highly dependent on the system. Em ter., 15 de fev. de 2022 às 20:59, Andrew Robinson escreveu: > Ola Antonio, > > I have a custom dia

Re: [Iup-users] Resend: CD-r900 warnings mistakenly sent out with IM Subject: line..

2022-02-15 Thread Antonio Scuri
Received all. Thanks Em seg., 14 de fev. de 2022 às 23:20, sur-behoffski < sur_behoff...@grouse.com.au> escreveu: > [Subject line said IM-r820, but the remainder of the message > was for CD-r900. Resending... sorry for any confusion. s-b] > > > Forwarded Message > Subject: Up

Re: [Iup-users] libftgl.so not installed

2022-02-02 Thread Antonio Scuri
> > > I was also thinking about adding a new /etc/ld.so.conf.d/iup.conf > containing /usr/lib64 (ie a simple ten byte text file), > and running sudo ldconfig and rebooting immediately after running the > install scripts, might be a good suggestion? > Why do you need that? ___

Re: [Iup-users] libftgl.so not installed

2022-02-02 Thread Antonio Scuri
cp -nv => no file overwrite Our ftgl is different from the ftgl in the distributions. You must overwrite it to use it. Em qua., 2 de fev. de 2022 às 11:22, Pete Lomax via Iup-users < iup-users@lists.sourceforge.net> escreveu: > I was also thinking about adding a new /etc/ld.so.conf.d/iup.co

Re: [Iup-users] Problem Getting the Child Dialog to Minimize/Restore with Parent

2022-01-08 Thread Antonio Scuri
hieve that? > > On Fri, Jan 7, 2022 at 7:31 AM Antonio Scuri > wrote: > > > > I don't know. MDI is very little used. > > > > PARENTDIALOG works very well for regular dialogs. I confirmed the > minimize behavior here, just in case. > > > > But whe

Re: [Iup-users] Problem Getting the Child Dialog to Minimize/Restore with Parent

2022-01-07 Thread Antonio Scuri
I don't know. MDI is very little used. PARENTDIALOG works very well for regular dialogs. I confirmed the minimize behavior here, just in case. But when involves MDI everything changes. This behavior is controlled by the system, IUP actually only configures parent and child settings. Best, Scuri

Re: [Iup-users] GTK on cent OS

2021-12-30 Thread Antonio Scuri
ilind Gupta escreveu: > Hi Antonio, > Did you find anything to help with this issue. > > Thanks, > Milind > > On Sat, Jul 31, 2021 at 6:30 AM Antonio Scuri > wrote: > >> Thanks folks. >> >> This will be useful. >> >> I will make so

Re: [Iup-users] Flaw

2021-12-28 Thread Antonio Scuri
IVEWINDOW and GL) and they don't work at > all on Windows, so do you have any recommendations for a workaround or > alternate? > > Thanks, > Andrew > > On 2021-12-08 at 9:45 AM, Antonio Scuri wrote: > > Ok So you are actually using the Win32 based driver. > >

Re: [Iup-users] Flaw

2021-12-08 Thread Antonio Scuri
lying is that Microsoft Windows has a > long-term flaw (or bug) that has never been resolved! > > On 2021-12-08 at 9:45 AM, Antonio Scuri wrote: > > Ok So you are actually using the Win32 based driver. > > We use native functions to do the drawing. Text drawing is done &g

Re: [Iup-users] Flaw

2021-12-08 Thread Antonio Scuri
e dez. de 2021 11:43, Andrew Robinson escreveu: > Sorry about that. I told you I'm new to this ... anyways, it's CD_IUP. > > On 2021-12-07 at 6:46 AM, Antonio Scuri wrote: > > You did when you call the cdCreateCanvas function, the parameter is the > driver. And if cdUse

Re: [Iup-users] Flaw

2021-12-07 Thread Antonio Scuri
021-12-06 at 4:34 PM, Antonio Scuri wrote: > > Which Driver? > > Em seg., 6 de dez. de 2021 às 19:41, Andrew Robinson > escreveu: > >> Ola Antonio, >> >> I'm using cdCanvasTextOrientation and I see a flaw with the algorithm >> used. When I rotate th

Re: [Iup-users] Flaw

2021-12-06 Thread Antonio Scuri
Which Driver? Em seg., 6 de dez. de 2021 às 19:41, Andrew Robinson escreveu: > Ola Antonio, > > I'm using cdCanvasTextOrientation and I see a flaw with the algorithm > used. When I rotate the text "Strength" by 45.0 degrees, I get the > following result: > > > The characters are no longer alig

Re: [Iup-users] How do you get Flat controls to work in Lua?

2021-12-04 Thread Antonio Scuri
t the style during the same step as > creation, like how one can create a button that has bold text with this > code: > > > > iup.button{title = ”button”, fontstyle = "Bold"} > > > > I’m guessing not, since the code format for creating a branch is different >

Re: [Iup-users] Is There an Updated Stand-Alone Interpreter?

2021-12-04 Thread Antonio Scuri
t; int iuplua_dobuffer(lua_State *L, const char *string, int len, const char > *chunk_name); > > > > …but that didn’t work. > > Are those functions called anywhere or are they triggered automatically? > > From the description, it sounds like “iup._ERRORMESSAGE(msg)” tr

Re: [Iup-users] Problem with Executeleaf_cb Callback

2021-12-03 Thread Antonio Scuri
I suggest you to store in each node some information that will allow you to retrieve the correct module and be able to show it. Best, Scuri Em seg., 29 de nov. de 2021 às 23:11, Kaz F escreveu: > I’m trying to populate a tree with the names of modules (leaves) so when > you double-click on t

Re: [Iup-users] How do you get Flat controls to work in Lua?

2021-12-03 Thread Antonio Scuri
= iup.dialog{iup.vbox{tree;ncmargin = "25 x 25"}; title = > "Test Window"} > > testdlg:showxy(iup.CENTER, iup.CENTER) > > > > if (iup.MainLoopLevel()==0) then > > iup.MainLoop() > > end > > > > *From: *Ola Zetterqvist > *Sent:

Re: [Iup-users] Is There an Updated Stand-Alone Interpreter?

2021-12-03 Thread Antonio Scuri
ofile(L,"../obj/iuplua51/console.lo");" and also tried > > "luaL_dofile(L,"../obj/iuplua51/console.lo");" but it didn't work. > > > > Was that the wrong code, or is there something else I need to change? > > > > *From: *

Re: [Iup-users] Is There an Updated Stand-Alone Interpreter?

2021-12-01 Thread Antonio Scuri
choices look like together, which is updated when a > color picker is used. As a workaround, I chose unique RGBA values for each > of my original image’s 3 colors, which made it easy to do a > search-and-replace on the IupView-generated Lua code in order to change > RGBA into indices. &

Re: [Iup-users] Is There an Updated Stand-Alone Interpreter?

2021-12-01 Thread Antonio Scuri
The latest version is included in the latest "Tools" package in the Downloads. Latest source code is on SVN. Best, Scuri Em seg., 29 de nov. de 2021 às 21:06, Kaz F escreveu: > > > I’ve been working on updating an app that used the “iuplua5.exe” > stand-alone interpreter so if the app cra

Re: [Iup-users] How do you get Flat controls to work in Lua?

2021-11-20 Thread Antonio Scuri
One very important difference between IupTree andIpFlatTre is that the flat version does not include a default root node. That's why the solution proposed by Ola works. Regarding the error in Lua this can be done: --tree.ADDBRANCH-1 = "NFL"; -- Error in lua tree["ADDBRANCH-1"] = "NFL"; B

Re: [Iup-users] Another cd-r898 "-Wformat-overflow" patch: cd/src/cd_vectortext.c

2021-09-11 Thread Antonio Scuri
Applied with a few changes. Just commited to the CD SVN. Thanks, Scuri Em qua., 8 de set. de 2021 às 00:05, sur-behoffski < sur_behoff...@grouse.com.au> escreveu: > G'day, > > Thanks for processing my previous patch. > > Here is another patch that uses snprintf(3) to avoid potential > buffer

Re: [Iup-users] cdCanvasCreateImage always returns NULL

2021-09-05 Thread Antonio Scuri
There are many ways to implement a buffered image. I couldn't tell what's the best way or why your code is not working. I don't know what type of canvas is _CANVAS_PTR cd, for instance. We can start by why "part of a drawn canvas"? Because by this code: if (note->render != NULL) { cdCanv

Re: [Iup-users] Fix for GCC 10.3 warning (buffer overflow, undefined behaviour) in cd/src/cd_text.c (cd-r897)

2021-09-05 Thread Antonio Scuri
Patch applied and committed to the SVN. Thanks, Scuri Em sáb., 4 de set. de 2021 às 21:15, sur-behoffski < sur_behoff...@grouse.com.au> escreveu: > G'day, > > I've decided to focus exclusively on fixing "undefined behaviour" -- > specifically, potential buffer overflows -- found by GCC 10.3,

Re: [Iup-users] Application exiting unexpectedly

2021-08-27 Thread Antonio Scuri
iupdrvTimerStop is called when a timer is stopped or when a timer is destroyed. iupwinSetCustomQuitMessage is called only when the global attribute CUSTOMQUITMESSAGE is set. But it doesn't do anything more than register the native quit message. So, what's the context when this happens? Be

Re: [Iup-users] IupFrame

2021-08-25 Thread Antonio Scuri
ok. Thanks! Em ter., 24 de ago. de 2021 às 21:54, Andrew Robinson escreveu: > Never mind. Hidden error prevented code from updating. > > On 2021-08-24 at 5:43 PM, Andrew Robinson wrote: > > Hi, > > Setting "VISIBLE=NO" has no effect on IupFrame > > Bye, > Andres > > > _

Re: [Iup-users] scintilla LOADLEXERLIBRARY

2021-08-06 Thread Antonio Scuri
When setting that IUP attribute what we do is exactly the same thing. It unloads after the script is ended? I mean It actually worked inside the script then is unloaded somehow after that? Is the Scintilla object destroyed when the script ends? Best, Scuri Em sex., 6 de ago. de 2021 às 1

Re: [Iup-users] iupflatlabel alignment="ACENTER" not working

2021-07-31 Thread Antonio Scuri
It's possible. We leave that to the system functions. Let me do some tests here, to see if this can be improved. Best, Scuri Em sex., 30 de jul. de 2021 às 14:10, Milind Gupta escreveu: > Hi Antonio, >Is this expected behavior? If the label has the text fit in one > line then it "

Re: [Iup-users] GTK on cent OS

2021-07-31 Thread Antonio Scuri
gt; Thanks, > Milind > > On Fri, Jul 30, 2021 at 6:55 AM Antonio Scuri > wrote: > > Hi Milind, > > Can you send me more information about your system? For instance: > > uname -a > > Best, > Scuri > > Em qua., 28 de jul. de 2021 16:03, Milind Gupta &

Re: [Iup-users] GTK on cent OS

2021-07-30 Thread Antonio Scuri
Hi Milind, Can you send me more information about your system? For instance: uname -a Best, Scuri Em qua., 28 de jul. de 2021 16:03, Milind Gupta escreveu: > Hi Antonio, > I have a GUI that I run it on windows as well as on CentOS. > Below are the visuals comparison: > Window

Re: [Iup-users] GTK on cent OS

2021-07-29 Thread Antonio Scuri
Thanks Alex. Could be that depending on CentOS version. Also Milind, I would check for sizes and positions set in pixels (RASTERSIZE). GTK has a wider default configuration for texto box sizes. Best, Scuri Em qui., 29 de jul. de 2021 10:43, Alex Metelka escreveu: > Hi Milind, > > in my ex

Re: [Iup-users] Buttons in IupMatrix or IupMatrixEx?

2021-07-22 Thread Antonio Scuri
Embed you can't. What you can do is to intercept a click in a cell and process accordingly, simulating the behavior you want. Best, Scuri Em qui., 22 de jul. de 2021 às 12:51, Isaac Raway escreveu: > I would like to embed command buttons or hyperlinks in a Matrix or > MatrixEx. Is this po

Re: [Iup-users] [ANN] lglicua-0.1-alpha3 released at SourceForge

2021-07-19 Thread Antonio Scuri
Great news! Best, Scuri Em seg., 19 de jul. de 2021 às 07:39, sur-behoffski < sur_behoff...@grouse.com.au> escreveu: > [This message is on iup-users; an identical, but separate post will > appear on lua-l.] > > G'day, > > I'm very pleased (and rather exhausted) to announce the release of > lg

Re: [Iup-users] Theming

2021-06-27 Thread Antonio Scuri
anks – I shall look forward to it. > > > > *From:* Antonio Scuri > *Sent:* 21 June 2021 20:01 > *To:* IUP discussion list. > *Subject:* Re: [Iup-users] Theming > > > > I just saw you question at Stack Overflow: > > > > > https://stackoverflow.com/question

Re: [Iup-users] Use IupBackgroundBox with CD?

2021-06-23 Thread Antonio Scuri
ng's working as expected now. Thanks again! > > On Tue, Jun 22, 2021, at 1:07 PM, Antonio Scuri wrote: > > If you are not using the BACKIMAGE attribute, IupBackgroundBox doesn't > draw on the canvas, and all the canvas callbacks are available. > > IupBackgroundBox is not

Re: [Iup-users] Use IupBackgroundBox with CD?

2021-06-22 Thread Antonio Scuri
If you are not using the BACKIMAGE attribute, IupBackgroundBox doesn't draw on the canvas, and all the canvas callbacks are available. IupBackgroundBox is not a different control than a IupCanvas. It is exactly the same, but it has support for distributing elements on top of it. It was designed

Re: [Iup-users] Use IupBackgroundBox with CD?

2021-06-22 Thread Antonio Scuri
Hi, It is much simpler than that. IupBackgroundBox *is* a IupCanvas. Just use it in the same way. No need for HDC access. Best, Scuri Em seg., 21 de jun. de 2021 às 17:59, Isaac Raway escreveu: > Is there any way to use IupBackgroundBox with CD? > > I am currently using an IupCanvas and d

Re: [Iup-users] Theming

2021-06-21 Thread Antonio Scuri
I just saw you question at Stack Overflow: https://stackoverflow.com/questions/67803879/how-do-i-use-the-iup-theme-attribute-defaulttheme-global-attribute I will try to answer that later today. Sorry for the delay. Best, Scuri Em seg., 21 de jun. de 2021 às 15:58, Antonio Scuri escreveu

Re: [Iup-users] Theming

2021-06-21 Thread Antonio Scuri
No, you are not doing something stupid. No it does not. If an attribute is defined at the element, the dialog inheritance will not affect that element. Best, Scuri Em ter., 1 de jun. de 2021 às 13:51, colevalleyg...@colevalleygirl.co.uk < colevalleyg...@colevalleygirl.co.uk> escreveu: >

Re: [Iup-users] Get HDC for canvas using CD?

2021-06-12 Thread Antonio Scuri
Yes, you can get the internal HDC used by CD with: HDC hDC = (HDC)cdCanvasGetAttribute(canvas, "HDC"); Best, Scuri Em sex., 11 de jun. de 2021 às 22:36, Isaac Raway escreveu: > I have a canvas that is drawn using CD. I need to use Win32 TextServices > to render RTF to the canvas as well in

Re: [Iup-users] Rich text images?

2021-06-07 Thread Antonio Scuri
Not yet. It is on our To Do list at the documentation. No time frame though. Best, Scuri Em seg., 7 de jun. de 2021 às 20:41, Isaac Raway escreveu: > Is there a supported way to insert an image into a IupText() field on > Windows? > > Thanks, > > IJR > __

[Iup-users] IUP Feedback

2021-05-29 Thread Antonio Scuri
Hi All, As you may have noticed I've been busy with another project in the last months. So I'm taking much more time to answer questions on the IUP list. Sorry about that. We are getting close to one of our deadlines, and after that I will be able to get back to IUP more often. Best, Scuri

Re: [Iup-users] Building IUP from source on SLES12

2021-05-29 Thread Antonio Scuri
Hi, Sorry for the long delay. Probably the GTK binaries we use to build the pre-compiled libraries are not the same as the one you are trying to link. We build the libraries in Ubuntu. The IUP documentation describe this at Download / Library Download Tips. Best, Scuri Em qua., 31 de mar

Re: [Iup-users] Hot key underscore disappears

2021-05-29 Thread Antonio Scuri
Windows controls the display of the underscores. It is related to the keyboard focus and if you use the tab key. I believe this hiding behavior changed in WIndows in 7 or 8, can't recall now, but it is very system dependent. Best, Scuri Em sex., 16 de abr. de 2021 às 00:29, escreveu: > I want

Re: [Iup-users] First use of IupImgLib.dll

2021-05-29 Thread Antonio Scuri
Probably you have mixed different versions sets of DLLs. Maybe something in the path. Best, Scuri Em qui., 29 de abr. de 2021 às 08:02, Ranier Vilela escreveu: > De: Ranier Vilela > Enviado: quarta-feira, 28 de abril de 2021 22:51 > Para: IUP discussion list. > Assunto: [Iup-users] First us

Re: [Iup-users] IUP Drag&Drop support

2021-05-29 Thread Antonio Scuri
Yes. We implement the general drag&drop support of the system. The problem is the data itself, you have to know how to interpret it. But I think the D&D will work. Best, Scuri Em qui., 29 de abr. de 2021 às 21:09, Ranier Vilela escreveu: > Hi Scuri, > > Do you know if IUP supports drag & dro

Re: [Iup-users] IupPopup never returning

2021-05-29 Thread Antonio Scuri
5t4CMAB6BAgJEBA&biw=1695&bih=1228 > > On Fri, May 28, 2021, at 10:15 AM, Antonio Scuri wrote: > > Yes. Please take a look at the IupDialog documentation. > > Best, > Scuri > > Em sex., 28 de mai. de 2021 12:09, Isaac Raway escreveu: > > > I just ne

Re: [Iup-users] IupPopup never returning

2021-05-28 Thread Antonio Scuri
Yes. Please take a look at the IupDialog documentation. Best, Scuri Em sex., 28 de mai. de 2021 12:09, Isaac Raway escreveu: > I just need to set NOFLUSH on the dialog element itself? > > On Thu, May 27, 2021, at 4:13 PM, Antonio Scuri wrote: > > Easier will be to disable the

Re: [Iup-users] IupPopup never returning

2021-05-27 Thread Antonio Scuri
place IupMainLoop." > > So, are there things that IupLoopStep doesn't do that are needed for IUP > to be healthy? Is there an example on completely replacing IupMainLoop with > a custom event loop? > > > > On Wed, May 26, 2021, at 10:19 PM, Antonio Scuri wrote: >

Re: [Iup-users] IupPopup never returning

2021-05-26 Thread Antonio Scuri
nd the problem, then to be able to reproduce the problem here I'll need a small example code. For instance, you can change one of the pre-defined samples. Sorry for taking so long. Best, Scuri Em qua., 26 de mai. de 2021 às 14:14, Antonio Scuri escreveu: > Later today, I'll s

Re: [Iup-users] IupPopup never returning

2021-05-26 Thread Antonio Scuri
Later today, I'll see this. Best, Scuri Em qua., 26 de mai. de 2021 às 14:12, Isaac Raway escreveu: > Could really use some help with this. This bug is bad enough and hard > enough to track down I'm being forced to consider using a different > toolkit, which would be a ton of work and isn't re

Re: [Iup-users] Linux build question?

2021-05-11 Thread Antonio Scuri
We unwittingly included local dependencies files in the last distribution. Erase the "dep" folder in the "src" files before building. Best, Scuri Em ter., 11 de mai. de 2021 às 09:11, Matic Kukovec < kukovecma...@hotmail.com> escreveu: > Hello, > > I am trying to build on Ubuntu Linux and the

Re: [Iup-users] Ubuntu ARM 64 - vertical RASTERSIZE not working

2021-04-21 Thread Antonio Scuri
When moving between systems, there will be always changes in control sizes. IUP tries to set sizes accordingly, but the native sistem doesn't always collaborate. Usually in a dialog like this I wouldn't recommend setting sizes at all, especially in pixels using RASTERSIZE. Even in Windows, things

Re: [Iup-users] Download Link Fails

2021-04-21 Thread Antonio Scuri
Fixed. Thanks for reporting. Best, Scuri Em seg., 19 de abr. de 2021 às 17:16, escreveu: > This link fails. > > https://www.tecgraf.puc-rio.br/iup/download > > Some other files are available directly at the IUP download folder: > > > ___ > Iup-user

Re: [Iup-users] Issue with iup.list and showdragdrop

2021-04-15 Thread Antonio Scuri
Yes, I'm ok. Just busy with tons of tasks in other projects. As soon as I have some time I'll respond all messages. Sorry for the delay. Best, Scuri Em qui., 15 de abr. de 2021 14:29, Ranier Vilela escreveu: > De: Scott Morgan via Iup-users > Enviado: quinta-feira, 15 de abril de 2021 13:

  1   2   3   4   5   6   7   8   9   10   >