Skip to content

Rebinding default tk keys does not work  #62

@tastyminerals

Description

@tastyminerals

I posted this issue on dlang forum first but since nobody seems to have an answer I created an issue here.

I want to rebind <Control-a> to select all text in the Entry widget, it doesn't work

private void selectText(CommandArgs args) {
    this._clientId.selectText;
}

this._loginFrame = new Frame(2, ReliefStyle.groove);
this._clientId = new Entry(this._loginFrame).grid(1, 0);
this._clientId.bind("<Control-a>", &selectText);

It works if I change <Control-a> to <Control-o> for example.

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