user-interfacepython-3.xwindowtoolkitclutter

How do I set program title and icon in Clutter toolkit?


I have recently been learning how to program with the Clutter GUI toolkit. One thing I haven't been able to figure out is how to set the programs title and icon for the window manager.

As illustrated in the image below, Gnome Shell says that the program name is "Unknown" and that the program does not have an icon.

enter image description here

So, how do I do this?


Solution

  • you cannot do this from Clutter: the windowing system API inside Clutter only allows basic operations.

    if you want proper integration in a windowing system you should use Clutter-GTK, and embed a ClutterStage into a Gtk application.