Sunday, December 20, 2009

Done?

Well, the virtual keyboard is looking fairly complete. I changed the display to a text field, so now you can copy-paste in, type in, etc, but still enter stuff with the virtual keyboard. I made this only as a learning project, and not something actually to code, so I don't figure I have to update it much. In addition to adding the text-view field, I also realised that I can use the same variable name to declare multiple buttons. This let me obsolete my text-creator and much tidy up the code.

The code can be found the same place as before, http//students.gctaa.net/~dreich/projects/virtual_keyboard/, under 2.0. Btw, if you can think of any interesting-to-program key to put where I had backspace (I couldn't get backspace to integrate with the new method of storing text. Well, I probably would be able to, but it did not seem like it would be fun to figure out or work with.), that would be good. As-is, I'm going to start on redocnE-gui over winter break, I think.

Tuesday, December 15, 2009

text

Today I looked at the textview gtk widget. It seems to be a relevant and useful one to the virtual keyboard, redocnE, and many other things, and I seem to be at the point that I can kinda jump around the pygtk docs to the various widgets I need.

Reminded of redocnE, maybe I should try to have a useable alpha of it up with graphics sometime - maybe by when I start the NOVA thing? I would probably have to do some stuff over winter break then though, which I might do. I guess I'll see how it goes.

I was too much looking at the textview docs to write any new code today, but I will soon.

Monday, December 14, 2009

caps lock etc

I implemeted a caps-lock button today, along with a number-key row. I'm trying to think of some sort of special key to put in the last avalible space - any ideas?

Anyway, here's the code: http://students.gctaa.net/~dreich/projects/virtual_keyboard/ Hopefully that works.

Wednesday, December 9, 2009

continued work!


I worked a lot more on the virtual keyboard today, making a main button to display the text and adding a spacebar and backspace key (that uses the arrow widget). It works very nicely, but is hard to use - not that that was the point of making it. I left some space on the side, into which I'm planning to put a caps lock key.

Tuesday, December 8, 2009

virtual keyboard

I worked on a virtual keyboard today in class (only got to writing the entry now though), and I got to the point where I had a window with a 4-row table of 26 buttons. In order to declare the 26 buttons, rather than writing a 4-line thing 26 times with different letters once in each, I made a little script to do it, which worked well. It may have been faster to do it the boring way, but that would have been, well, boring. Anyway, I can't take a picture now, I'm at home, but I will later.

Monday, December 7, 2009

more pygtk

I looked at pygtk some more today, tables (which I understand, but havn't really tested my knowledge of yet) and details of buttons (which I think I get now, but I'm not sure, I'll look at it a bit more tommorow).

Wednesday, December 2, 2009

ubuntu up!

got ubuntu up, running, updated, and made useable - installed LXDE and geany. Didn't get to get any work done though, i'll get back seriously next week