[fxruby-users] Strange behaviour of FXDataTarget connected to FXTextField

Lyle Johnson lyle at lylejohnson.name
Tue Apr 14 13:48:27 EDT 2009


On Tue, Apr 14, 2009 at 11:24 AM, XY$ <kwicher at gmail.com> wrote:

> If it is like that, what should be the target for the FXText so that I
> can handle SEL_RIGHTBUTTONRELEASE message sent by it? Should the
> target be self?

Well, there's nothing special about it, but I'd probably just use an
anonymous handler, e.g.

    text_widget.connect(SEL_RIGHTBUTTONRELEASE) do
      # handle right button release on text widget
    end

Hope this helps,

Lyle


More information about the fxruby-users mailing list