Пример #1
0
  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)
Пример #2
0
 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"))
Пример #3
0
 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")