← Back to team overview

kicad-developers team mailing list archive

Re: Adding "Apply" to the 3D viewer display options dialog

 

Select the Apply button you want to handle, and in the Object Properties
panel, Events tab - add an event handler. It will be added to the
generated *_BASE class and all you need to do is override it.

Cheers,
Orson

On 07/24/2018 09:10 AM, David Griffith wrote:
> 
> I'm at a loss to figure out what to edit to get the display options
> dialog for the 3D viewer to do the right thing when an "Apply" button is
> pressed. I got the new button added by way of wxFormBuilder.  But
> looking at 3d-viewer/3d_viewer/dialogs/dialog_3D_view_option.cpp, I
> can't figure out how to get it working.  I don't see how OK or Cancel
> are processed, so I can't use them as a model.
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature


References