def _on_edit_display(self, menu_item, player): editor = PatternEdit(self, SongInfo._pattern, alternative_markup=True, links=True) editor.text = self._pattern editor.apply.connect('clicked', self._on_set_pattern, editor, player) editor.show()
def edit_pattern(button): w = PatternEdit(button, AnimOsd.ConfDef.string) w.set_default_size(520, 260) w.text = self.Conf.string connect_obj(w.apply, 'clicked', set_string, w) w.show()
def edit_pattern(button): w = PatternEdit(button, self.Conf.string) w.set_default_size(520, 260) w.text = self.Conf.string connect_obj(w.apply, 'clicked', set_string, w) w.show()
def _on_edit_display(self, menu_item, player): editor = PatternEdit(self, SongInfo._pattern) editor.text = self._pattern editor.apply.connect('clicked', self._on_set_pattern, editor, player) editor.show()
def _on_edit_display(self, menu_item, player): editor = PatternEdit( self, SongInfo._pattern, alternative_markup=True, links=True) editor.text = self._pattern editor.apply.connect('clicked', self._on_set_pattern, editor, player) editor.show()