getValue())) { return; } $this->navbar->page->open( $this->getValue() ); $this->navbar->page->container->tab->update(); } protected function _onKeyRelease( \GtkEntry $entry, \GdkEvent $event ): void { $this->navbar->refresh(); $this->navbar->page->container->tab->update(); } protected function _onChanged( \GtkEntry $entry ): void { // Update session on tab initiated only if (isset($this->navbar->page->container->tab)) { // Reset previous event if ($this->_changed) { \Gtk::source_remove( $this->_changed ); $this->_changed = null; } // Wait for one second to apply act $this->_changed = \Gtk::timeout_add( 1000, function() { $this->navbar->page->container->tab->update(); $this->_changed = null; return false; // stop } ); } } protected function _onFocusOut( \GtkEntry $entry, \GdkEvent $event ): void {} }