Is it possible to launch a mode-less GUI using the iuplua library functions as a FH plugin? Experiments with iup.GetParam() suggest that it creates modal dialogues only. I'm thinking that using iup.dialog() and iup.show() would create a modeless dialog but it still may not possible to shift focus from it back to FH.
This is a general question - just exploring possible uses for plugins.
* Mode-less GUI with iuplua in FH?
Mode-less GUI with iuplua in FH?
Stan Mitchell
- tatewise
- Megastar
- Posts: 27087
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Mode-less GUI with iuplua in FH?
No, I believe it is NOT possible to create a modeless GUI window with the iuplua library that allows focus to be switched back to FH.
It is even quite tricky to create multiple modeless GUI windows with iuplua within one Plugin.
It is probably by design to prevent race hazards and collisions between records being changed via FH GUI and Plugin GUI at the same time.
It is even quite tricky to create multiple modeless GUI windows with iuplua within one Plugin.
It is probably by design to prevent race hazards and collisions between records being changed via FH GUI and Plugin GUI at the same time.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Mode-less GUI with iuplua in FH?
Thanks Mike for the reply. I suspected that was the case, since plugins are primarily used for manipulating the underlying dataset.It is probably by design to prevent race hazards and collisions between records being changed via FH GUI and Plugin GUI at the same time.
Stan Mitchell
- tatewise
- Megastar
- Posts: 27087
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Mode-less GUI with iuplua in FH?
On reflection, I suspect it is the Plugin Lua process and FH API that is modal and so any subsidiary iuplua GUI is modal.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry