Ubutton ignore click

This example demonstrates a particular logical task: make one text clickable, and as soon as it is clicked upon, make it unclickable and set some other text to be clickable. In other words, have two texts, only one of which is clickable, and which swap their states whenever the clickable one is clicked.


This program assumes that you have a folder of image files (jpg, etc.) that you want to show as a slideshow. This program also assumes that those images all have the same dimensions.

The program assumes images that are 320x240 pixels. If you want to use another size, you should change the dimensions of the objects and the size of the jit.window. Images that do not have a 4:3 aspect ratio will get distorted when shown fullscreen, unless some adjustments are made.