Skip to content

xbindkeys and wxTextCtrl() #149

Description

@davekimble2

Ubuntu 14.04, wxPHP 3.0.0.2, wxWidgets 3.0.2, xbindkeys 1.8.6 (for creating user hotkeys)
xbindkeys is set up to output a preset string when a special key combination is pressed.
xbindkeys works for Ubuntu apps, but it doesn't seem to work for entering text in wxPHP apps.
system hotkeys, like Control+C and Control+V, work OK.

I think xbindkeys must get its keystrokes by way of the dbus session bus.
Does wxWidgets in GTK mode get its keyboard input by way of dbus and xbindkeys?

<?php
$frame = new wxFrame(null, wxID_TOP, "Enter text");
$hbox = new wxBoxSizer(wxHORIZONTAL);
    $label = new wxStaticText($frame, wxID_ANY, "Email:", wxDefaultPosition, wxDefaultSize);
$hbox->Add( $label, 0, wxALL, 10);
    $textbox = new wxTextCtrl($frame, wxID_ANY, "", wxDefaultPosition, new wxSize(300, 28) );
$hbox->Add( $textbox, 0, wxALL, 10);
$frame->SetSizer($hbox);
$frame->Show();
wxEntry();
?>

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions