|
|
2008-07-12
, 03:41
|
|
Posts: 155 |
Thanked: 69 times |
Joined on Apr 2008
|
#2
|
|
|
2008-07-12
, 04:35
|
|
|
Posts: 4,707 |
Thanked: 4,643 times |
Joined on Oct 2007
@ Bulgaria
|
#3
|
|
|
2008-07-12
, 05:14
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#4
|
|
|
2008-07-12
, 05:22
|
|
|
Posts: 4,707 |
Thanked: 4,643 times |
Joined on Oct 2007
@ Bulgaria
|
#5
|
|
|
2008-07-12
, 05:43
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#6
|
/usr/bin/openhostwin.py IceWM "Please log out of IceWM before closing this window."
| The Following User Says Thank You to qole For This Useful Post: | ||
|
|
2008-07-12
, 07:26
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#7
|
|
|
2008-07-12
, 09:40
|
|
|
Posts: 4,707 |
Thanked: 4,643 times |
Joined on Oct 2007
@ Bulgaria
|
#8
|
| The Following User Says Thank You to Bundyo For This Useful Post: | ||
|
|
2008-07-12
, 11:32
|
|
|
Posts: 4,707 |
Thanked: 4,643 times |
Joined on Oct 2007
@ Bulgaria
|
#9
|
| The Following User Says Thank You to Bundyo For This Useful Post: | ||
|
|
2008-07-12
, 16:12
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#10
|
I wrote a tiny Python app to open a window and put some text in it. But because it is in Python, I need to depend on Python for my package, which otherwise wouldn't have any dependencies.
Could someone write a small compiled program (in C or something) that uses the stock libraries to do the same thing?
Here's the Python code. I mostly ripped it off from the Maemo Python tutorial. It should be very obvious what I want, and I can't imagine it is difficult for any C programmer to whip something up.
#!/usr/bin/env python2.5 import gtk import sys wmname = sys.argv[1] exttxt = sys.argv[2] window = gtk.Window(gtk.WINDOW_TOPLEVEL) window.set_title (wmname) window.connect("destroy", gtk.main_quit) label1 = gtk.Label("This is the "+wmname+" host window.\n"+exttxt) window.add(label1) window.show_all () gtk.main()qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!