Browse Source

add reload button released event

PHP-GTK3
yggverse 7 months ago
parent
commit
fccc40cf66
  1. 12
      src/Box/Tab.php

12
src/Box/Tab.php

@ -92,6 +92,18 @@ class Tab @@ -92,6 +92,18 @@ class Tab
);
}
);
$this->navigation->reload->button->connect(
'released',
function ($entry)
{
$this->navigate(
$this->navigation->address->entry->get_text()
);
}
);
// @TODO home, back, forward buttons
}
public function navigate(string $url)

Loading…
Cancel
Save