Skip to main content

The glue code which mediates between OpenGL and some GUI

Project description

glglue provide boilerplate codes that glue OpenGL with some GUI. it is handling mouse event, keyboard event, window resize event and draw event.

Requirements

  • Python 2.7

Features

  • glut window

  • tkinter’s togl widget

  • pyQt4’s qgl widget

  • wxPython’s GLCanvas widget

Usage

glut

#!/usr/bin/python
# coding: utf8

import glglue.sample
import glglue.glut

if __name__=="__main__":
    controller=glglue.sample.SampleController()
    glglue.glut.mainloop(controller)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glglue-0.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page