示例#1
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor)
     self.__sigid1 = self.connect(self.__button, "color-set",
                                  self.__color_cb)
     self.connect(manager, "configuration-data", self.__update_cb)
     self.connect(manager, "destroy", self.__destroy_cb)
示例#2
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "show-window", self.__activate_cb)
     self.__sigid1 = self.connect(self.__button, "toggled",
                                  self.__toggled_cb)
示例#3
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(editor, "rename-file", self.__rename_cb)
		self.connect(manager, "saved", self.__saved_cb)
		editor.register_object(self)
示例#4
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "select-offsets", self.__select_cb, True)
     self.connect(manager, "no-pair-character-found", self.__no_cb, True)
     self.connect(manager, "undo-selection", self.__undo_cb, True)
示例#5
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "error-data", self.__error_cb)
		self.connect(manager, "activate", self.__activate_cb)
		self.connect(manager, "remote-file-error", self.__remote_cb)
示例#6
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(editor, "close", self.__close_cb)
		self.connect(manager, "save-succeeded", self.__saved_cb)
		self.connect(manager, "save-failed", self.__error_cb)
		editor.register_object(self)
示例#7
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(editor, "message-bar-is-visible", self.__visible_cb)
		self.connect(manager, "update-message-bar", self.__update_cb)
		self.__editor.register_object(self)
 def __init__(self, manager, editor, zeditor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor, zeditor)
     self.connect(manager, "destroy", self.__quit_cb)
     self.connect(manager, "action", self.__action_cb)
     self.connect(manager, "wrap-abbreviation", self.__wrap_cb)
     self.connect(manager, "selection-marks", self.__marks_cb)
示例#9
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "activate", self.__activate_cb)
		self.connect(manager, "region-marks", self.__marks_cb)
		self.connect(manager, "inserted-text", self.__text_cb)
示例#10
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "extracted-text", self.__text_cb, True)
     self.connect(manager, "indent", self.__indent_cb)
     self.connect(manager, "unindent", self.__unindent_cb)
示例#11
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor)
     self.connect(editor, "quit", self.__quit_cb)
     self.connect(manager, "start-save-job", self.__data_cb)
     self.connect(manager, "save-processor-object", self.__processor_cb)
     editor.register_object(self)
示例#12
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "indent", self.__freeze_cb)
     self.connect(manager, "unindent", self.__freeze_cb)
     self.connect(manager, "complete", self.__thaw_cb, True)
示例#13
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "show", self.__show_cb, True)
		self.connect(self.__button, "activate", self.__activate_cb)
		self.__sigid1 = self.connect(self.__button, "value-changed", self.__changed_cb)
示例#14
0
	def __init__(self, editor):
		SignalManager.__init__(self)
		self.connect(editor, "quit", self.__destroy_cb)
		self.connect(editor, "load-file", self.__freeze_cb)
		self.connect(editor, "loaded-file", self.__thaw_cb, True)
		self.connect(editor, "load-error", self.__thaw_cb)
		editor.register_object(self)
示例#15
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "generate-uris", self.__generate_cb)
		self.connect(manager, "generate-uris-for-treenode", self.__generate_for_treenode_cb)
		self.connect(manager, "finished-enumerating-children", self.__enumerated_children_cb)
示例#16
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor)
     self.connect(editor, "quit", self.__quit_cb)
     self.connect(manager, "animation", self.__animation_cb)
     self.connect(manager, "slide", self.__slide_cb)
     editor.register_object(self)
示例#17
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "execute", self.__execute_cb)
		self.connect(manager, "bounds", self.__bounds_cb)
		self.connect(manager, "win", self.__win_cb)
示例#18
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "activate", self.__activate_cb)
		self.__sigid1 = self.connect(self.__window, "key-press-event", self.__event_cb)
		self.__block()
示例#19
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "filter-fileinfos", self.__filter_cb)
		from gobject import idle_add
		idle_add(self.__optimize, priority=9999)
示例#20
0
	def __init__(self, editor, shortcut, signal):
		SignalManager.__init__(self)
		self.__init_attributes(editor)
		self.__bind(shortcut, signal)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(editor.window, signal, self.__activate_cb)
		editor.register_object(self)
	def __init__(self, manager, editor, zeditor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor, zeditor)
		self.connect(manager, "destroy", self.__quit_cb)
		self.connect(manager, "action", self.__action_cb)
		self.connect(manager, "wrap-abbreviation", self.__wrap_cb)
		self.connect(manager, "selection-marks", self.__marks_cb)
示例#22
0
	def __init__(self, manager):
		SignalManager.__init__(self)
		self.__init_attributes(manager)
		self.connect(manager, "up-key-press", self.__up_cb)
		self.connect(manager, "shift-up-key-press", self.__shift_up_cb)
		self.connect(manager, "down-key-press", self.__down_cb)
		self.connect(manager, "shift-down-key-press", self.__shift_down_cb)
示例#23
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "gained-focus", self.__gained_focus_cb)
     self.connect(manager, "lost-focus", self.__lost_focus_cb)
     self.connect(manager, "switch-focus", self.__switch_focus_cb)
示例#24
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		from gobject import timeout_add, PRIORITY_HIGH as HIGH
		timeout_add(50, self.__validate_timeout, priority=HIGH)
		editor.register_object(self)
示例#25
0
	def __init__(self, manager):
		SignalManager.__init__(self)
		self.__init_attributes(manager)
		self.connect(manager, "activate", self.__row_cb)
		self.connect(manager, "search-pattern", self.__search_cb)
		self.connect(manager, "filtered-data", self.__data_cb)
		self.connect(manager, "selected-row", self.__row_cb)
示例#26
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "hiding-browser", self.__ungrab_cb)
     self.connect(manager, "showing-browser", self.__grab_cb)
     self.connect(manager, "updated-model", self.__updated_cb, True)
示例#27
0
 def __init__(self, editor):
     SignalManager.__init__(self)
     TriggerManager.__init__(self, editor)
     self.__init_attributes(editor)
     self.connect(self.__trigger1, "activate", self.__activate_cb)
     self.connect(self.__trigger2, "activate", self.__activate_cb)
     self.connect(self.__trigger3, "activate", self.__activate_cb)
示例#28
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(manager, "new-save-job", self.__update_cb, False, True)
		self.connect(manager, "finished-save-job", self.__update_cb, False, False)
		editor.register_object(self) 
示例#29
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(manager, "save-failed", self.__failed_cb)
		self.connect(manager, "save-succeeded", self.__succeeded_cb)
		editor.register_object(self)
示例#30
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "match-found", self.__match_found_cb)
     self.connect(manager, "no-match-found", self.__no_match_found_cb)
     self.connect(manager, "inserting-text", self.__inserting_cb)
     self.connect(manager, "inserted-text", self.__inserted_cb)
     self.connect(self.__view, "backspace", self.__hide_cb)
     self.connect(self.__view, "cut-clipboard", self.__hide_cb)
     self.connect(self.__view, "paste-clipboard", self.__hide_cb)
     self.connect(self.__view, "delete-from-cursor", self.__hide_cb)
     self.connect(self.__view, "move-cursor", self.__hide_cb)
     self.connect(self.__view, "move-viewport", self.__hide_cb)
     self.connect(self.__view, "page-horizontally", self.__hide_cb)
     self.connect(self.__view, "populate-popup", self.__hide_cb)
     self.connect(self.__view, "move-focus", self.__hide_cb)
     self.connect(self.__view, "button-press-event", self.__hide_cb)
     self.connect(self.__view, "focus-out-event", self.__hide_cb)
     self.__sigid1 = self.connect(self.__buffer, "insert-text",
                                  self.__insert_text_cb, True)
     self.__sigid2 = self.connect(self.__buffer, "insert-text",
                                  self.__insert_cb)
     self.connect(self.__buffer, "delete-range", self.__hide_cb, True)
     self.connect(manager, "enable-word-completion", self.__completion_cb)
     self.__block()
     from gobject import idle_add, PRIORITY_LOW
     idle_add(self.__compile, priority=PRIORITY_LOW)
示例#31
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(editor, "loaded-file", self.__update_cb)
     self.connect(manager, "destroy", self.__destroy_cb)
     from gobject import idle_add
     idle_add(self.__update, priority=9999)
示例#32
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "bounds", self.__bounds_cb)
		self.connect(manager, "result", self.__result_cb)
		self.connect(manager, "output-mode", self.__output_cb)
示例#33
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "match-found", self.__match_found_cb)
		self.connect(manager, "no-match-found", self.__no_match_found_cb)
		self.connect(manager, "inserting-text", self.__inserting_cb)
		self.connect(manager, "inserted-text", self.__inserted_cb)
		self.connect(self.__view, "backspace", self.__hide_cb)
		self.connect(self.__view, "cut-clipboard", self.__hide_cb)
		self.connect(self.__view, "paste-clipboard", self.__hide_cb)
		self.connect(self.__view, "delete-from-cursor", self.__hide_cb)
		self.connect(self.__view, "move-cursor", self.__hide_cb)
		self.connect(self.__view, "move-viewport", self.__hide_cb)
		self.connect(self.__view, "page-horizontally", self.__hide_cb)
		self.connect(self.__view, "populate-popup", self.__hide_cb)
		self.connect(self.__view, "move-focus", self.__hide_cb)
		self.connect(self.__view, "button-press-event", self.__hide_cb)
		self.connect(self.__view, "focus-out-event", self.__hide_cb)
		self.__sigid1 = self.connect(self.__buffer, "insert-text", self.__insert_text_cb, True)
		self.__sigid2 = self.connect(self.__buffer, "insert-text", self.__insert_cb)
		self.connect(self.__buffer, "delete-range", self.__hide_cb, True)
		self.connect(manager, "enable-word-completion", self.__completion_cb)
		self.__block()
		from gobject import idle_add, PRIORITY_LOW
		idle_add(self.__compile, priority=PRIORITY_LOW)
示例#34
0
 def __init__(self, editor):
     SignalManager.__init__(self)
     self.connect(editor, "quit", self.__destroy_cb)
     self.connect(editor, "load-file", self.__freeze_cb)
     self.connect(editor, "loaded-file", self.__thaw_cb, True)
     self.connect(editor, "load-error", self.__thaw_cb)
     editor.register_object(self)
示例#35
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor)
     self.connect(manager, "feedback", self.__feedback_cb)
     self.connect(manager, "activate", self.__activate_cb)
     self.connect(manager, "cancel", self.__cancel_cb)
     self.connect(manager, "destroy", self.__destroy_cb)
示例#36
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(editor, "loaded-file", self.__update_cb)
		self.connect(manager, "destroy", self.__destroy_cb)
		from gobject import idle_add
		idle_add(self.__update, priority=9999)
示例#37
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "processed-text", self.__text_cb)
     self.connect(manager, "marks", self.__marks_cb)
     self.connect(manager, "complete", self.__complete_cb)
示例#38
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "execute", self.__execute_cb)
     self.connect(manager, "bounds", self.__bounds_cb)
     self.connect(manager, "win", self.__win_cb)
示例#39
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "activate", self.__activate_cb)
     self.connect(manager, "region-marks", self.__marks_cb)
     self.connect(manager, "inserted-text", self.__text_cb)
示例#40
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(manager, "animation", self.__animation_cb)
		self.connect(manager, "slide", self.__slide_cb)
		editor.register_object(self)
示例#41
0
 def __init__(self, manager):
     SignalManager.__init__(self)
     self.__init_attributes(manager)
     self.connect(manager, "activate", self.__row_cb)
     self.connect(manager, "search-pattern", self.__search_cb)
     self.connect(manager, "filtered-data", self.__data_cb)
     self.connect(manager, "selected-row", self.__row_cb)
示例#42
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(manager, "saving-in-progress", self.__saving_cb, True)
		self.connect(manager, "finished-save-job", self.__job_cb)
		editor.register_object(self)
示例#43
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "marked-matches", self.__marked_matches_cb)
		self.connect(manager, "current-match", self.__current_match_cb)
		self.connect(manager, "reset", self.__reset_cb)
示例#44
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "search", self.__search_cb)
		self.connect(manager, "research", self.__research_cb)
		self.connect(manager, "reset", self.__reset_cb)
示例#45
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "filter-fileinfos", self.__filter_cb)
     from gobject import idle_add
     idle_add(self.__optimize, priority=9999)
示例#46
0
	def __init__(self, manager):
		SignalManager.__init__(self)
		self.__init_attributes(manager)
		self.connect(manager, "hide-window", self.__focus_cb, True)
		self.connect(manager, "show-window", self.__focus_cb, True)
		self.connect(manager, "focus-entry", self.__focus_cb, True)
		self.connect(self.__entry, "changed", self.__changed_cb)
示例#47
0
	def __init__(self, editor):
		SignalManager.__init__(self)
		TriggerManager.__init__(self, editor)
		self.__init_attributes(editor)
		self.connect(self.__trigger1, "activate", self.__activate_cb)
		self.connect(self.__trigger2, "activate", self.__activate_cb)
		self.connect(editor.textview, "populate-popup", self.__popup_cb)
示例#48
0
	def __init__(self, editor):
		SignalManager.__init__(self)
		TriggerManager.__init__(self, editor)
		self.__init_attributes(editor)
		self.connect(self.__trigger, "activate", self.__activate_cb)
		self.connect(self.__trigger1, "activate", self.__activate_cb)
		self.connect(self.__trigger2, "activate", self.__activate_cb)
示例#49
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self, editor)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "toggle-edit-point", self.__toggle_cb)
     self.connect(manager, "add-edit-point", self.__add_cb)
     self.connect(manager, "remove-edit-point", self.__remove_cb)
示例#50
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor)
     self.connect(editor, "quit", self.__quit_cb)
     self.connect(editor.window, "configure-event", self.__event_cb)
     self.connect(editor, "scrollbar-visibility-update", self.__event_cb)
     editor.register_object(self)
示例#51
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(manager, "start-save-job", self.__data_cb)
		self.connect(manager, "save-processor-object", self.__processor_cb)
		editor.register_object(self)
示例#52
0
 def __init__(self, editor):
     SignalManager.__init__(self)
     TriggerManager.__init__(self, editor)
     self.__init_attributes(editor)
     self.connect(self.__trigger1, "activate", self.__activate_cb)
     self.connect(self.__trigger2, "activate", self.__activate_cb)
     self.connect(editor.textview, "populate-popup", self.__popup_cb)
示例#53
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(manager, "plugin-path-not-found-error", self.__not_found_cb)
		self.connect(manager, "plugin-folder-creation-error", self.__creation_error_cb)
		editor.register_object(self)
示例#54
0
 def __init__(self, manager, editor):
     SignalManager.__init__(self)
     self.__init_attributes(manager, editor)
     self.connect(manager, "destroy", self.__destroy_cb)
     self.connect(manager, "marked-matches", self.__matches_cb)
     self.connect(manager, "reset", self.__clear_cb)
     self.connect(editor.textview, "paste-clipboard", self.__paste_cb, True)
示例#55
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self, editor)
		self.__init_attributes(manager, editor)
		self.connect(manager, "destroy", self.__destroy_cb)
		self.connect(manager, "indent", self.__freeze_cb)
		self.connect(manager, "unindent", self.__freeze_cb)
		self.connect(manager, "complete", self.__thaw_cb, True)
示例#56
0
	def __init__(self, manager, editor):
		SignalManager.__init__(self)
		self.__init_attributes(manager, editor)
		self.connect(editor, "quit", self.__quit_cb)
		self.connect(editor.window, "configure-event", self.__event_cb)
		self.connect(editor, "scrollbar-visibility-update", self.__event_cb)
		editor.register_object(self)