THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/10/2012 at 13:55, xxxxxxxx wrote:
Hi everyone, this is my first time posting here.
My question is about the GUI for a falloff plugin I'm working on, I'm trying to make that GUI react dynamically to user input (eg add or remove buttons if someone selects an option or presses another button).
I've seen tutorials on using the GeDialog class to add widgets to an existing dialog, but my trouble currently is that I can't find a GeDialog instance to add anything to. My interface is created as a description .res file, and I can react to button input via messages but that only supplies an id as an integer, which doesn't help me access the enclosing dialog. So my question is how do I access an instance of my GUI from within my plugin code?
Alternatively I'd be open to creating the GUI in code if that gives me more control over it, but I can't see in the API how to supply a GeDialog for a falloff plugin through code (the register plugin function only asks for a description file).
I've been searching for help with this but I haven't had any luck so far, so I hope someone here might have an answer to this stumbling block.