GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Jul 25, 2014 3:21 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Disable keyboard on textview
PostPosted: Mon Nov 12, 2012 12:37 pm 
Offline

Joined: Thu Nov 08, 2012 5:00 am
Posts: 1
Hi all,

I'm new C programmer for Gtk+, now I'm working on the textview widget. Is there anyway to disable all keyboard keys inside textview ?
I tried using gtk_text_view_set_editable, but the Up/Down, Left/Right keys are still activate.

Regards,


Top
 Profile  
 
 Post subject: Re: Disable keyboard on textview
PostPosted: Mon Nov 12, 2012 9:02 pm 
Offline
Never Seen the Sunlight

Joined: Thu Mar 24, 2011 2:10 pm
Posts: 328
Location: Sydney, Australia
Keyboard support is not something you should be trying to deactivate. It is needed for accessibility compliance. Some users find difficulty using a mouse and require full functionality from the keyboard alone. Be very careful if you ever mess around with the underlying default functionality; things are almost invariably done for a reason. Ensure you have a very good reason to and full knowledge of its consequences.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group