ButtonController and ButtonPolicy

2001-04-02 Thread Kalle Dalheimer
Hi, I am a bit confused about the calls to ButtonController::input() which are done at the end of the XForms input() methods. My guess was that this is used to enable/disable the OK, Apply etc. buttons. However, when I call this, I get into an endless recursion in the input() methods.

ButtonController and ButtonPolicy

2001-04-02 Thread Kalle Dalheimer
Hi, I am a bit confused about the calls to ButtonController::input() which are done at the end of the XForms input() methods. My guess was that this is used to enable/disable the OK, Apply etc. buttons. However, when I call this, I get into an endless recursion in the input() methods.

Re: ButtonController and ButtonPolicy

2001-01-15 Thread Angus Leeming
there is: // Somebody else owns the FL_OBJECTs we just manipulate them. // so? (Lgb) //~ButtonController() {} Well and good. But SURELY the ButtonController owns its ButtonPolicy and so this pointer should be deleted by the ButtonController d-tor? Yes. This will soon spot anyone who

Re: ButtonController and ButtonPolicy

2001-01-15 Thread Allan Rae
On Mon, 15 Jan 2001, Angus Leeming wrote: Hello, Allan. Hi Angus! Let me start with a justification of all this: I'd like to ease the pain of porting the dialogs to other GUIs by ensuring that they have only a minimum of things to do. We have occasional complaints from John and Marco about

Re: ButtonController and ButtonPolicy

2001-01-15 Thread Angus Leeming
my mailbox. > > > I have one question regarding your ButtonController class. In the header > > file there is: > > > > // Somebody else owns the FL_OBJECTs we just manipulate them. > > // so? (Lgb) > > //~ButtonController() {} > > > > Well and good.

Re: ButtonController and ButtonPolicy

2001-01-15 Thread Allan Rae
On Mon, 15 Jan 2001, Angus Leeming wrote: > Hello, Allan. Hi Angus! > Let me start with a justification of all this: I'd like to ease the pain of > porting the dialogs to other GUIs by ensuring that they have only a minimum > of things to do. We have occasional complaints from John and Marco

ButtonController and ButtonPolicy

2001-01-12 Thread Angus Leeming
the FL_OBJECTs we just manipulate them. // so? (Lgb) //~ButtonController() {} Well and good. But SURELY the ButtonController owns its ButtonPolicy and so this pointer should be deleted by the ButtonController d-tor? Angus

Re: ButtonController and ButtonPolicy

2001-01-12 Thread Allan Rae
that is my mailbox. I have one question regarding your ButtonController class. In the header file there is: // Somebody else owns the FL_OBJECTs we just manipulate them. // so? (Lgb) //~ButtonController() {} Well and good. But SURELY the ButtonController owns its ButtonPolicy

ButtonController and ButtonPolicy

2001-01-12 Thread Angus Leeming
the FL_OBJECTs we just manipulate them. // so? (Lgb) //~ButtonController() {} Well and good. But SURELY the ButtonController owns its ButtonPolicy and so this pointer should be deleted by the ButtonController d-tor? Angus

Re: ButtonController and ButtonPolicy

2001-01-12 Thread Allan Rae
it in the mess that is my mailbox. > I have one question regarding your ButtonController class. In the header file > there is: > > // Somebody else owns the FL_OBJECTs we just manipulate them. > // so? (Lgb) > //~ButtonController() {} > > Well and good. B