mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement _onButtonPressEvent method
This commit is contained in:
parent
ee2f8ba3b1
commit
6afc498186
3 changed files with 29 additions and 6 deletions
|
|
@ -267,6 +267,14 @@ class Gemtext extends Markup
|
|||
);
|
||||
}
|
||||
|
||||
protected function _onButtonPressEvent(
|
||||
\GtkLabel $label,
|
||||
\GdkEvent $event
|
||||
): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
private function _wrap(
|
||||
string $value
|
||||
): string
|
||||
|
|
|
|||
|
|
@ -29,4 +29,12 @@ class Plain extends Markup
|
|||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function _onButtonPressEvent(
|
||||
\GtkLabel $label,
|
||||
\GdkEvent $event
|
||||
): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue