Browse Source

add _onFocusOut abstract method

PHP-GTK3
yggverse 4 months ago
parent
commit
faa85d7292
  1. 15
      src/Abstract/Entity/Entry.php
  2. 5
      src/Entity/Browser/Container/Page/Navbar/Request.php
  3. 5
      src/Entity/Browser/Container/Page/Response/Query.php
  4. 5
      src/Entity/Browser/History/Container/Navbar/Filter.php

15
src/Abstract/Entity/Entry.php

@ -71,6 +71,17 @@ abstract class Entry @@ -71,6 +71,17 @@ abstract class Entry
);
}
);
$this->gtk->connect(
'focus-out-event',
function (
\GtkEntry $entry
) {
$this->_onFocusOut(
$entry
);
}
);
}
abstract protected function _onActivate(
@ -86,6 +97,10 @@ abstract class Entry @@ -86,6 +97,10 @@ abstract class Entry
\GtkEntry $entry
): void;
abstract protected function _onFocusOut(
\GtkEntry $entry
): void;
public function setLength(
?int $value = null
): void

5
src/Entity/Browser/Container/Page/Navbar/Request.php

@ -56,4 +56,9 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb @@ -56,4 +56,9 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb
);
}
}
protected function _onFocusOut(
\GtkEntry $entry
): void
{}
}

5
src/Entity/Browser/Container/Page/Response/Query.php

@ -41,6 +41,11 @@ class Query extends \Yggverse\Yoda\Abstract\Entity\Entry @@ -41,6 +41,11 @@ class Query extends \Yggverse\Yoda\Abstract\Entity\Entry
): void
{}
protected function _onFocusOut(
\GtkEntry $entry
): void
{}
public function refresh(): void
{
// @TODO

5
src/Entity/Browser/History/Container/Navbar/Filter.php

@ -31,4 +31,9 @@ class Filter extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Na @@ -31,4 +31,9 @@ class Filter extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Na
\GtkEntry $entry
): void
{}
protected function _onFocusOut(
\GtkEntry $entry
): void
{}
}
Loading…
Cancel
Save