Skip to main content

OcempGUI - 0.2.2

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.



  • New TooltipWindow class which uses a certain color and displays a simple line text.
  • New SIG_ENTER and SIG_LEAVE signals, which indicate that the mouse cursor entered or left a widget.
  • New 'entered' attribute and set_entered() method in BaseWidget class, which indicate, that the widget is entered by an input device.
  • Added SIG_ENTER and SIG_LEAVE support to the BaseWidget class.


  • Fixed a notify() bug in the Magnifier class, which could cause exceptions if no mouse movements occured in the passed event list.
  • The font cache of the String module distinguishes between applied styles when String.create_font(), String.create_file_font() and String.create_system_font() are used. (Thanks to Regis Desgroppes)
  • Fixed a bug in String.create_system_font(), which applied styles two times and could lead to broken rendering of fonts. (Thanks to Regis Desgroppes)
  • Minor speed optimizations in some widget classes.
  • The WidgetStyle dictionary class will be imported using the module namespace now.
  • Fixed internal positioning for packed widgets.
  • Removed doubled set_state() method in ToggleButton class.
  • Fixed wrong SIG_FOCUSED emittance, when the focus was not set on the widget.
  • Fixed scrolling behaviour in the ScrolledList class.
  • Fixed the update of deselected items in the ScrolledList class.
  • Fixed drawing_engine example.


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