eg.ConfigPanel

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

A panel with some magic.

Affirmed()

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
EnableButtons(flag=True)

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.

SetResult(*args)

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

Previous topic

eg.Bunch

Next topic

eg.ControlProviderMixin

This Page