예제 #1
0
 def buffer_load(self, buffer_id, url):
     _buffer = buffers.get_buffer(buffer_id)
     return _buffer.load(url)
예제 #2
0
 def window_set_active_buffer(self, window_id, buffer_id):
     _window = window.get_window(window_id)
     _buffer = buffers.get_buffer(buffer_id)
     return _window.set_active_buffer(_buffer)
예제 #3
0
 def buffer_delete(self, buffer_id):
     _buffer = buffers.get_buffer(buffer_id)
     return _buffer.delete()
예제 #4
0
 def buffer_evaluate_javascript(self, buffer_id, script):
     _buffer = buffers.get_buffer(buffer_id)
     return _buffer.evaluate_javascript(script)