Can probably use a slightly better name. E.g. `disable_gui()`

Toggle indicates that it sets the opposite value of the current binary value, so if it's true, then it becomes false, and vice-versa. That means no argument would be needed.

This method isn't really toggling, it's enabling/disabling components based on the argument. Since it disables when True is given, I suggest something like `disable_gui(self, state)`