mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add entity namespace
This commit is contained in:
parent
7398ed7af2
commit
90c6d615fb
15 changed files with 40 additions and 40 deletions
18
src/Entity/Button/Go.php
Normal file
18
src/Entity/Button/Go.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Entity\Button;
|
||||
|
||||
class Go
|
||||
{
|
||||
public \GtkButton $button;
|
||||
|
||||
public function __construct(
|
||||
?string $label = 'Go'
|
||||
) {
|
||||
$this->button = \GtkButton::new_with_label(
|
||||
$label
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue