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.
Hi when I tried to insert my output the void displayed null or 0 can you tell me what's wrong with my rpogram? tnx
My main program
int choice; public static void main(String args) Scanner absorb = new Scanner(System.in); // phase 1 login cloth cl = new ...
i am trying to create a library management system which is supposed to be used to store/keep infp for the library and the library members( book title, author, name and picture for borrower and other stuffs). The app has 6 buttons, delete, save, add,previsous,next, and upload( for upload ...
Im trying to bind my custom vertical scrollbar to datagridview is this possible.. Please help Thnak you..