It is not clear whether you want to run a Python program that will populate icons which will then run other Python programs as subprocesses of the main program, or you want to launch desktops apps with the icon and use Python to generate those icons for some reason. Why do you have to use icons? Would a simple button layout that would launch programs work just a well? If so, what GUI toolkits are you familiar with. A small snippet of code would help.
Yes, I want to run a Python program that will populate icons on the desktop which will then run other apps. I have a debian linux and, for example, I want an icon for launch GIMP. And I want to do this with a python program using only xlib without pygtk, or so: only python + xlib. I did it with pygtk, but I don't want to use GTK librairies. I need maximal independence from TCL, GTK+ and so.
From now I have got it, but I have two problems (or more!):
- I draw the icon inside a windows, I did a transparent background, but I don't know how to hide the borders and title bar (I thought about icon inside a windows for more facilities with the events ¿is it a good idea?)
im = Image.open(self.nameicon)
with put_pil_image I don't get transparencies, only works fine with JPGs icons, and I don't understand put_image method.
I suppose really I don't need windows for to have a pixmap on the desktop, but probably I'll have problems with events?. I only need typical icons events.
Thanks a lot for your help.
i am using visual studio 2015 and trying to export data which i am importing through excel by the user selected Excel file. Now the importing part has been successfully completed i am using OLEDB Connection but Stuck in exporting the same data to a new Excel file. tried ...
I am creating a program that when you print an author, you must show all the information of all the books that the author has written. Add a new attribute in the Author class that will be "BooksWriting: List (Book)".
I have expanded the program so that it also ...
I am currently creating a simulation of a pizza ordering system in object oriented program. I have some question. the instruction and guideline is long but I will try and cut it down a lot. the instruction is to create a program that simulate a pizza restaurant using ...