Windows and Buttons in Python – Ten Lines of PyGTK

It’s easy to write grahical user interface with python. Write twindow to a text file, then run it. $ nano twindow.py $ python twindow Do you see a window? Does it print some text to command line when you click … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

TextViews in Android

TextView is a text field, usually user editable. You can read and write TextView values from code. You often have to cast between CharSequence, String, int and other types. Prequisites: Android Hello World Explained Read TextView final TextView q = … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Simple Button for Android – XML onClick + public method

Probably the simplest way to create Android Button. Create a new public method (e.g. goButtonClicked) and add it to your layout XML. Prequisites: Android Hello World Explained In Java, define a new public method that takes view as parameter. public … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

IceWm – Configuring the Light Window Manager

< ![CDATA[showTocToggle("+","-")]]>Table of Contents IceWm – Configuring the Light Window Manager Installing Menu in Ubuntu Debian-like Menu Using ‘menu’ Ubuntu Menus IceWm – Configuring the Light Window Manager IceWm is a very light window manager. It is simple to use … Continue reading

Posted in Old Site | Tagged , , , , , | Leave a comment

Share mouse and keyboard using x2x and ssh

< ![CDATA[showTocToggle("+","-")]]>Table of Contents Share mouse and keyboard using x2x and ssh Short version Detailed instructions See also Share mouse and keyboard using x2x and ssh I have a desktop computer and a laptop, both on the same table and … Continue reading

Posted in Old Site | Tagged , , , , | Leave a comment
  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects