std.lyxvision.button

TButton — klickbare Schaltfläche mit Tastaturkürzel und Fokus-Handling. Erzeugt ein evCommand-Ereignis mit dem konfigurierten Command-Code wenn der Benutzer Enter drückt oder die Schaltfläche mit der Maus klickt. Tastaturkürzel werden durch Tilde-Markup im Label definiert (~O~K → Alt+O).

lyxvision · lyxvision.group · lyxvision.types


Funktionen

Signatur Sichtbarkeit Beschreibung
ButtonCreate(x: int64, y: int64, w: int64, h: int64, title: pchar, cmd: int64): TButton pub TButton Funktionen
ButtonCreateStd(x: int64, y: int64, title: pchar, cmd: int64): TButton pub
ButtonCreateDefault(x: int64, y: int64, title: pchar, cmd: int64): TButton pub
ButtonSetPressed(btn: TButton, pressed: int64): TButton pub
ButtonDraw(btn: TButton): TButton pub
ButtonIsKey(btn: TButton, key: int64): bool pub
ButtonPress(btn: TButton): int64 pub

Signaturen automatisch aus std/lyxvision/button.lyx erzeugt (Stand 2026-08-02, lyxc 1.0.21A). Beschreibungen stammen aus den Quellkommentaren und sind teilweise unvollständig.