[pygtk] calling a program from a program

2005-11-09 Thread nephish
Hey there, i have a program that calls another program to execute on a button click. Its another pygtk app. And i am using the os.system('python /home/my/myprogram.py') to bring it up. It comes up ok, but when i close its window, the program that called it up is locked up. Um, what could

[pygtk] segfault on extension code on solaris

2005-11-09 Thread John Hunter
I have some extension code that uses a gtk.gdk.Pixmap object (GdkPixmap) passed from the python layer I'm using pycxx and args[0].ptr() is the PyObject pointer to the pixmap object. PyGObject *py_drawable = (PyGObject *)(args[0].ptr()); GdkDrawable *drawable =

[pygtk] trying to launch a pygame app from within my gtk app

2005-11-09 Thread Chris Irish
Does anyone have experience launching a executeable on a windows box from within there GTK app? I made a GUI app with pyGTK that I want to be able to launch a game I've downloaded from the pygame website when a button is clicked. I was able to do this on a linux box since the file was a .py

Re: [pygtk] calling a program from a program

2005-11-09 Thread David Ripton
On 2005.11.09 08:18:58 -0600, nephish wrote: i have a program that calls another program to execute on a button click. Its another pygtk app. And i am using the os.system('python /home/my/myprogram.py') to bring it up. It comes up ok, but when i close its window, the program that called

Re: [pygtk] trying to launch a pygame app from within my gtk app

2005-11-09 Thread David Ripton
On 2005.11.09 11:55:32 -0700, Chris Irish wrote: Does anyone have experience launching a executeable on a windows box from within there GTK app? I made a GUI app with pyGTK that I want to be able to launch a game I've downloaded from the pygame website when a button is clicked. I was able

Re: [pygtk] trying to launch a pygame app from within my gtk app

2005-11-09 Thread nephish
thanks gents, i am using linux. and i have been trying to get the spawn command to work. in the docs, i dont understand what is ment by args, i dont really have any args to pass. i tried like this os.spawnl(os.P_NOWAIT, '/path/to/program.py') and it doesnt act like anything is actually

[pygtk] Wrong start of week in gtk.Calendar

2005-11-09 Thread Gary Jaffe
I would like a calendar with the weeks starting with Sunday. I made the following calendar, but the weeks start on Monday. self.clndr = gtk.Calendar() self.clndr.set_display_options( gtk.CALENDAR_SHOW_HEADING | gtk.CALENDAR_SHOW_DAY_NAMES | (~gtk.CALENDAR_NO_MONTH_CHANGE

Re: [pygtk] trying to launch a pygame app from within my gtk app

2005-11-09 Thread dannym
Hi, Am Mittwoch, den 09.11.2005, 13:25 -0600 schrieb nephish: thanks gents, i am using linux. and i have been trying to get the spawn command to work. in the docs, i dont understand what is ment by args, i dont really have any args to pass. Most programs expect their own full path as the

[pygtk] ANNOUNCE: Scribes Version 0.2.1

2005-11-09 Thread Mystilleef
Scribes is the simple, slim and sleek text editor for GNOME. Editing text files with Scribes is fun and hassle-free. Scribes allows you to focus entirely on your tasks. It ensures monotonous operations, such as saving your files regularly, are handled automatically and properly. In addition,

Re: [pygtk] trying to launch a pygame app from within my gtk app

2005-11-09 Thread nephish
Thanks Danny, i took notes from your messages, and i will test them when i get into the office tomorrow. i hadn't used the in the os.system line. i guess it works kinda like the bash ? (although, i am even less familliar with that) So, i will try out your suggestions in the morning, and let you

Re: [pygtk] ANNOUNCE: Scribes Version 0.2.1

2005-11-09 Thread Andrew Conkling
On 11/9/05, Mystilleef [EMAIL PROTECTED] wrote: Download: http://scribes.sourceforge.net/download.html Screenshot: http://scribes.sourceforge.net/screenshot.html Home Page: http://scribes.sourceforge.net/index.html As usual, you can find an Arch PKGBUILD here:

Re: [pygtk] calling a program from a program

2005-11-09 Thread Paul Malherbe
nephish wrote: Hey there, i have a program that calls another program to execute on a button click. Its another pygtk app. And i am using the os.system('python /home/my/myprogram.py') to bring it up. It comes up ok, but when i close its window, the program that called it up is locked