Skip to main content

OcempGUI - 0.2.3

OcempGUI is a python based toolkit for creating (graphical) user interfaces using the pygame library. It offers various widgets and base classes making it suitable for a broad range of projects and easily extensible by the creation of own widgets and more.

Marcus von Appen

OcempGUI is a small toolkit, which comes with various modules suitable for event management, user interfaces, 2D drawing and accessibility.

OcempGUI enables developers to enhance their python and/or pygame applications and games easily with graphical UI elements such as buttons, entry boxes, scrolling abilities and more as well as simple event brokers or features, which enhance the program by adding accessibility to its objects.

It can save a developer much time by providing a broad range of drawing routines and ready-to-use event capable object types. The developer can focus on the main tasks instead of taking care about needed low-level components, which are given to him with OcempGUI.



  • Added a new example for embedding the Renderer into an own mainloop and the assignment of partial screen areas.
  • New rect and rect style attributes in Renderer class.
  • The Renderer supports event based polling now, which can be chosen using Renderer.start (True). By default the timer based polling will be used.


  • ocempgui.access.papi updated to version 0.0.2, which relies upon ATK >= 1.12.1
  • Improved drawing method of the Renderer (thanks to Martin Fuzzey).
  • Fixed a layer update bug for widgets that do not directly intersect with screen portions to update.
  • The remove_widget() method of the Renderer class now accepts multiple widget arguments similar to the add_widget() method.
  • Setting the state in the Button, ImageButton and ToggleButton classes will not cause redraws anymore, if the state did not change.
  • Fixed the assignment of surfaces to the Renderer and the event handling for them.


Home Page


OcempGUI 0.2.0 — 22 Jul, 2006

OcempGUI 0.1.0 — 24 Nov, 2005

OcempGUI 0.1.2 — 16 Feb, 2006

OcempGUI 0.0.9 — 13 Oct, 2005

OcempGUI 0.1.1 — 9 Dec, 2005

OcempGUI 0.2.1 — 25 Aug, 2006

OcempGUI 0.0.8 — 17 Sep, 2005

OcempGUI 0.2.4 — 8 Jan, 2007

OcempGUI 0.2.6 — 1 Feb, 2007

OcempGUI 0.2.2 — 19 Oct, 2006

OcempGUI 0.2.3 — 20 Nov, 2006

OcempGUI 0.2.5 — 22 Jan, 2007

OcempGUI 0.2.7 — 23 Mar, 2007

OcempGUI 0.0.8-NYR — 7 Sep, 2005

OcempGUI 0.2.8 — 10 Jan, 2008

OcempGUI 0.2.9 — 10 May, 2008 account Comments