Skip to content

When the button’s title same as a function name, it will display as blank. #33

Description

@he426100

example:

<?php declare(strict_types=1);

use Tkui\Widgets\Frame;
use Tkui\Widgets\Buttons\Button;

require_once dirname(__FILE__) . '/DemoAppWindow.php';

$win = new DemoAppWindow('button test');

$f = new Frame($win);
$win->pack($f);
$f->pack(new Button($f, 'test'));
$win->run();

function test()
{}

result
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions