add entity namespace

This commit is contained in:
yggverse 2024-04-10 07:08:49 +03:00
parent 7398ed7af2
commit 90c6d615fb
15 changed files with 40 additions and 40 deletions

View file

@ -0,0 +1,33 @@
<?php
declare(strict_types=1);
namespace Yggverse\Yoda\Entity\Label;
class Content
{
public \GtkLabel $label;
public function __construct(string $value = '')
{
$this->label = new \GtkLabel(
$value
);
$this->label->set_use_markup(
true
);
$this->label->set_selectable(
true
);
$this->label->set_xalign(
0
);
$this->label->set_yalign(
0
);
}
}