Index: doc/developer/dad/index.html =================================================================== --- doc/developer/dad/index.html (revision 27869) +++ doc/developer/dad/index.html (revision 27870) @@ -10,4 +10,5 @@
  • Building blocks (widgets)
  • Running the dialog box
  • Closing the dialog box +
  • example C code for non-modal and modal Index: doc/developer/dad/run.html =================================================================== --- doc/developer/dad/run.html (revision 27869) +++ doc/developer/dad/run.html (revision 27870) @@ -25,6 +25,8 @@ The modal argument of PCB_DAD_NEW() is pcb_false. The dialog box is created in the PCB_DAD_NEW() call, which returns immediately, leaving the dialog box running in the background. +

    +example code template

    Running modal dialogs

    @@ -41,6 +43,8 @@ The modal argument of PCB_DAD_NEW() is pcb_true. PCB_DAD_RUN() will not return until the user gets the modal dialog box closed (either by the VM or by the code). +

    +example code template

    Running modal dialogs - shorthand