mirror of https://github.com/YGGverse/Yoda.git
yggverse
6 months ago
6 changed files with 129 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
declare(strict_types=1); |
||||||
|
|
||||||
|
namespace Yggverse\Yoda\Button; |
||||||
|
|
||||||
|
class Back |
||||||
|
{ |
||||||
|
public \GtkButton $button; |
||||||
|
|
||||||
|
public function __construct( |
||||||
|
?string $label = 'Back' |
||||||
|
) { |
||||||
|
$this->button = \GtkButton::new_with_label( |
||||||
|
$label |
||||||
|
); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,18 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
declare(strict_types=1); |
||||||
|
|
||||||
|
namespace Yggverse\Yoda\Button; |
||||||
|
|
||||||
|
class Forward |
||||||
|
{ |
||||||
|
public \GtkButton $button; |
||||||
|
|
||||||
|
public function __construct( |
||||||
|
?string $label = 'Forward' |
||||||
|
) { |
||||||
|
$this->button = \GtkButton::new_with_label( |
||||||
|
$label |
||||||
|
); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,18 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
declare(strict_types=1); |
||||||
|
|
||||||
|
namespace Yggverse\Yoda\Button; |
||||||
|
|
||||||
|
class Home |
||||||
|
{ |
||||||
|
public \GtkButton $button; |
||||||
|
|
||||||
|
public function __construct( |
||||||
|
?string $label = 'Home' |
||||||
|
) { |
||||||
|
$this->button = \GtkButton::new_with_label( |
||||||
|
$label |
||||||
|
); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue