I did ask Mike by IM but he suggested to better ask in here.
Since I'm still looking for something to replace iup_pplot I recently tried all the sources available for the various packages such as IM, CD, IUP and so on availalbe from sourceforge.
And when use the iuplua_cdlua.wlua from the CD package it actually does all I need and looks promissing, if it wouldn't always freeze the whole FH on closing the example.
As long as I close the example script using the close button everything works find but it using the close icon on the title bat the window closes but the debugger tells me it's running and the debugger itself is unable to break.
Anyone with an idea? Jane? Some other LUA expert?
ID:6759
* fiddling with some lua sources
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
fiddling with some lua sources
I suspect it's probably not closing out the window properly, low tech solution turn off the close button, or add the code you do in the close button to the exit window button, you'll need to check the attribute/function for this in the CD documentation.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- tatewise
- Megastar
- Posts: 27082
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
fiddling with some lua sources
In other words the close_cb action function should be the same as the Close button action function.
i.e.
iup.dialog { close_cb = btnStop.action }
To remove Window Close X, along with Minimize and Maximize use:
iup.dialog { menubox = 'NO' }
i.e.
iup.dialog { close_cb = btnStop.action }
To remove Window Close X, along with Minimize and Maximize use:
iup.dialog { menubox = 'NO' }
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry