Python Forum
How to set the window icon with OpenGL GLUT
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set the window icon with OpenGL GLUT
#1
I have already successfully created the OpenGL window with glut.
Now,I want to set/change the window icon and taskbar icon,is it possible to do that?
If so,how to?
Reply
#2
Which package PyGlut?
Reply
#3
The library that i am using is Pyopengl,I use the glut function in this library to creating a window.
Now,I want to change the logo of the window.
How do I do it?
If pyopengl can't do this,can I use pygame instead by doing pygame.display.set_icon()?
Can pygame.display be used with opengl.glut?

I hope my question is clear enough this time.sorry for the unclearness.
Reply
#4
It's part of the title function, see: http://pyopengl.sourceforge.net/document...Title.html
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to call and focus any popup window outside of the main window app? Valjean 6 1,609 Oct-02-2023, 04:11 PM
Last Post: deanhystad
  Pyspark Window: perform sum over a window with specific conditions Shena76 0 1,131 Jun-13-2022, 08:59 AM
Last Post: Shena76
  file icons have Firefox icon Ricvourn 4 1,404 Mar-31-2022, 11:40 PM
Last Post: Ricvourn
  Pygame with OpenGL on RPI Zero without X: invalid operation aserranoh 0 1,356 Mar-20-2022, 09:49 PM
Last Post: aserranoh
Question IDLE icon artfuture2001 2 2,882 Aug-12-2018, 04:22 PM
Last Post: artfuture2001
  Creating shadow in OpenGL with normal? hsunteik 0 3,337 Apr-27-2017, 08:23 AM
Last Post: hsunteik
  how to destroy or remove object rendered with opengl from the screen? hsunteik 1 7,018 Apr-09-2017, 01:30 PM
Last Post: hsunteik
  NullFunctionError in opengl hsunteik 2 4,034 Apr-04-2017, 07:29 AM
Last Post: hsunteik
  Traditional OpenGL vs GLSL? hsunteik 2 4,027 Mar-27-2017, 03:54 PM
Last Post: nilamo
  NullFunctionError opengl glutInit hsunteik 3 12,244 Mar-18-2017, 10:25 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020