Project

General

Profile

Feature #1113

Updated by Hammel 8 months ago

This needs to use json to describe keys. 
 * Number of rows 
 * Number of columns 
 * Key 
 ** Position (re: index) 
 ** Characters to display 
 ** GTK keysyms (gdk/gdkkeysyms.h) 
 ** BG Icon 
 ** 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