Rob Oakes wrote:
> Hi Vincent,
> 
>> However, did you add the following to GuiView::build() ?
>>
>>     if (name == "testmod")
>>         return createGuiTestMod(*this);
>>
>> Vincent
> 
> No, I had not.  Thank you for the recommendation.
> 
> I have now added the following to GuiView::build:
> 
> ...
> Dialog * createGuiTestMod(GuiView & lv);
> ...
> 
>     if (name == "testmod")
>         return createGuiTestMod(*this);
> 
> I can still compile and use the program, but the little test dialog
> (which is really nothing than a few simple widgets that do very little)
> still does not appear as part of the Gui.  When I activate the menu
> control, it still says:
> 
> toggle-dialog testmod
> 
> Nothing else happens.  No other helpful errors, or segmentation faults
> to clue me in that something is happening, other than this:
> 
> ** (<unknown>:10208): CRITICAL **: atk_object_set_name: assertion
> `name != NULL' failed
> 
> I've gone back and double checked my template code from GuiToc.cpp/.h,
> and I think that I have all of the needed methods.  I'm not really sure
> what is causing the problem.
> 
> Any other thoughts?  Again, I really appreciate the help.
> 
> Cheers,
> 
> Rob
> 

Search for "progress" in GuiView.cpp, and you will find that there is no
'|| name == "testmod" in 'case LFUN_DIALOG_SHOW: {'.

Peter





Reply via email to