class eg.ConfigPanel(executable=None, resizable=True, showLine=True)[source]

A panel with some magic.


Returns the user request.

If called the first time, it will also finish creation of the panel and show it to the user, before returning the user request.

The return value depends on the button the user has pressed in the panel:

Cancel button => False
Ok button => wx.ID_OK
Apply button => wx.ID_APPLY
Test button => eg.ID_TEST

Enables/Disables the OK, Apply and Test buttons.

Useful if you want to temporarily disable them, because the current settings have no valid state and later re-enable them.


Notifies the program of the current values of the configuration controls.