G4P (GUI for processing)

The G4P library provides an extensive collection of 2D GUI controls for your sketch and comes with many example sketches to showcase these controls.

Both novice and experienced programmers will find it useful to read the programmer guides and the source referencs.

Controls available G4P Features

Label
Button
Image button
Image toggle button
Checkbox
Option
Droplist
Slider
Slider2D
Custom slider
Stick
Knob
Password field
TextField (with scrollbar)
TextArea (with scrollbars)
SketchPad (embedded graphics)
Panel (moveable and collapsable)
Timer
Multiple windows

There are eight predefined colour schemes to give a consistent look and feel to the controls. V3 has better text clarity in all 2D/3D rendering modes. Styles (attributes) can now be applied to text e.g. bold, italic, sub/super script etc.

TextField and TextArea controls support copy and paste using the clipboard as well as tab to control which is useful for form filling.

Simple and consistent event handling model allows for handling events by control type. Users can also create event handlers for a specific control(s)