Improved interruptable sleep and warn user when using time.sleep.
This commit is contained in:
@@ -1186,7 +1186,6 @@ get_ylabel set_ylabel"""
|
||||
compexp.add_provider(self.compwexp)
|
||||
compres.add_provider(self.compwres)
|
||||
|
||||
# script fonts are atlered by configuration
|
||||
# clipboard
|
||||
self.main_clipboard = gtk.Clipboard( )
|
||||
|
||||
@@ -1194,13 +1193,12 @@ get_ylabel set_ylabel"""
|
||||
self.experiment_script_statusbar_label = self.xml_gui.get_object( "statusbar_experiment_script_label" )
|
||||
self.data_handling_statusbar_label = self.xml_gui.get_object( "statusbar_data_handling_label" )
|
||||
|
||||
# footline with line and col indicators
|
||||
# footer with line and col indicators
|
||||
self.experiment_script_line_indicator = self.xml_gui.get_object( "experiment_script_line_textfield" )
|
||||
self.experiment_script_column_indicator = self.xml_gui.get_object( "experiment_script_column_textfield" )
|
||||
self.data_handling_line_indicator = self.xml_gui.get_object( "data_handling_line_textfield" )
|
||||
self.data_handling_column_indicator = self.xml_gui.get_object( "data_handling_column_textfield" )
|
||||
|
||||
|
||||
# some event handlers
|
||||
self.experiment_script_textbuffer.connect( "modified-changed", self.textviews_modified )
|
||||
self.experiment_script_textview.connect_after( "move-cursor", self.textviews_moved )
|
||||
@@ -1211,8 +1209,7 @@ get_ylabel set_ylabel"""
|
||||
self.data_handling_textview.connect( "key-press-event", self.textviews_keypress )
|
||||
self.data_handling_textview.connect( "button-release-event", self.textviews_clicked )
|
||||
|
||||
# and the editing toolbar part
|
||||
# buttons
|
||||
# and the editing toolbar buttons
|
||||
self.toolbar_new_button = self.xml_gui.get_object( "toolbar_new_button" )
|
||||
self.toolbar_open_button = self.xml_gui.get_object( "toolbar_open_file_button" )
|
||||
self.toolbar_save_button = self.xml_gui.get_object( "toolbar_save_file_button" )
|
||||
@@ -1223,8 +1220,9 @@ get_ylabel set_ylabel"""
|
||||
self.toolbar_redo_button = self.xml_gui.get_object( "toolbar_redo_button" )
|
||||
self.toolbar_search_button = self.xml_gui.get_object("toolbar_search_button")
|
||||
|
||||
# my notebook
|
||||
# main notebook
|
||||
self.main_notebook = self.xml_gui.get_object( "main_notebook" )
|
||||
|
||||
# config toolbar
|
||||
self.main_notebook.connect_after( "switch_page", self.notebook_page_switched )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user