def _init_components(self, heading, subheading): self._header = styling.H1(self, heading) self._subheader = wx.StaticText(self, label=subheading) self._settings_img = self._load_image(image_repository.settings2, height=79) self._running_img = self._load_image(image_repository.computer3, 79) self._check_mark = self._load_image(image_repository.alessandro_rei_checkmark, height=75)
def _init_components(self): self._msg_req_args = (styling.H1(self, i18n.translate("required_args_msg")) if self._positionals else None) self._msg_opt_args = styling.H1(self, i18n.translate("optional_args_msg"))
def _init_components(self): self._msg_req_args = (styling.H1(self, "Required Arguments") if self._positionals else None) self._msg_opt_args = styling.H1(self, "Optional Arguments")