Mailinglist Archive: yast-devel (12 mails)

< Previous Next >
[yast-devel] Cant capture key events using libyui in ncurses mode
  • From: Rajender Reddy <Rajender.Reddy@xxxxxxxxxxxxx>
  • Date: Thu, 12 May 2011 03:52:35 -0400
  • Message-id: <5C8F041C42034147B2B9D1732AFD532D040F5DC7AC@EXMBX13.mmeprod.cbeyond>
Hi,

I am developing a tool in ncurses mode and in c++ using yast2-libyui on SLES
11.0.

I want to do following in my app:

1. If user presses enter or return key when entering text in Input Field, I
want to trigger some action in app.

2. I want to make navigation between widget items using arrow keys instead of
tab or shift+tab keys. My dialog contains combo box, input field, buttons,
selection box and table.

I tried setSendKeyEvents( bool doSend ). but no luck. only selection box widget
sending event for left, right arrow key presses.



Regards

Rajender Reddy Kompally
Software Engineer

Saven Technologies: A leader in technology driven business solutions
-----------------------------------------------------------------------------------
#302, 3rd Floor, MyHome Sarovar Plaza, Hyderabad- 500 063, India

Off: +91 040 23237303/7304 ext 115 | Mobile: +91 99898 26628

E-mail: rajender.reddy@xxxxxxxxxxxxx | Web: www.saventech.com
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups