Re: [pygtk] Attempting modal window in win32

2008-07-09 Thread Dave Aitel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a consistent problem with a threaded pyGTK program that freezes when dialog boxes are displayed on various Linux platforms. Likewise I also often get a case where a dialog box displays, but the borders around it do not display. I've been trying

[pygtk] gtksourceview bindings for win32

2008-07-09 Thread Jason Day
Are there any pre-built python bindings for gtksourceview available on windows? I've got gtksourceview installed but the python bindings are part of the gnome-python-desktop package, and it hasn't been a pleasant experience trying to build that. So, has anyone already successfully built this on

[pygtk] simple treeview and glade problem

2008-07-09 Thread Fabian Braennstroem
Hi, I am having a simple problem with a glade created treeview. I try to display some lines from a file: self.bibtex_list= gtk.ListStore(str) self.bib_treeview=self.get_widget(treeview1) categ_liste=[] print self.bibtex_list for line in

Re: [pygtk] Expected Behaviour of gnomevfs.XFER_NEW_UNIQUE_DIRECTORY

2008-07-09 Thread Alexander Larsson
On Mon, 2007-04-23 at 17:51 +0200, Gian Mario Tagliaretti wrote: 2007/4/23, John Stowers [EMAIL PROTECTED]: Hi John, I am trying to copy files using gnomevfs using xfer_uri I am unable to perform a copy from foo/file1 to foo/bar/file1 without first creating the bar directory.

[pygtk] h2defs.py + GDA problem

2008-07-09 Thread Carlos Savoretti
Hi all! I'm trying to wrap GDA and I've a problem with h2defs.py. It could be a simple one but I can't solve it. - typedef struct _GdaCommand GdaCommand; struct _GdaCommand { gchar *text; GdaCommandType type;

[pygtk] How do I get the previous gtk.TreeIter in a TreeModel?

2008-07-09 Thread Rich Burridge
Hi, Hopefully I'm missing something obvious. Given a gtk.TreeIter in a gtk.TreeModel, from: http://www.pygtk.org/docs/pygtk/class-gtktreemodel.html#method-gtktreemodel--iter-next I can see how to get the gtk.TreeIter pointing to the next row. But how to I get a gtk.TreeIter pointing to the

[pygtk] Glade + Gtk question...

2008-07-09 Thread cucap
Hello everyone, I'm new to DaniWeb and a sort of beginner at Python. I've created a GUI in Python using Glade and GTK and I have two questions. I'm having trouble with comboboxes. Particularly with entering data into a combo box from Python. I've tried the following myCombo =

[pygtk] TreeView reorderable

2008-07-09 Thread Seltzer
Hi, I have a tree view which contains a list of media items to be played, and some information about them. I would like to be able to let the user re-order this list, but if i just use set_reorderable(True) than they can actually drop one item onto another, and make the dropped item the child of

[pygtk] Runtime Updation of GUI

2008-07-09 Thread satyadev yalavarthy
I am doing a project on Network speed meter, I am running a thread for capturing packets from device of single system, I had created GUI with pygtk , when i captured a packet this is not updating to the GUI at run time ... when i am closing application my thread is completing its work.. when my

Re: [pygtk] Re: unknown freeze bug

2008-07-09 Thread Dave Aitel
For what it's worth, I have similar, very strange race-condition-like behavior with pop-up dialogs that results in application freezing as well. I can't quite track down what the problem is either. : -dave Seltzer wrote: Update: its only the treeviews that are becoming non responsive, along

[pygtk] Re: Fwd: gtk+ API change; who should fix it? (A.k.a. Why isn't GNOME 2.19.4 released yet?)

2008-07-09 Thread Tim Janik
On Fri, 22 Jun 2007, Murray Cumming wrote: On Fri, 2007-06-22 at 10:27 +0200, Tim Janik wrote: b) GtkTooltips is going to be deprecated in 2.12 anyways, so there is little use in continuing to use it anyway. c) note that the actual compilation changes could easily be ironed out by

[pygtk] Re: Fwd: gtk+ API change; who should fix it? (A.k.a. Why isn't GNOME 2.19.4 released yet?)

2008-07-09 Thread Tim Janik
On Thu, 21 Jun 2007, Elijah Newren wrote: Just realized that pygtk and gtk-devel-list subscribers may not be on d-d-l. So I'm forwarding this. See http://mail.gnome.org/archives/desktop-devel-list/2007-June/msg00109.html for the thread and discussion. Please jump in. -- Forwarded

[pygtk] Re: Fwd: gtk+ API change; who should fix it? (A.k.a. Why isn't GNOME 2.19.4 released yet?)

2008-07-09 Thread Tim Janik
On Fri, 22 Jun 2007, Murray Cumming wrote: On Fri, 2007-06-22 at 10:46 +0200, Tim Janik wrote: On Fri, 22 Jun 2007, Murray Cumming wrote: On Fri, 2007-06-22 at 10:27 +0200, Tim Janik wrote: b) GtkTooltips is going to be deprecated in 2.12 anyways, so there is little use in continuing

[pygtk] Re: Fwd: gtk+ API change; who should fix it? (A.k.a. Why isn't GNOME 2.19.4 released yet?)

2008-07-09 Thread Tim Janik
On Fri, 22 Jun 2007, Murray Cumming wrote: On Fri, 2007-06-22 at 11:03 +0200, Tim Janik wrote: On Fri, 22 Jun 2007, Murray Cumming wrote: On Fri, 2007-06-22 at 10:46 +0200, Tim Janik wrote: On Fri, 22 Jun 2007, Murray Cumming wrote: On Fri, 2007-06-22 at 10:27 +0200, Tim Janik wrote:

Re: [pygtk] positional and keyword parameters

2008-07-09 Thread Jan Michael C. Alonzo
varun_shrivastava [EMAIL PROTECTED] writes: hi whats the difference between positional and keyword parameter Hello! You can find more info at http://docs.python.org/tut/node6.html#SECTION00670 HTH. Regards, Jan -- Take heed: you do not find what you do not seek.

[pygtk] Re: Fwd: gtk+ API change; who should fix it? (A.k.a. Why isn't GNOME 2.19.4 released yet?)

2008-07-09 Thread Tommi Komulainen
On 6/22/07, Tim Janik [EMAIL PROTECTED] wrote: c) note that the actual compilation changes could easily be ironed out by Gtk+ by doing s/_tips_data_list/tips_data_list/ but was introduced deliberately, to catch remaining tips_data_list uses in third-party code which should be removed

[pygtk] Re: Fwd: gtk+ API change; who should fix it? (A.k.a. Why isn't GNOME 2.19.4 released yet?)

2008-07-09 Thread Matthias Clasen
On 6/22/07, Sven Neumann [EMAIL PROTECTED] wrote: Hi, On Fri, 2007-06-22 at 10:27 +0200, Tim Janik wrote: so far, my take on the issue is that PyGtk should adapt to that change by not using tooltips-tips_data_list I have attached a patch to http://bugzilla.gnome.org/show_bug.cgi?id=449318

[pygtk] Re: Fwd: gtk+ API change; who should fix it? (A.k.a. Why isn't GNOME 2.19.4 released yet?)

2008-07-09 Thread Sven Neumann
Hi, On Fri, 2007-06-22 at 10:27 +0200, Tim Janik wrote: so far, my take on the issue is that PyGtk should adapt to that change by not using tooltips-tips_data_list I have attached a patch to http://bugzilla.gnome.org/show_bug.cgi?id=449318 that removes access to private GtkTooltips struct

[pygtk] Re: Fwd: gtk+ API change; who should fix it? (A.k.a. Why isn't GNOME 2.19.4 released yet?)

2008-07-09 Thread Tim Janik
On Fri, 22 Jun 2007, Tommi Komulainen wrote: On 6/22/07, Tim Janik [EMAIL PROTECTED] wrote: c) note that the actual compilation changes could easily be ironed out by Gtk+ by doing s/_tips_data_list/tips_data_list/ but was introduced deliberately, to catch remaining tips_data_list uses

[pygtk] Use of C++ private keyword in API.

2008-07-09 Thread Murray Cumming
The use of the C++ private keyword is causing a build failure in Glom with the latest pyobject: /* private */ /* using union to preserve ABI compatibility (structure size * must not change) */ union { GSList *closures; /* stale field; no longer updated DO-NOT-USE! */

[pygtk] problem with gtk.Notebook embeded in gtk.EventBox

2008-07-09 Thread Jacek Rembisz
Hello, The problem is that I cannot switch the pages clicking the mouse button. I have noticed this problem on MS Windows but it also appears on Linux system. See attached code sample. Please tell me, is this a pygtk problem or is it necessary to set_visible_window(True) in this case. Best

[pygtk] repositioning svg image on a cairo surface

2008-07-09 Thread Srini
Hi Guys, I have an application in which I have loaded a SVG(Scalable Vector Graphics) image on a Cairo surface using rsvg and cairo libraries. Now hte problem is I am not able to reposition this image to a desired place on the application screen. The image is sitting at the top left corner of the

[pygtk] Graphing support in pygtk?

2008-07-09 Thread Dan Stromberg
Hi folks. Is there any sort of support for graphing in pygtk? Especially, is there support for graphing incrementally, as information arrives - not all at once? Or would I need to use some sort of canvas and come up with my own graph? Thanks! ___

[pygtk] 2.19.x progress?

2008-07-09 Thread Priit Laes
Hello, Are there any plans to make a 2.19.x releases soon? There are some users who would prefer using tarballs to do testing. Cheers, Priit ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ:

[pygtk] Re: UI to edit accelerators

2008-07-09 Thread Cousin Stanley
I would like to add support for customizing the keyboard accelerators for an pygtk application that uses UI manager and ActionGroup. Fredrik You might take a look at the KeyBindings module in the xpn_src dir of the Python/GTK based XPN news client for a bit of

Re: [pygtk] problem installing PyGTK on a clean WinXP system

2008-07-09 Thread Dave Aitel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I had someone attempting to install Python 2.5.1 on Windows Vista recently as well and failing. For some reason the .msi is not compatible with Vista. It would be great to have a community supported installer for all of the PyGTK requirements for

[pygtk] Re: Python 3.0 plans

2008-07-09 Thread Behdad Esfahbod
On Wed, 2007-08-29 at 13:52 -0400, Behdad Esfahbod wrote: - Do things more Pythonesque. Looking at Pango bindings, for example replace all to_string() methods with __str__. Same for compare(), equal(), etc. Or should it be in addition? Other example I once really wanted was generator

[pygtk] Re: adjust height of textview

2008-07-09 Thread JustFillBug
On 2007-09-13, Vincent Schut [EMAIL PROTECTED] wrote: Hi all, anyone knows how to change the (default) height of a textview? It seems to default to something like 5 or 6 lines, and I can't seem to get it shrink. I'd like it to have a height of 3 or 4 lines max, but have no idea how to

Re: [pygtk] Using glade in large applications

2008-07-09 Thread Dave Aitel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We use Glade exclusively for CANVAS (which I consider fairly large at this point). It's working well, even for very complex projects. That said, there ARE some pretty annoying bugs - especially related to image paths which it will break for no

[pygtk] help

2008-07-09 Thread k0rfain Mathurin
checking for PYGOBJECT... configure: error: Package requirements ( pygobject-2.0 = 2.11.1) were not met: Requested 'pygobject-2.0 = 2.11.1' but version of PyGObject is 2.8.6 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

[pygtk] pygobject-2-4 branch

2008-07-09 Thread [EMAIL PROTECTED]
Hi! I'm trying to compile a python application that requires pygobject. However compiling pygobject does not work with my glib2-2.6.3-4 (comes from opensuse 9.3) The configure script claims I can use pygobject-2-4 branch. But I really couldn't find it anywhere. Could you someone point it to me

[pygtk] Re: Python 3.0 plans

2008-07-09 Thread Behdad Esfahbod
On Wed, 2007-08-29 at 12:37 -0300, Johan Dahlin wrote: Greetings Heya, I'd like to ask for input on how the Python 3.0 transition is going to affect GNOME. Python 3.0 is the current development focus of the Python community. It is different from the old 2.x series in the sense that it

[pygtk] GtkSourceView in PyGTK on Windows

2008-07-09 Thread maddog39
Hello all, I am trying to port my pygtk application to Windows but I'm a bit stuck since I haven't been able to find GtkSourceView for Python on windows. I've searched all around and haven't found anything. So I'm just curious if its possible to get GtkSourceView working in python under windows.

[pygtk] AttributeError: 'module' object has no attribute 'CAPI'

2008-07-09 Thread Simon Burton
Python 2.5.1 (r251:54863, Jun 21 2007, 12:28:02) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2 Type help, copyright, credits or license for more information. Make it so. import gtk Traceback (most recent call last): File stdin, line 1, in module File

[pygtk] Pipes and freezes

2008-07-09 Thread Kristin Hillenbrand
Just wondering if this is an email address for Steven Howe who is originally from Sidcup, Kent, UK and may be living in Australia? Thanks Kristin Hillenbrand (Storey) Kristin Hillenbrand Acting Senior Manager, Social Policy Strategic Policy and Supports Workforce Supports Division

Re: [pygtk] widget containers for free placement

2008-07-09 Thread Dave Aitel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For what it's worth we do a similar sort of thing for these: http://www.immunityinc.com/downloads/NodeView.png (You can click on the nodes and they pop up a menu) http://www.immunityinc.com/documentation/mappingbeta.html (flash movie of a map with

[pygtk] GTK window with switchable views, howto?

2008-07-09 Thread Basil Shubin
Hi friends, First, excuse me for my english :) Second, I am shiny new in GTK programming and I have several questions to ask: Here a task, I need a GTK window with a switchable views/panels, for example there is default view/panel with a widgets and so on, then if user has selected a menu

[pygtk] PyGtk Mac OS top level windows does not show up on top

2008-07-09 Thread Vlad
Dear group, Could someone help me with the problem I am having with PyGtk on Mac OS X. Every time I start an application its window is always burried beneath other windows on the screen, rather then poping up on the top like all normal application's windows do. Am I doing something wrong?

[pygtk] Installing pygtk on Solaris

2008-07-09 Thread Shalom Kramer
I am trying to install PyGTK on Solaris 8. When I run: $ ./configure I get - checking for GLIB - version = 2.2.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occurred . This usually

[pygtk] Re: [cairo] pycairo - translate question

2008-07-09 Thread Carl Worth
On Mon, 5 Nov 2007 17:38:19 +0200, Donn wrote: Hi, not sure if this is the appropriate list. Yes, definitely the right list. Welcome, Donn! Can one, within a single cairo context, do this: while True: ctx.translate(0,0) pycairo commands to draw a square at 0,0 ctx.translate(10,10)

[pygtk] Re: [cairo] pycairo - translate question

2008-07-09 Thread Carl Worth
On Mon, 5 Nov 2007 19:57:58 +0200, Donn wrote: Thanks. Having fun so far! That warms my heart. Is there a way to set the drawing origin of a set of pycairo drawing commands such that it starts at 0,0 but in the center of the page? (Or should that be context, I am still fuzzy about that.)

Re: [pygtk] To put gnome-terminal in a pygtk application

2008-07-09 Thread wolf wolf
import vte (the python vte wrapper is installed from RH5 by default. On RH4 I took the debian package, done a dep-to-rpm conversion and installed it) term = vte.Terminal() term.fork_command(command) I found some help in the Ruby manual for vte and of course in google code search. On Nov 18,

Re: [pygtk] Installing PyGTK on solaris 8

2008-07-09 Thread Roberto Cavada
Shalom Kramer wrote: *** The test program failed to compile or link. See the file config.log for the *** exact error that occurred . This usually means GLIB is incorrectly installe Have you followed the suggestion? r. ___ pygtk mailing list

Re: [pygtk] [Fwd: PyGTK in Vista?]

2008-07-09 Thread Dave Aitel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Likewise, everything you need should be in http://www.immunityinc.com/downloads/PyGTK.tar.gz I've gotten it working on Vista using this. There are bugs in the Vista version of GTK (highlighted pop-up menu's disappear, for example). But it is usable.

Re: [pygtk] accelerator for an image button.

2008-07-09 Thread Neil Dugan
Gian Mario Tagliaretti wrote: 2007/11/3, Neil Dugan [EMAIL PROTECTED]: Hi Neil, I am trying to make an python/gtk+ app. One problem I am having is attaching an accelerator to a image button. This is the code I am using to create the buttons. --- cut --- def index_control(self):

[pygtk] Re: [Glade-users] Translation, gtk labels, and gettext

2008-07-09 Thread Tristan Van Berkom
On Dec 7, 2007 4:06 AM, Caleb Marcus [EMAIL PROTECTED] wrote: I'm now having issues with glade and gettext. I can run xgettext directly on the glade file, but that just produces a file with ALL the strings, not just the translatable ones. I can run intltool-extract on the glade file to

[pygtk] spam?

2008-07-09 Thread Yann Leboulanger
Am I the only one to be spammed by quoll.daa.com.au with mails from pygtk ML from 2007 ? -- Yann ___ 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] gtk.Notebook

2008-07-09 Thread [EMAIL PROTECTED]
In gtk notebook page_num(child) being a widget Returns : the index of the page containing child, or -1 So here is the problem: Added button to tab for close so I need the page the button is on since the button grabs focus rather than the tab. I tried emit back to parent and that failed

[pygtk] Re: help fixing max/minimum size of a widgets

2008-07-09 Thread JustFillBug
On 2008-01-07, Steven Howe [EMAIL PROTECTED] wrote: My situation: I have a gtk.HBox with three widgets, a gtk.Progressbar, a gtk.HSeperator and a gtk.Statusbar in the gtk.HBox. I would like the gtk.Progressbar and gtk.Statusbar to have minimum fixed widths and fixed heights, similar to

Re: [pygtk] Bug w/ MenuItem on Vista?

2008-07-09 Thread Dave Aitel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That's not just you - we get that all the time with our popup menus in CANVAS. Perhaps there's a white on white highlighted text colorization by default ? It's on our list of things to look into but hopefully someone else has already fixed it... -

[pygtk] Using an RC file to set the background colout of Gtk.Button

2008-07-09 Thread Martin A Conaghan
I am trying to use an RC file to set the background colour of a button. I am able to change the colour of the font usinf the RC file, but not the background colour or font. I am able to change the background of the window. The RC file is; style window { font =

[pygtk] Pygtk problems with DrawingArea redraw

2008-07-09 Thread Antonio Caruso
Hi, I cannot understand why the program below, is not able to update the draw when I push the button. I.e. when the button is pushed the code in Plot::calc is executed. At the end of this code I must emit a expose-event but the call to self.queue_draw_area is not working at all.. help, please.

Re: [pygtk] TreeView - Making whole row colored

2008-07-09 Thread Neil Dugan
Stephen George wrote: Hi, I am trying to get a treeview (with liststore model) to display rows in different colors based on content in the list. From what I've read in GTK+ 2.0 Tree View Tutorial - Tim-Philipp Muller ( c code based) The most suitable approach for most cases is that you

[pygtk] Re: TreeView - Making whole row colored

2008-07-09 Thread Jacek Wolszczak
Stephen George pisze: Hi, I am trying to get a treeview (with liststore model) to display rows in different colors based on content in the list. cut Hi Just try changing the order of foreground and foreground-set and it'll work. column.add_attribute(mycell, 'foreground-set',

[pygtk] Clickable image not clickable in transparent areas?

2008-07-09 Thread Christian Siegert
Hi, I want to display a clickable image which is not clickable in transparent areas. The way I failed: The image is child of an event box. The event box receives the button_press_event. If I click in a transparent area of the image the event box still receives an event. How can I change this

[pygtk] Hello world etc.

2008-07-09 Thread Peter Stahlir
Hi! I have two suggestions for your documentation: 1. Hello world I had to go through http://www.pygtk.org/ http://www.pygtk.org/tutorial.html http://www.pygtk.org/pygtk2tutorial/index.html http://www.pygtk.org/pygtk2tutorial/ch-GettingStarted.html#sec-HelloWorld to find it. Could you link it

Re: [pygtk] PolicyKit from Python

2008-07-09 Thread David Zeuthen
On Wed, 2008-02-06 at 13:32 +0100, Murray Cumming wrote: On Tue, 2008-02-05 at 15:58 +0100, Murray Cumming wrote: Does anyone know if there are already PolicyKit (and policykit-gnome) python bindings? I discovered that I can probably do this with just the D-Bus API. I made the attached

Re: [pygtk] PolicyKit from Python

2008-07-09 Thread David Zeuthen
On Thu, 2008-02-07 at 16:19 +0100, Murray Cumming wrote: On Thu, 2008-02-07 at 22:55 +0800, David Zeuthen wrote: On Wed, 2008-02-06 at 13:32 +0100, Murray Cumming wrote: On Tue, 2008-02-05 at 15:58 +0100, Murray Cumming wrote: Does anyone know if there are already PolicyKit (and

Re: [pygtk] PolicyKit from Python

2008-07-09 Thread David Zeuthen
(Dunno if you got my other reply, I think Evolution ate it) On Thu, 2008-02-07 at 16:19 +0100, Murray Cumming wrote: Thanks. I figured out a bit more since I sent the email, but I'm still having no luck. I blogged about it:

[pygtk] Need help in Gtk Textview widget's background image

2008-07-09 Thread Dharmosoth Seetharam
Hi All, I got struck at setting the background image to the textview widget. Can you pleae help me in the regard. Thanks in advance regads, Seetharam 5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

Re: [pygtk] spam?

2008-07-09 Thread Johan Dahlin
On Wed, Jul 9, 2008 at 8:43 AM, Yann Leboulanger [EMAIL PROTECTED] wrote: Am I the only one to be spammed by quoll.daa.com.au with mails from pygtk ML from 2007 ? No, it's the whole list. It's because I just finished cleaned up the pending moderation requests for the list. It had been badly

Re: [pygtk] spam?

2008-07-09 Thread Walter Leibbrandt
No, you are certainly not. I currently have about 60 PyGtk ML messages from April 2007 through January 2008. And I've only been a member for about a month! Weird... Yann Leboulanger wrote: Am I the only one to be spammed by quoll.daa.com.au with mails from pygtk ML from 2007 ? begin:vcard

Re: [pygtk] Problem with simple custom widget

2008-07-09 Thread Johan Dahlin
Jeffrey Barish wrote: As an exercise in preparation for bigger things, I am trying to create a custom widget that is a gtk.Entry with an added label. I borrowed liberally from examples, but I am not aware of any examples that do quite what I am trying to do. I can make this widget work by

[pygtk] Python/Gnome new application skeleton

2008-07-09 Thread Ruben Fonseca
Hi. I'm trying to create a new application with python/gtk for gnome. However, I always go blind when I look to autotools and friends. Since I'm planning the application to be portable between the Linux and UNIX flavours, I thought that I should include autotools. Is there any other

[pygtk] User Interface Designer

2008-07-09 Thread Amar
Hi all Is there a user interface designer that produces pygtk source. Thnaks Amar___ 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] New Gtk+ 2.12 functions

2008-07-09 Thread Vreixo Formoso Lopes
Hi! I'm a java-gnome developer. Since some days we're working on updating our .defs data with new gtk+ 2.12 functions. I have noticed that your .defs data (pygtk 2.12.1 release) misses many of this new functions. We have added some of them, and we're working to add all new gtk 2.12 stuff. Given

[pygtk] Missing autoconf macros in pygobject

2008-07-09 Thread Rafał Mużyło
I'd like to know what package pygobject expects to be installed in order to be autotoolized, cause at least AM_CHECK_PYTHON_HEADERS and AM_CHECK_PYMOD aren't provided in acinclude.m4 or otherwise. ___ pygtk mailing list pygtk@daa.com.au

[pygtk] re: pygobject duplicate symbol _g_bit_nth_lsf OS X 10.5

2008-07-09 Thread Peter Bartoli
Was a solution ever found for this one? -peter Hello, i tried to build pygobject but got an duplicate symbol error message. I tried the svn and pygobject 2.14 and also in fink, always the same error. thanks, frank My Build output: make all-recursive Making all in docs make all-am

[pygtk] invisible character

2008-07-09 Thread Yo
Hi all, how I can hide the values in a TreeViewColumn, replacing each character with an asterisk '*', like a 'entry.set_visibility' function? Thanks in advance ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] Binding for gnome.ui / GnomeThumbnail

2008-07-09 Thread nico
Hello, I develop an application running under pygtk, and I need to handle some thumbnails. I try to use the GnomeThumbnail from liggnomeui, and so use the handling of thumbnail from Gnome Is there a python binding for that ? If yes where I can find doc/examples to do a such thing ? Or I have to

Re: [pygtk] [Fwd: PyGTK in Vista?]

2008-07-09 Thread Steffi
Hi Nicklas, did you find a acceptable solution? I have the same problem with PyGTK and Windows Vista. Regards, Stefanie Rafael Villar Burke-2 wrote: Hi, I have tried to install PyGTK in Microsoft Windows Vista but failed. I have installed GTK+ runtime, and that wen well, but I

Re: [pygtk] Pygtk does not play nicely with speech-dispatcher

2008-07-09 Thread Dave Aitel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Threading and pyGTK can be very complex - do your callbacks get called right out of your main thread (where I assume pyGTK's loop is running?) It might be worth you posting a bit to the list. There are lots of programs that both do network

Re: [pygtk] python-gtkhtml2 docs

2008-07-09 Thread Tom Cato Amundsen
Have a look at src/htmlwidget.py in gnu solfege. You find the tarball at http://www.solfege.org/Solfege/Download . See the GtkHtml2Widget class in that file. It loads images. I don't remember on the fly if css works too. Tom Cato ___ pygtk mailing list

Re: [pygtk] Pygtk does not play nicely with speech-dispatcher

2008-07-09 Thread Hynek Hanke
John Finlay napsal(a): The problem is that gtk and by extension pygtk has an event loop, and the python speechd api has implemented its own event loop within a thread. The speechd protocol is synchronous and sounds similar to RPCs. This event loop conflict was in general a problem with RPC

Re: [pygtk] Pygtk does not play nicely with speech-dispatcher

2008-07-09 Thread Hemant Goyal
Hi, I was reading through the conversation and while I am no expert what I realized was that a lot of background networking tasks are executed in separate threads when pyGTK is used. There is a standardized method that needs to be followed when such network processing has to be combined with UI

Re: [pygtk] gtk.Entry confusion

2008-07-09 Thread Seth Mahoney
Are you saying you have a bunch of entries, and need to read the text of all of them in response to an event? If so, you could use a set of entries and just iterate through them, like: for entries in entry_set: dict[key] = entries.get_text() Or you could try a dict of entries, iterate through

[pygtk] Gnome VFS problems

2008-07-09 Thread Justin Hibbits
When testing the example gnome-python VFS module (pyfs.py) I receive the error Fatal Python error: could not import gnomevfs. When I test it using the command line % gnomevfs-ls pyfs:/// However, running the string python -c 'import gnomevfs' works. I tracked this down to the line 'from

[pygtk] gnome-python _gnomevfs.so error

2008-07-09 Thread Justin Hibbits
After battling the Python Gnome VFS module plugin, I've tracked the issue down to dlopen() of _gnomevfs.so, by disassembling the code surrounding it. I found that it is not reading any of the Python symbols when performing the dlopen(), so dlopen() is returning the error: Undefine symbol:

[pygtk] gnomekeyring incomplete

2008-07-09 Thread Maciej Katafiasz
Hi, from what I can see, it looks like gnomekeyring bindings are very incomplete. Basically only the specialised functions (*_network_password_* and friends) are bound, and all the generic mechanisms (password functions other than network_password, schema manipulation, etc.) are inaccessible.

[pygtk] Splash for app

2008-07-09 Thread shakaran
Hello, I'm starting with python and I am amazed with its potential. I'm trying to make an application with PyGtk and I need a splash. Googling I found very little information about it, only a couple of blogs explaining well above with wxwidget and Gtk pure. With lines Gtk I fought and I managed

Re: [pygtk] [Glade-users] Translation, gtk labels, and gettext

2008-07-09 Thread Rajaram
I do not know if you are still facing the issue. However, this link below provides a good example of the way it is done, with a python script specifically to extract translatable strings from glade and python files. http://lucumr.pocoo.org/articles/internationalized-pygtk-applications HTH.

Re: ANN Re: [pygtk] Text widget that allows for adding annotations

2008-07-09 Thread Seth Mahoney
Oh wow, thanks! This could actually come in handy for a project I'm working on now. On Tue, Jun 10, 2008 at 10:32 AM, Samuel Abels [EMAIL PROTECTED] wrote: On Sun, 2008-06-08 at 22:01 +0200, Samuel Abels wrote: I am looking for a hopefully painless way to create a text widget that supports

Re: [pygtk] Formatting floats in treeview

2008-07-09 Thread Neil Dugan
Jeremy S wrote: If you put a float in a treeview, you get a really long decimal, which is almost always not desired. So, after playing around with it for a while, I came up with this code to truncate floats at 1 decimal place: column.set_cell_data_func(renderer,

[pygtk] Retrieve data from a TextView

2008-07-09 Thread proveyourselfthom
Hi. How can I retrieve data from a TextView or TextBuffer? I read the pygtk reference section and can't understand it... Thanks. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ:

[pygtk] question about dnd

2008-07-09 Thread Bóris Marin
Hi I'm trying to create an image that can be dragged to the desktop (using gnome) and dropped there as a .png file. I've taken a look at dragndrop.py, which is part of the tutorial http://www.pygtk.org/pygtk2tutorial/examples/dragndrop.py But I still don't understand the desktop' behavior as a

[pygtk] A Multilevel Liststore

2008-07-09 Thread Shadi Azoum
Hi, I am trying to make a hierarchal structure using the PyGTK ListStore. What would the code look like for a multilevel structure such as the one below: Parent 1 Child 1.1 Child 1.2 Parent 1.3 Child 1.3.1 Child 1.3.2 Child 1.4 Parent 2 Child 1 Child 2 ... I

Re: [pygtk] User Interface Designer

2008-07-09 Thread Mathias Uebelacker
Hello, did you checked the combination Wing IDE, Glade pyGTK? br Mathias 2008/3/11, Amar [EMAIL PROTECTED]: Hi all Is there a user interface designer that produces pygtk source. Thnaks Amar ___ pygtk mailing list pygtk@daa.com.au

[pygtk] Re: How do I get the previous gtk.TreeIter in a TreeModel?

2008-07-09 Thread Jeffrey Barish
Rich Burridge wrote: Given a gtk.TreeIter in a gtk.TreeModel, from: http://www.pygtk.org/docs/pygtk/class-gtktreemodel.html#method-gtktreemodel--iter-next I can see how to get the gtk.TreeIter pointing to the next row. But how to I get a gtk.TreeIter pointing to the previous row? Just in

[pygtk] Re: How do I get the previous gtk.TreeIter in a TreeModel?

2008-07-09 Thread Jeffrey Barish
In fact, there's a FAQ on the subject: http://faq.pygtk.org/index.py?req=showfile=faq13.030.htp -- Jeffrey Barish ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ:

[pygtk] Re: TreeView reorderable

2008-07-09 Thread Jeffrey Barish
Seltzer wrote: Hi, I have a tree view which contains a list of media items to be played, and some information about them. I would like to be able to let the user re-order this list, but if i just use set_reorderable(True) than they can actually drop one item onto another, and make the

[pygtk] Re: A Multilevel Liststore

2008-07-09 Thread Jeffrey Barish
Shadi Azoum wrote: Hi, I am trying to make a hierarchal structure using the PyGTK ListStore. What would the code look like for a multilevel structure such as the one below: Parent 1 Child 1.1 Child 1.2 Parent 1.3 Child 1.3.1 Child 1.3.2 Child 1.4

Re: [pygtk] spam?

2008-07-09 Thread Newell Jensen
I am in the same boat.. 2008/7/9 Walter Leibbrandt [EMAIL PROTECTED]: No, you are certainly not. I currently have about 60 PyGtk ML messages from April 2007 through January 2008. And I've only been a member for about a month! Weird... Yann Leboulanger wrote: Am I the only one to be

Re: [pygtk] New Gtk+ 2.12 functions

2008-07-09 Thread Gian Mario Tagliaretti
On Tue, Mar 11, 2008 at 11:24 AM, Vreixo Formoso Lopes [EMAIL PROTECTED] wrote: Hi, I'm a java-gnome developer. Since some days we're working on updating our .defs data with new gtk+ 2.12 functions. I have noticed that your .defs data (pygtk 2.12.1 release) misses many of this new functions.

Re: [pygtk] gtk.IconView random segfault

2008-07-09 Thread Mitko Haralanov
On Tue, 08 Jul 2008 19:57:23 -0400 Felipe Reyes [EMAIL PROTECTED] wrote: I added a test case that shows (at least on my system) my trouble. somebody can give me a clue? The issue is locking. Changing the code to this seems to have solved the problem: class FillListStore(threading.Thread):

Re: [pygtk] gtk.IconView random segfault

2008-07-09 Thread Felipe Reyes
El mié, 09-07-2008 a las 16:02 -0700, Mitko Haralanov escribió: On Tue, 08 Jul 2008 19:57:23 -0400 Felipe Reyes [EMAIL PROTECTED] wrote: I added a test case that shows (at least on my system) my trouble. somebody can give me a clue? The issue is locking. Changing the code to this

Re: [pygtk] gtk.IconView random segfault

2008-07-09 Thread Mitko Haralanov
On Wed, 09 Jul 2008 19:41:31 -0400 Felipe Reyes [EMAIL PROTECTED] wrote: Yes, with the locks everything works fine, but the locks added some overhead (about 10 secons when loading 2500 pictures), I suppose that this is normal, right? I guess it is possible for the locking to add overhead