(self, widget)
Cursor shape changed
Cursor shape changed
Cursor shape changed
def on_cursor_shape_combobox_changed(self, widget):
        """Cursor shape changed"""
        selected = widget.get_active()
        if selected == 1:
            value = 'underline'
        elif selected == 2:
            value = 'ibeam'
        else:
            value = 'block'
        self.config['cursor_shape'] = value
        self.config.save()
def on_cursor_shape_combobox_changed ( self , widget ) : selected = widget . get_active ( ) if selected == 1 : value = 'underline' elif selected == 2 : value = 'ibeam' else : value = 'block' self . config [ 'cursor_shape' ] = value self . config . save ( )