Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-11 Thread Chris Van Bael
the Python provided by Apple, or in Python.org's Python? (I expect the latter since you say 2.5 and 2.6) Thanks for the work, I'll try it out for sure! Chris On Fri, Mar 11, 2011 at 12:45 PM, Anders F Björklund wrote: > Hi, > we needed a simpler way to install PyGTK on Mac OS X, >

Re: [pygtk] TreeView problem, really simple program

2010-02-03 Thread Chris Gonnerman
ewColumn(allflds[i], gtk.CellRendererText(), text=i)) > > namely you forgot to add text=i > Excellent, thanks! Rather stupid of me, eh? -- Chris. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] TreeView problem, really simple program

2010-02-02 Thread Chris Gonnerman
I'm writing a script to scan a folder for files, retrieve the version information via Win32 API calls, and display the results in a sortable list. I've gotten partway into the process (reading the directory and filling in the TreeView with names and blank fields) but the filenames never appear

Re: [pygtk] install in windows

2010-01-03 Thread Chris Van Bael
roduce the strangest errors in my program. And I guess some programs update the GTK runtime environment without me knowing it, which puts PyCairo, PyGObject and PyGTK out of sync. Chris On Sun, Jan 3, 2010 at 3:44 AM, naga raja wrote: > Hi all, > I am new to windows environment.I need to

[pygtk] composite-child

2009-07-24 Thread Chris Camacho
t;.")[-1]!=w.get_name() to see if its part of a widget (so I can ignore it) This only works as the name of these child widget is automatically named with its class BUT I can see this changing and its generally poor practice... TIA Chris ___

Re: [pygtk] OS X Deployment

2009-07-21 Thread Chris Van Bael
On Tue, Jul 21, 2009 at 2:48 PM, Bertrand Kintanar wrote: > On 7/21/09 8:34 PM, Chris Van Bael wrote: > > Hey, > > thanks for the extensive explanation. > One question still: was PyGTK then added to the Python.org's Python? > I had no problems installing PyGTK unde

Re: [pygtk] OS X Deployment

2009-07-21 Thread Chris Van Bael
On Tue, Jul 21, 2009 at 2:29 PM, Bertrand Kintanar wrote: > On 7/21/09 3:19 PM, Chris Van Bael wrote: > > Hi, > > unfortunately I cannot help you, but maybe you can help me ;-) > > I'm still struggling with installing PyGTK on OSX. > Did you use the system's Pyth

Re: [pygtk] OS X Deployment

2009-07-21 Thread Chris Van Bael
Python. Do you know how it can be installed with Python's Python using jhbuild? Thanks, Chris On Mon, Jul 20, 2009 at 6:59 PM, Bertrand Son Kintanar wrote: > Hi List, > > Is there a guide that I can follow on how to deploy my application in an OS > X environment? currently my a

Re: [pygtk] Problem in fetching Unicode from URL and displaying it in PyGTK widget

2009-07-17 Thread Chris Camacho
wrote: > From: Bertrand Kintanar > Subject: Re: [pygtk] Problem in fetching Unicode from URL and displaying it > in PyGTK widget > To: "Chris Camacho" > Date: Friday, 17 July, 2009, 12:59 PM > On 7/17/09 7:53 PM, Chris Camacho > wrote: > > hmmm... &g

[pygtk] warnings from dialog.run in pygtk2-2.14.1

2009-07-15 Thread Chris Rouch
k.WIN_POS_MOUSE) dialog.set_default_response(gtk.RESPONSE_OK) dialog.show_all() response=dialog.run() dialog.destroy() Is this a problem with my code, or a bug in pygtk? Regards, Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo

Re: [pygtk] gtk.TreeModel.iter_children() method, how often should it be called?

2009-06-22 Thread Chris Camacho
e called? > To: "Chris Camacho" > Cc: pygtk@daa.com.au > Date: Saturday, 20 June, 2009, 11:11 PM > I hear you, but I still need a direct > answer to the question, "What > makes the TreeModel stop calling iter_children?  I > can't find a clear > explanatio

Re: [pygtk] gtk.TreeModel.iter_children() method, how often should it be called?

2009-06-18 Thread Chris Camacho
jeeze not being able to just reply is a pain anyhow I looked into using treemodels connecting to databases from what I could tell it seems to initially iterate all items and either copies them or creates meta data about the items (I didnt look into the implementation) Depending on how things

Re: [pygtk] PyGTK on OSX for Python.org Python

2009-06-07 Thread Chris Van Bael
Is there anywhere a guide explaining Python on Leopard, because the more I'm trying to do something, the more I'm getting confused. Thanks for any help, Chris On Mon,, Jun 1, 2009 at 7:09 PM, Arjan Molenaar wrote: > Hi Chris, > > Does a simple "import gtk" work? If not, w

Re: [pygtk] How can I inherit __gsignals__ attribute from a class?

2009-06-02 Thread Chris Camacho
self.__gsignals__= how is it not a class attribute doing that --- On Tue, 2/6/09, Iven Day wrote: > From: Iven Day > Subject: Re: [pygtk] How can I inherit __gsignals__ attribute from a class? > To: "Chris Camacho" > Cc: pygtk@daa.com.au > Date: Tuesday, 2

Re: [pygtk] How can I inherit __gsignals__ attribute from a class?

2009-06-01 Thread Chris Camacho
shouldn't you be setting set __gsignals__ in PluginObject.__init__ ? --- On Mon, 1/6/09, Iven Day wrote: > From: Iven Day > Subject: [pygtk] How can I inherit __gsignals__ attribute from a class? > To: pygtk@daa.com.au > Date: Monday, 1 June, 2009, 4:52 PM > Hi, >     I wrote a parent class l

Re: [pygtk] PyGTK on OSX for Python.org Python

2009-05-31 Thread Chris Van Bael
Hi, nobody has an idea on how to use jhbuild to build GTK+pyGTK for Python.org python iso system Python? Thanks, Chris On Sun, May 17, 2009 at 10:12 PM, Chris Van Bael wrote: > Hi all, > > I'm trying to build an application on OS X. > First I installed Python 2.5 from Pyt

[pygtk] PyGTK on OSX for Python.org Python

2009-05-17 Thread Chris Van Bael
k (most recent call last): File "", line 1, in ImportError: No module named pygame >>> import pygtk So PyGame is in my Python.org Python, but PyGTK is in my System Python and not in my Python.org Python. How can I solve this? Thanks for any help! Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] howto use gnome-db grid with python

2009-04-22 Thread Chris Camacho
This is still at the ugly hack stage! however it does work. In order to wrap the gnome-db components into a complete module I need to be able to interface with pygtk, in this sample I have had resort to using ctypes to interface with gtk (theres no way to create a pygtk widget from existing gtk I

[pygtk] gnome-db and pygtk

2009-04-21 Thread Chris Camacho
I've used ctypes with xlib before and its a really nice system for using C libs So I thought I'd look and the gnome-db library (i have the connection dialog working and seem to be making a data model ok...) however I'm having trouble using ctypes along side pygtk take this C code     grid

[pygtk] automagical glade

2009-04-14 Thread Chris Camacho
I've seen a lot of code with reams of variable=xml.get_widget statements and manually updated dictionaries of handler functions all of which is deeply unsatisfying, inelegant and prone to error Taking inspiration from a number of sources I have pieced together a very simple and short framework whi

[pygtk] treeview(list) model for large data sets

2009-03-14 Thread Chris Camacho
ed for the current window of view Ideally I'd like to cache rows in a kind of first in last out buffer, the oldest rows being released in favour of the new rows as the view scrolls. Any ideas? Thanks Chris    ___ pygtk mailing list p

Re: [pygtk] passing gtk image or pixbuf to C

2009-02-28 Thread Chris Camacho
pygtk@daa.com.au > Date: Saturday, 28 February, 2009, 2:52 PM > On Sat, Feb 28, 2009 at 12:27 PM, Chris Camacho > wrote: > > > whats the correct way to pass a gtkwidget to C ? > > &PyGtkWidget_Type, &py_widget > > cheers > -- > Gian M

[pygtk] passing gtk image or pixbuf to C

2009-02-28 Thread Chris Camacho
so far I have static PyObject* pyexttest_update(PyObject *self, PyObject *args) { guchar * pixels; PyGObject *py_widget; GtkWidget *widget; PyTypeObject *pytype; if (!PyArg_ParseTuple(args, "O!", &pytype,&py_widget))

Re: [pygtk] PyGTK on Win98 and OSX

2009-01-28 Thread Chris Van Bael
On Wed, Jan 28, 2009 at 1:09 PM, Marcus Vinicius Eiffle Duarte wrote: > > Hi, Chris! > >> >> >> Other question: >> I downloaded GTK+ for OSX from here: http://www.gtk-osx.org/ >> However, where can I find a suitable PyGTK for it? >> Or how can I deve

[pygtk] PyGTK on Win98 and OSX

2009-01-28 Thread Chris Van Bael
PyGTK for it? Or how can I develop for GTK with Python on OSX? Thanks for the help, Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] Change the appearance for all labels in a glade file

2008-10-07 Thread Chris Cole
s_here") 3. for i in widget_list: i.set_some_property_of_each_widget() Or, maybe a better alternative would be to use rc files. Depends on what you are trying to do. Hope this helps. Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au

Re: [pygtk] buttons like the ones in Brasero 0.7.1

2008-07-12 Thread Chris Cole
I think you'll need a gtk.eventbox -- check this out: http://www.pygtk.org/docs/pygtk/class-gtkeventbox.html#method-gtkeventbox--set-visible-window Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Rea

[pygtk] combobox question

2008-07-01 Thread Chris Cole
Hey all, I have a simple combobox that i've created with glade. I was just wondering if i could set the sensitivity of the individual elements in the combobox? like setting a widget set_sensitive(False) ? Thanks, Chris ___ pygtk mailing list

[pygtk] py2exe and pygtk issues

2008-05-04 Thread Chris Cole
;gtk/lib;gtk/bin' - putting lib, bin, share, etc. into dist/ but none of these work. It always fails on import gtk -- i've spent the last couple hours racking my brain (and google) and I can't figure it out. Any suggestions? Thanks, Chris # setup.py from distutils.core import

Re: [pygtk] dialog popup under mouse

2008-01-08 Thread Chris Cole
> pygtk mailing list pygtk@daa.com.au > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ All you should need is the following: dialog.set_position(gtk.WIN_POS_MOUSE) Chris _

Re: [pygtk] drawing refresh?

2007-12-09 Thread Chris Cole
Marco Antonio Islas Cruz wrote: Connect the 'expose-event' signal to a callback where you can make the pixbuf drawing. This will make a redraw of the pixmap every time the widget have to be redraw. cheers Hey! Thanks, worked like a cha

[pygtk] drawing refresh?

2007-12-09 Thread Chris Cole
= gtk.gdk.pixbuf_new_from_file('foo.bmp') widget.window.draw_pixbuf(None, pxbuf, 0, 0, 100, 100) but shortly after disappears...How do I get it to stick around? Thanks, Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailma

[pygtk] rc file discrepancy/bug?

2007-11-27 Thread Chris Cole
eally obvious or is this a bug? Thanks, Chris style "button-style" { bg[NORMAL] = { 1.0, 0, 0 } } widget "window.*.GtkButton" style "button-style" test.glade Description: application/glade #!/usr/bin/python import gtk, gtk.glade, sys gtk.rc_parse('rc&#

Re: [pygtk] rc file woes

2007-11-26 Thread Chris Cole
dget--modify-bg Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] rc file woes

2007-11-26 Thread Chris Cole
Augusto Roccasalva wrote: El día Sun, 25 Nov 2007 12:17:38 -0500 Chris Cole <[EMAIL PROTECTED]> escribió: Hey all, I'm trying to set the background color of a button to red using rc files, but am running into some problems. Here's what I have in the rc file: style "b

[pygtk] rc file woes

2007-11-25 Thread Chris Cole
#x27;rc') w = gtk.Window() b = gtk.Button('foo') b.set_name('button') w.add(b) w.set_size_request(300,300) w.show_all() try: gtk.main() except KeyboardInterrupt: sys.exit(0) Thanks, Chris ___ pygtk mailing lis

Re: [pygtk] Display PostScript files in PyGTK without conversion?

2007-11-06 Thread Chris Cole
ment inside a gtk widget. I'm starting to believe it's not possible with the current API? Also, I know there are the python poppler bindings in their infancy in launchpad, but unfortunately i'm stuck running feisty I'm fairly sure they're for gutsy. Chris ___

Re: [pygtk] Display PostScript files in PyGTK without conversion?

2007-11-06 Thread Chris Cole
. I'm guessing you have to use a gtk.DrawingArea or something like that but I haven't been able to figure it out... Any help would be greatly appreciated. Thanks, Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] treeview expander question

2007-11-02 Thread Chris Cole
Hello all, I'm writing a touchscreen app. and I have columns in my treeview that use expanders...is there anyway you can get the expander columns to expand/collapse by clicking the entire cell and not just the little arrow? Thanks, Chris ___

Re: [pygtk] Problems printing in Win32.

2007-10-16 Thread Chris Gonnerman
I have written some substantial PyGTK programs for one of my customers, but I don't use the PyGTK printing method. Instead, I wrote a module, MSWinPrint.py, which I use when I must print to Windows printers. http://newcenturycomputers.net/projects/mswinprint.html Hope this helps. --

Re: [pygtk] popups in fullscreen apps

2007-09-15 Thread Chris Cole
Chris Cole wrote: Elijah Newren wrote: On 8/17/07, Chris Cole <[EMAIL PROTECTED]> wrote: Right. When I make the popup window as "normal" and set it transient to the fullscreen window it gets hidden, and although it is selectable via alt+tab, you can't bring it to the to

[pygtk] quick entry question

2007-08-21 Thread Chris Cole
Hey all, does anyone know of a way to not show a cursor when a user clicks on a gtkEntry? Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] popups in fullscreen apps

2007-08-17 Thread Chris Cole
Elijah Newren wrote: On 8/17/07, Chris Cole <[EMAIL PROTECTED]> wrote: Right. When I make the popup window as "normal" and set it transient to the fullscreen window it gets hidden, and although it is selectable via alt+tab, you can't bring it to the top of the window s

Re: [pygtk] popups in fullscreen apps

2007-08-17 Thread Chris Cole
Elijah Newren wrote: On 8/16/07, Chris Cole <[EMAIL PROTECTED]> wrote: Elijah Newren wrote: On 8/16/07, Chris Cole <[EMAIL PROTECTED]> wrote: Hello all, I'm writing a fullscreen app in which I have a popup(type hint set in glade) gtkWindow coming up on top of a fullscreen

Re: [pygtk] popups in fullscreen apps

2007-08-16 Thread Chris Cole
Elijah Newren wrote: On 8/16/07, Chris Cole <[EMAIL PROTECTED]> wrote: Hello all, I'm writing a fullscreen app in which I have a popup(type hint set in glade) gtkWindow coming up on top of a fullscreen window asking for user input in a gtkEntry. It seems that whenever I have the popu

[pygtk] popups in fullscreen apps

2007-08-16 Thread Chris Cole
e the type hint off, my gnome-panel jumps in front of the fullscreen window--I'm quite confused as to what to do. Any suggestions from the gurus? Thanks in advance, -Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/list

[pygtk] gtk.drawingarea troubles

2007-07-12 Thread Chris Cole
Hey all, I'm trying to draw a simple image(pixbuf) onto a gtk.drawingarea in the upper left corner, but I can't get even get my white background to show up...I'm not sure what I'm doing wrong - here's my code: draw_area = self.wTree.get_widget('draw_area') draw_area.set_size_req

Re: [pygtk] Close/hide a child window

2007-06-30 Thread Chris Cole
Cubells, here would be an acceptable second.py with minimal changes made: #/usr/bin/env python # -*- coding: utf-8 -*- import pygtk pygtk.require('2.0') import gtk class second(gtk.Window): def close_second(self,widget): self.window2.destroy() def __init__(self, parent=None):

Re: [pygtk] image and text in button

2007-01-22 Thread Chris Lambacher
t stock icon search list by calling gtk.IconFactory.add_default (see http://pygtk.org/docs/pygtk/class-gtkiconfactory.html). This has the added advantage that you integrate nicely with UIManager for creating toolbars and menus. -Chris > > -- > Yann > import gtk > >

Re: Re: [pygtk] Liststore model

2007-01-12 Thread Chris Lambacher
; > Can you give me some code that shows the way of doing it. I tried to generate > a basic gtk.ListStore(int) model, then appending further columns, but I could > get it work. > > If I solve this problem, I would make a little tutorial about this, maybe > some

Re: [pygtk] Setting application name in pygtk?

2006-11-07 Thread Chris Lambacher
use dotted names (i.e. 'python -m orca.orca') was added in python 2.5. Python 2.4 only allowed the use of top level modules (i.e. undotted module names). -Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] More Help: Problems with the solution to: threads and pygtk

2006-10-06 Thread Chris Lambacher
ng to this is triggering the automatic case of garbage collection. -Chris > -DavidV > > Stephen Langer wrote: > > > >On Oct 5, 2006, at 5:30 PM, David Hirschfield wrote: > > > >>Here's the issue now: I don't know much about how the garbage > >>coll

Re: [pygtk] image manipulation

2006-09-08 Thread Chris Lambacher
On Fri, Sep 08, 2006 at 02:32:25PM -0300, Rodrigo Renie Braga wrote: >ok, i'm doing some tests here with Numeric, and it seems that the >gtk.gdk.Pixbuf.get_pixels_array() returns an (Numeric) array with the >following shape: (w, h, 3), meaning a matrix with a dimension of WxHx3 ... > >

Re: [pygtk] image manipulation

2006-09-08 Thread Chris Lambacher
access to manipulate the pixbuf data as a Numeric array. If you are displaying the data using a gtk.Image, just call gtk.Image.queue_draw() after you change the Numeric array. -Chris On Fri, Sep 08, 2006 at 11:44:43AM -0300, Rodrigo Renie Braga wrote: >Hello list > >I would like t

[pygtk] ZODB TreeModel

2006-08-02 Thread Chris S
es the model require that everything exist in memory? Can anyone suggest how I should implement this model? Thanks, Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Simple On-Screen Keyboard: Docked like panel

2006-06-26 Thread Chris Jones
n top, but other windows still maximise over it. Does anyone know the proper way to achieve this? Tarballs of the project are available here: https://wiki.ubuntu.com/Accessibility/Projects/SOK/dev Comments, code, tips and feature requests welcome. -- Chris Jones jabber - [EMAIL PROTECTED] ms

Re: [pygtk] Functional/Acceptance Testing Using guitest

2006-05-25 Thread Chris Lambacher
tton) == gtk.Button This will work for Baiju's purposes but isinstance would also allow him to accept anything that inherits from gtk.Button (currently that means gtk.ColorButton, gtk.FontButton, gtk.ToggleButton, gtk.CheckButton, gtk.RadioButton)

Re: [pygtk] Display tooltips in status bar

2006-05-13 Thread Chris Lambacher
On Sat, May 13, 2006 at 12:23:19PM +0200, Jarek Zgoda wrote: > It requires using uimanager, which is complicated for me. ;) uimanager is not hard. It just takes a bit of time to get the pieces you need sorted out. Once you have that, it is the easiest thing going for menus and toolbars. > > Any

[pygtk] dialogs, sys.excepthook and gobject.add_idle

2006-04-17 Thread Chris Lambacher
base is known to work with pygtk 2.4 and gtk 2.4. Anyone have any ideas? Thanks, Chris import pygtk import gobject import gtk, sys, traceback gtk.threads_init() def top_level_error_dialog(tracelines): # display an error message md = gtk.MessageDialog(buttons=gtk.BUTTONS_OK, message_format

Re: [pygtk] Packaging PyGTK applications for Windows

2006-03-22 Thread Chris Lambacher
set some relevant environment variables (PATH, GTK_BASEPATH). We probably ship more of GTK than we actually need. The part that seems to take the most space (asside from the .dlls themselves) is the .mo translation files. This approach was based on information I got from the

[pygtk] Generating Keyboard Events

2006-03-14 Thread Chris Gonnerman
r creating synthetic keyboard events. Anybody? -- Chris. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Win32 file chooser

2006-03-09 Thread Chris Lambacher
since you can set the parent window. The MCF wrapped version requires you to provide a MFC window as the parent. You need to set the hwndOwner parameter of GetSaveFileNameW or GetOpenFileNameW to gtk_parent_window.window.handle -Chris ___ pygtk

Re: [pygtk] Win32 file chooser

2006-03-06 Thread Chris Lambacher
I use MFC CreateFileDialog provided by win32ui in win32all. Here is something that works on win2k and XP for sure: filtertypes = [('All Font Files (*.ttf, *.otf, *.pfm)', ('*.ttf','*.otf', '*.pfm')), ('True Type Font Files (*.ttf)', ('*.ttf',)),

Re: [pygtk] gtk.Entry / gtk.Completion behavior -- can I change it?

2006-03-04 Thread Chris Gonnerman
d events. And, of course, there's always the possibility that this kind of arrangement might backfire on me... I'm a 20+ year pro at console applications but I've only been doing GUI stuff for a handful of years. Thanks for your advice. -- Chris. _

[pygtk] gtk.Entry / gtk.Completion behavior -- can I change it?

2006-03-02 Thread Chris Gonnerman
igure out any reasonable way to change this behavior. Have I missed something? -- Chris. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Threads Not Starting

2005-11-20 Thread Chris Spencer
A lot of threaded code I have simply doesn't work with PyGTK. Calling Thread.start() never executes the target. Is there any way around this? In the trivial example below, the functions never print anything: #!/usr/bin/python import sys, os import threading import pygtk pygtk.require("2.0")

Re: [pygtk] Best way to check program idle time??

2005-11-11 Thread Chris Irish
Steve McClure wrote: On Fri, 2005-11-11 at 10:26 -0700, Chris Irish wrote: Steve McClure wrote: On Fri, 2005-11-11 at 09:36 -0700, Chris Irish wrote: If I have a pygtk app and I want it to do something if its been sitting idle for a few

Re: [pygtk] Best way to check program idle time??

2005-11-11 Thread Chris Irish
Steve McClure wrote: On Fri, 2005-11-11 at 09:36 -0700, Chris Irish wrote: If I have a pygtk app and I want it to do something if its been sitting idle for a few minutes. What is the best way to go about this? It seems to me that I would need a timer that would be reset

[pygtk] Best way to check program idle time??

2005-11-11 Thread Chris Irish
need every signal emitted to call a timer reset method AND the method to perform its usual action? How would i keep the timer incrementing after I left the method? Thanks, Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman

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

2005-11-09 Thread Chris Irish
, 'play.exe') Can you only run python scripts from a python program? Or am I missing something? Thanks in advance. Chris :P ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] What widgets support Pango markup?

2005-11-01 Thread Chris Irish
7;t found anything on changing the font size. I'd like to use the Pango markup but it really doesn't matter. Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Looking for examples of gtkmozembed widget

2005-11-01 Thread Chris Irish
Gian Mario Tagliaretti wrote: 2005/11/2, David Johansson <[EMAIL PROTECTED]>: have you seen the articles over at pygtk.org? http://www.pygtk.org/articles.html If you are looking for the API they are on pygtk.org site as well http://www.pygtk.org/reference.html cheers -

[pygtk] Looking for examples of gtkmozembed widget

2005-11-01 Thread Chris Irish
Can anyone point me to some documentation and/or examples of using the gtkmozembed widget? I can't find anything at the gnome site. Thanks, Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGT

Re: [pygtk] delete-event with multiple windows from different classes???

2005-10-20 Thread Chris Irish
window2(), window3()) foo.connect("delete-event", self.DeleteAllWindows) def DeleteAllWindows(self, widget): for w in windowlist: w.delete() Am I misunderstanding what you're asking? :) On Thu, 2005-10-20 at 09:43 -0700, Chris Irish wrote: Hi all, Let me setup my questi

[pygtk] delete-event with multiple windows from different classes???

2005-10-20 Thread Chris Irish
ample, how can I have all the windows close and the main loop quit by closing one of the imported windows? Right now when I close a window, just that window closes but the rest of the program keeps going. Thanks in advance for any help, Chris ___

[pygtk] Re: Glade Application Examples?

2005-10-14 Thread Chris Spencer
Steve McClure wrote: On Fri, 2005-10-14 at 01:25 -0400, Chris Spencer wrote: I've been using Glade to design some Gnome applications. However, I've been having an extremely difficult time trying to load the glade file with pyGTK. The few examples I've found only cover extre

[pygtk] Glade Application Examples?

2005-10-13 Thread Chris Spencer
es, or better yet, a Python code generator for glade files? I've found glc and gladepyc, but they both appear to be dead projects. Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Can you pass extra parameters with gtk/glade autoconnect??

2005-10-11 Thread Chris Irish
Chris Irish wrote: I read in the FAQs that you can pass xtra args when doing signal connects manually (through the 3rd arg of .connect) Is there a way to do the same but with the signal autoconnect method when you're using a glade file? Thanks for any

[pygtk] Can you pass extra parameters with gtk/glade autoconnect??

2005-10-10 Thread Chris Irish
I read in the FAQs that you can pass xtra args when doing signal connects manually (through the 3rd arg of .connect) Is there a way to do the same but with the signal autoconnect method when you're using a glade file? Thanks for any info ___ pygtk m

Re: [pygtk] gconf reference

2005-09-19 Thread Chris Hoefler
/gnome-python/gnome-python/examples/gconf/ -Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] question about tab orders and glade

2005-09-18 Thread Chris Lambacher
The op I think was referring to the focus order when tabbing between controls. The fucntion you are looking for is gtk.Container.set_focus_chain http://www.pygtk.org/pygtk2reference/class-gtkcontainer.html#method-gtkcontainer--set-focus-chain -Chris On Sat, Sep 17, 2005 at 12:49:26AM +0300

[pygtk] gobject properties in pygtk 2.8

2005-09-12 Thread Chris Hoefler
an't figure out where or if it is used. Any help would be much appreciated. -Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Printing on win32...

2005-09-08 Thread Chris Lambacher
Windows does not have any native SVG support so trying the ShellExecute trick is not likely to work unless you have the Adobe viewer installed. Generate a PNG instead of an SVG and you will be able to use the PIL + win32all method. -Chris On Thu, Sep 08, 2005 at 07:49:53PM +0200, Rob Marino

Re: [pygtk] Printing on win32...

2005-09-08 Thread Chris Lambacher
ase let me know how so that I can do it too :) -Chris On Thu, Sep 08, 2005 at 07:04:25PM +0200, Rob Marino wrote: > Hi. > > Does anyone know of a convenient pythonic way to print svg files on win32? > > Rob M. > ___ > pygtk mailing

[pygtk] GnomeCanvas Anti-aliasing Gone?

2005-08-25 Thread Chris Spencer
Chris Spencer wrote: Is there a way to make the canvas use anti-alaising? Neither of those examples seem to make use of it. The C docs mention gnome_canvas_new_aa(), but I can find no similar function or attribute in the gnomecanvas module. The doc string for the Canvas class lists an &#x

Re: [pygtk] GnomeCanvas Example?

2005-08-23 Thread Chris Spencer
Gian Mario Tagliaretti wrote: Hi Chris, For API docs you should refer to the C ones, two examples are included in gnome-python package: http://cvs.gnome.org/viewcvs/gnome-python/gnome-python/examples/canvas/canvas-example.py?view=markup http://cvs.gnome.org/viewcvs/gnome-python/gnome-python

Re: [pygtk] GnomeCanvas Example?

2005-08-23 Thread Chris Spencer
Gian Mario Tagliaretti wrote: Hi Chris, For API docs you should refer to the C ones, two examples are included in gnome-python package: http://cvs.gnome.org/viewcvs/gnome-python/gnome-python/examples/canvas/canvas-example.py?view=markup http://cvs.gnome.org/viewcvs/gnome-python/gnome-python

[pygtk] GTK+2.8 and Cairo

2005-08-22 Thread Chris Spencer
illustrating the new vector graphics support? PyCairo has some, but they're fairly limited when it comes to interactive widgets. Sincerely, Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGT

[pygtk] GnomeCanvas Example?

2005-08-22 Thread Chris Spencer
e any example python code out there, or docs for the python api? Thanks, Chris ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] passing event handling to parent widget

2005-08-12 Thread Chris Lambacher
AccelGroup: http://www.pygtk.org/pygtk2reference/class-gtkaccelgroup.html If you are using UIManager to create your toolbar and menus, it allows you to define an accelerator key as well. -Chris On Fri, Aug 12, 2005 at 08:33:09AM +, Vinay Reddy wrote: > Hi, > I have a menu in my

Re: Fwd: [pygtk] Re: UIManager toolbar stock image size

2005-08-11 Thread Chris Lambacher
-gtkrcstyle.html http://pygtk.org/pygtk2reference/class-gtkstyle.html -Chris On Thu, Aug 11, 2005 at 05:47:56PM +, Vinay Reddy wrote: > > Its depricated because you are supposed to use themes to set sizes. If you > > override the themes you will not get a consistant look and feel. > >

Re: Fwd: [pygtk] Re: UIManager toolbar stock image size

2005-08-11 Thread Chris Lambacher
Its depricated because you are supposed to use themes to set sizes. If you override the themes you will not get a consistant look and feel. -Chris On Thu, Aug 11, 2005 at 02:34:34PM +, Vinay Reddy wrote: > > the size can be set with: > > http://www.pygtk.org/pygtk2ref

Re: [pygtk] Re: UIManager toolbar stock image size

2005-08-09 Thread Chris Lambacher
The image size is determined by gtk theme. There is a depricated toolbar method which sets the size. I think there are some hoops you can jump through to modify the theme settings, but I am not sure how to do that. -Chris On Tue, Aug 09, 2005 at 03:19:59PM +, Vinay Reddy wrote: > &

Re: [pygtk] Gtk.Image unused widget space size

2005-07-22 Thread Chris Lambacher
Sorry forgot reply to the list. -Chris - Forwarded message from Chris Lambacher <[EMAIL PROTECTED]> - Date: Thu, 21 Jul 2005 23:13:20 -0400 From: Chris Lambacher <[EMAIL PROTECTED]> To: mammique <[EMAIL PROTECTED]> Subject: Re: [pygtk] Gtk.Image unused widget space s

Re: [pygtk] Themes and Stand Alone GTK

2005-07-19 Thread Chris Lambacher
On Tue, Jul 19, 2005 at 05:20:48AM -0300, Jose de Paula Eufrasio Junior wrote: > Hello there. > > Two simple questions: > > 1) There's a way to set the theme that an app will use, without > setting it globally or for the user? Like, just that app will use a > different theme... > > 2) Using Pyth

Re: [pygtk] FAQ Entry 20.6 looks wrong to me.

2005-06-22 Thread Chris Lambacher
. I always put it in because it has never broken anything and I don't want to mess with success. I personally think it is a clean separation to have UI code in one thread and processing code in another and would do things like that on Unix even if I was never intending to port the app to

Re: [pygtk] FAQ Entry 20.6 looks wrong to me.

2005-06-17 Thread Chris Lambacher
On 6/17/05, Antoon Pardon <[EMAIL PROTECTED]> wrote: > On Thu, Jun 16, 2005 at 01:36:15PM -0400, Chris Lambacher wrote: > > On 6/16/05, Antoon Pardon <[EMAIL PROTECTED]> wrote: > > > On Sun, Jun 12, 2005 at 10:19:03PM -0400, John K Luebs wrote: > > > >

Re: [pygtk] FAQ Entry 20.6 looks wrong to me.

2005-06-16 Thread Chris Lambacher
On 6/16/05, Antoon Pardon <[EMAIL PROTECTED]> wrote: > On Sun, Jun 12, 2005 at 10:19:03PM -0400, John K Luebs wrote: > > On Wed, Jun 08, 2005 at 01:53:37PM +0200, Antoon Pardon wrote: > > > > > > | John K. Luebs reminds you: *don't forget gtk.threads_enter() and > > > | gtk.threads_leave()* around

Re: [pygtk] Application crashes when appending text to gtk.ComboBox while it got the focus (MS Windows)

2005-06-14 Thread Chris Lambacher
list archives. There was an extensive discussion about this a month or so ago. It seems to come up every couple of months. -Chris On 6/14/05, C. Schmitt <[EMAIL PROTECTED]> wrote: > Hello! > > I'm trying to solve this problem for a few days now and havent found any > s

Re: [pygtk] Best way to build in Printing support for Win32 and Linux

2005-06-13 Thread Chris Lambacher
I use the PIL and win32ui method from: http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html What I want to print is already an image so that works well for me. It is getting print dialogs to do page setup and printer selection that I have not gotten to work yet. -Chris On 6/13/05

  1   2   3   >