mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
add entity namespace
This commit is contained in:
parent
7398ed7af2
commit
90c6d615fb
15 changed files with 40 additions and 40 deletions
33
src/Entity/Label/Content.php
Normal file
33
src/Entity/Label/Content.php
Normal 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
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue