touque.ca > Education Commons > Turing

Assignments

Graphical User Interface

Mousing basics

Write simple programs to perform the following tasks:

  1. Click: figure appears. Click: figure disappears.
  2. Click: figure appears centred on point. Click: figure disappears.
  3. Click: figure appears centred on point. Click: figure changes colour.
  4. Click: figure appears centred on point. Click: alternate figure appears centred on new point.
  5. Click: figure appears centred on point. Click within figure: colour changes. Click outside figure: alternate figure appears centred on new point.

touque.ca > Education Commons > Turing

[This page last updated 2020-12-23 at 12h13 Toronto local time.]