mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add _onFocusOut abstract method
This commit is contained in:
parent
751a316bd5
commit
faa85d7292
4 changed files with 30 additions and 0 deletions
|
|
@ -71,6 +71,17 @@ abstract class Entry
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->gtk->connect(
|
||||||
|
'focus-out-event',
|
||||||
|
function (
|
||||||
|
\GtkEntry $entry
|
||||||
|
) {
|
||||||
|
$this->_onFocusOut(
|
||||||
|
$entry
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract protected function _onActivate(
|
abstract protected function _onActivate(
|
||||||
|
|
@ -86,6 +97,10 @@ abstract class Entry
|
||||||
\GtkEntry $entry
|
\GtkEntry $entry
|
||||||
): void;
|
): void;
|
||||||
|
|
||||||
|
abstract protected function _onFocusOut(
|
||||||
|
\GtkEntry $entry
|
||||||
|
): void;
|
||||||
|
|
||||||
public function setLength(
|
public function setLength(
|
||||||
?int $value = null
|
?int $value = null
|
||||||
): void
|
): void
|
||||||
|
|
|
||||||
|
|
@ -56,4 +56,9 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function _onFocusOut(
|
||||||
|
\GtkEntry $entry
|
||||||
|
): void
|
||||||
|
{}
|
||||||
}
|
}
|
||||||
|
|
@ -41,6 +41,11 @@ class Query extends \Yggverse\Yoda\Abstract\Entity\Entry
|
||||||
): void
|
): void
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
protected function _onFocusOut(
|
||||||
|
\GtkEntry $entry
|
||||||
|
): void
|
||||||
|
{}
|
||||||
|
|
||||||
public function refresh(): void
|
public function refresh(): void
|
||||||
{
|
{
|
||||||
// @TODO
|
// @TODO
|
||||||
|
|
|
||||||
|
|
@ -31,4 +31,9 @@ class Filter extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Na
|
||||||
\GtkEntry $entry
|
\GtkEntry $entry
|
||||||
): void
|
): void
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
protected function _onFocusOut(
|
||||||
|
\GtkEntry $entry
|
||||||
|
): void
|
||||||
|
{}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue