Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/p/y/pyglfw-0.1.0/pyglfw/pyglfw/window.py   pyglfw(Download)
from . import _wrapapi as api
from .common import _str, _utf, _unichr
from .hint import Hints
from .inputs import Keys, Mice
    def __init__(self, width, height, title, monitor=None, shared=None):
        mon_handle = monitor and monitor.handle or None
        shr_handle = shared and shared.handle or None
        win_handle = api.glfwCreateWindow(width, height, _utf(title),
                                          mon_handle, shr_handle)
    def clipboard(self, buffer):
        api.glfwSetClipboardString(self.handler, _utf(buffer))
    _cursor_modes_get = {
        api.GLFW_CURSOR_DISABLED: None,