Пример #1
0
 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()
Пример #2
0
 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()
Пример #3
0
 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()
Пример #4
0
 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()
Пример #5
0
 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()
Пример #6
0
 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()