Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass custom params in init #18

Open
juauzynhu opened this issue Jun 14, 2019 · 1 comment
Open

pass custom params in init #18

juauzynhu opened this issue Jun 14, 2019 · 1 comment

Comments

@juauzynhu
Copy link

If possible, pass GLFW args (like GLFW_TRANSPARENT_FRAMEBUFFER, etc) on .init params

eg.: cpx.init(100,100,"name", GLFW_FLOATING | GLFW_HOVERED)

@podgorskiy
Copy link
Owner

Just added this feature. Now you can do:

ctx.init(600, 600, "Hello", decorated=False)

The whole list of possible arguments:

		bool resizable,
		bool visible,
		bool decorated,
		bool focused,
		bool auto_iconify,
		bool floating,
		bool maximized,
		bool transperent,
		bool focus_on_show,
		bool scale_to_monitor,
		bool full_screen

I did not upload this to pypi yet, but I will do it soonish as well as I'll update the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants