def buffer_load(self, buffer_id, url): _buffer = buffers.get_buffer(buffer_id) return _buffer.load(url)
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)
def buffer_delete(self, buffer_id): _buffer = buffers.get_buffer(buffer_id) return _buffer.delete()
def buffer_evaluate_javascript(self, buffer_id, script): _buffer = buffers.get_buffer(buffer_id) return _buffer.evaluate_javascript(script)