Project

General

Profile

Feature #1113

Updated by Hammel about 2 months ago

This needs to use json to describe keys. 
 * Number of rows 
 * Number of columns 
 * Key 
 ** Position: row,column Position (re: index) 
 ** Label: Characters to display 
 ** Keysym: GTK keysyms (gdk/gdkkeysyms.h) 
 ** Icon:    BG Icon 
 ** Color: Color - mutually exclusive to Icon (if icon, ignore color) 

 Widget should not get focus - it should be touchscreen enabled only and focus stays in other Gtk widget. 
 Might need to review matchbox-keyboard for how they handle the focus issue. 
 Or maybe just install a callback that takes the key action/key from the widget (like updating a GtkEntry). 

 See  
 * https://sites.cc.gatech.edu/data_files/public/doc/gtk/tutorial/gtk_tut.html 
 ** https://sites.cc.gatech.edu/data_files/public/doc/gtk/tutorial/gtk_tut-20.html 
 * https://zetcode.com/gui/gtk2/

Back