Wednesday, April 11, 2012

Present wordgrid project

Summary:  Having done some interesting stuff in the past several days here.  In exploration of open source code provided by particular group responsible for Sudoku, I managed to work code some (posted previous examples such as keyboard) generated from existing code, and then managed to update this gtk3+ alongside using the framework for a graphical grid that could input not just numbers but written text.  I opted in the case instead of creating a customized  gtk.gdk (under the old gtk2+) drawable widget to use the native Gtk.DrawingArea widget which already provided built in methods that hadn't need be converted for the sake of instantiation provided the old way, basically, 'event' based handlers have been removed and a 'draw' call back function simply need be defined, so this appeared to work out fairly well.

   I  then decided an expanded Latin based Qwerty keyboard set (international) were still a bit limited for programming perhaps with the defined pop up keyboard, so I determined a method to import unicode( utf-8) keyboard layout packs that could be imported under numerous language configurations.

Here this includes not merely, Cyrillic, Hebrew, Arabic, but also many other languages.  I created an importer which segregated key data not merely by case form, but also variant stroke, hook, accent, etc., forms on base types...thus allowing for grouping for easier finding on the keyboard layout grid.

I managed to provide menu option for the user to customise keyboard layouts as needed as quickly as possible (just click the checkbox) and voila new keyboard pops up when toggled here.

As it turns out it hadn't seemed so difficult, just needed a handling class for keyboard layouts as needed, then calling these layouts when the user toggles the program for the popup keyboard.


Working towards this goal of incorporating on existing language learning program, and then working on a crossword puzzles type program.  Basically a program which allows the user to create randomly generated crosswords, importing dual (or mutli, or user customized) language libraries.

No comments:

Post a Comment

Oblivion

 Between the fascination of an upcoming pandemic ridden college football season, Taylor Swift, and Kim Kardashian, wildfires, crazier weathe...