Re: Replacement for pygtk?

2020-09-07 Thread Pete Forman
Akkana Peck writes: > Grant Edwards writes: >> * PyQt -- I run Gtk-centric Linux systems, and the second you try to >>use one Qt widget, it always seems to pull in hundreds of packages >>that take a week to build. > > I haven't generally found that about PyQt. Most KDE apps do pull in >

Re: Replacement for pygtk?

2020-09-06 Thread Grant Edwards
On 2020-09-06, Michael Torrie wrote: > On 9/4/20 3:24 PM, Grant Edwards wrote: >> I assume that difference is because pygtk was hand-written and gi is >> built auto-magically using SWIG or something like that? > > Essentially, yes. Although pygobject does not use a tool li

Re: Replacement for pygtk?

2020-09-06 Thread Liste guru
Il 06/09/2020 06:20, Michael Torrie ha scritto: On 9/4/20 3:24 PM, Grant Edwards wrote: I assume that difference is because pygtk was hand-written and gi is built auto-magically using SWIG or something like that? Essentially, yes. Although pygobject does not use a tool like swig to generate

Re: Replacement for pygtk?

2020-09-05 Thread Michael Torrie
On 9/4/20 3:24 PM, Grant Edwards wrote: > I assume that difference is because pygtk was hand-written and gi is > built auto-magically using SWIG or something like that? Essentially, yes. Although pygobject does not use a tool like swig to generate static wrappers. Rather it uses t

Re: Replacement for pygtk?

2020-09-05 Thread Akkana Peck
Grant Edwards writes: > Is pygobject the replacement for pygtk? The easiest way to use it, if you want a quick port with the fewest code changes, is: from gi import pygtkcompat pygtkcompat.enable() pygtkcompat.enable_gtk(version='3.0') I don't know if pygtkcompat is goi

Re: Replacement for pygtk?

2020-09-05 Thread Chris Green
s the resulting Python API is not > > always as pythonic as pygtk code was. > > I noticed that right away. In pygtk, most methods (e.g. .pack_start) > had named arguments with well chosen defaults. The vast majority of > the time, I only supplied one argument for the pack_start()

Re: Replacement for pygtk?

2020-09-04 Thread Grant Edwards
On 2020-09-03, Michael Torrie wrote: > On 9/3/20 1:17 PM, Grant Edwards wrote: >> On 2020-09-03, Grant Edwards wrote: >>> [...] >>> >>> Is pygobject the replacement for pygtk? >> >> It seems to be. I've started porting my pygtk app, and it

Re: Replacement for pygtk?

2020-09-04 Thread Grant Edwards
On 2020-09-04, Chris Green wrote: > Grant Edwards wrote: >> On 2020-09-03, Grant Edwards wrote: >> > [...] >> > >> > Is pygobject the replacement for pygtk? >> >> It seems to be. I've started porting my pygtk app, and it's going &

Re: Replacement for pygtk?

2020-09-04 Thread Chris Green
Grant Edwards wrote: > On 2020-09-03, Grant Edwards wrote: > > [...] > > > > Is pygobject the replacement for pygtk? > > It seems to be. I've started porting my pygtk app, and it's going > pretty smoothly. I've already got my two custom widgets

Re: Replacement for pygtk?

2020-09-03 Thread Michael Torrie
On 9/3/20 1:17 PM, Grant Edwards wrote: > On 2020-09-03, Grant Edwards wrote: >> [...] >> >> Is pygobject the replacement for pygtk? > > It seems to be. I've started porting my pygtk app, and it's going > pretty smoothly. I've already got my two cus

Re: Replacement for pygtk?

2020-09-03 Thread Grant Edwards
On 2020-09-03, Grant Edwards wrote: > [...] > > Is pygobject the replacement for pygtk? It seems to be. I've started porting my pygtk app, and it's going pretty smoothly. I've already got my two custom widgets working. Oddly, the main module provided by the gobje

Replacement for pygtk?

2020-09-03 Thread Grant Edwards
Many years ago I wrote an app that uses pygtk for it's GUI. I still use the app occasionally, and would like to keep it alive. Emerge informs me that dev-python/pygtk is scheduled for removal. Is pygobject the replacement for pygtk? -- Grant -- https://mail.python.org/mailman/lis

Re: pygtk button right/middle click

2016-03-30 Thread Wildman via Python-list
ince it took only a few lines > of code to handle the "left" click, I assumed that like some other > toolkits, it would be similarly easy to handle "right" and "middle". > > I don't have the time to re-invent the wheel at the moment, so this > proj

Re: pygtk button right/middle click

2016-03-30 Thread Grant Edwards
On 2016-03-30, Grant Edwards wrote: > On 2016-03-30, Wildman wrote: > >>> Is the gtk button widget really incapable of handling left or middle >>> mouse buttons or shift/ctrl/alt modifiers? >> >> This might help... >> >> http://faq.pygtk.org/index.py?req=show&file=faq05.004.htp > > Yep, I found t

Re: pygtk button right/middle click

2016-03-30 Thread Grant Edwards
On 2016-03-30, Wildman wrote: >> Is the gtk button widget really incapable of handling left or middle >> mouse buttons or shift/ctrl/alt modifiers? > > This might help... > > http://faq.pygtk.org/index.py?req=show&file=faq05.004.htp Yep, I found that. I'm just missing the clues required to use

Re: pygtk button right/middle click

2016-03-30 Thread Wildman via Python-list
On Wed, 30 Mar 2016 15:36:12 +, Grant Edwards wrote: > I'm trying to figure out how to get a pygtk button respond to > somehting other than just a simple "left click". With a standard > 3-button mouse, X11 provides at least 9 different "click" types, bu

Re: pygtk button right/middle click

2016-03-30 Thread Grant Edwards
On 2016-03-30, Chris Angelico wrote: > On Thu, Mar 31, 2016 at 2:36 AM, Grant Edwards > wrote: >> I'm trying to figure out how to get a pygtk button respond to >> somehting other than just a simple "left click". With a standard >> 3-button mouse, X11 prov

Re: pygtk button right/middle click

2016-03-30 Thread Chris Angelico
On Thu, Mar 31, 2016 at 2:36 AM, Grant Edwards wrote: > I'm trying to figure out how to get a pygtk button respond to > somehting other than just a simple "left click". With a standard > 3-button mouse, X11 provides at least 9 different "click" types, but > t

pygtk button right/middle click

2016-03-30 Thread Grant Edwards
I'm trying to figure out how to get a pygtk button respond to somehting other than just a simple "left click". With a standard 3-button mouse, X11 provides at least 9 different "click" types, but the pygtk button only seems to support one of them. [Yes, I know the

Re: pygtk beginner script not working

2015-11-15 Thread kent nyberg
sr/bin/env python > > # example base.py > > import pygtk It makes most sense to use gtk3 and not gtk2. The most recenst version of gtk3 is used with gi package. Read this for example: http://python-gtk-3-tutorial.readthedocs.org/en/latest/introduction.html -- https://mail.python.org/mailman/listinfo/python-list

pygtk beginner script not working

2015-11-14 Thread james
Hi guys I'm new to Python so please bare with me :) I'm using python 2.7.10 as advised (more tools apparently over 3.x) Trying to use this script [CODE] #!/usr/bin/env python # example base.py import pygtk pygtk.require('2.0') import gtk class Base: def __init__(self

Re: pyGTK Help Needed Please

2013-09-20 Thread Michael Torrie
m/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', > > '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', > > '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', >

pyGTK Help Needed Please

2013-09-20 Thread bingefeller
7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages'] Exception: No module named pygtk If I run Python and type import pygtk I get this message: Traceback (most recent call last): File "", line 1, in ImportError: No module named pygtk can anyone help me please? -- https://mail.python.org/mailman/listinfo/python-list

How to change scrollbar color in pygtk ?

2013-08-21 Thread Norah Jones
Hi, I Tried the below code, the color is not reflected, Am i missing something? #add description box beside test cases testCaseDescWindow = gtk.ScrolledWindow() testCaseDescWindow.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) testCaseDescWindow.get_vscrollbar()

Pygtk entry readline

2013-02-02 Thread Matthias Fulz
Hi, does anybody know howto connect / use a gtk entry as "frontend" for readline in- / output? I couldn't find anything on the net for my problem. Basicly I've a working readline autocomplete, which I can use without problems via input function, but I want to use that in an gtk gui inside an ent

Re: how to compile pygtk in python2.7?

2012-07-08 Thread contro opinion
2.make the output is : Could not write method GdkFont.text_width_wc: No ArgType for const-GdkWChar* Could not write method GdkFont.char_width_wc: No ArgType for GdkWChar Could not write method GdkFont.text_extents_wc: No ArgType for const-GdkWChar* Could not write method Gdk

Re: how to compile pygtk in python2.7?

2012-07-08 Thread contro opinion
c_prefix}/lib/python2.7/site-packages checking for headers required to compile python extensions... found checking for PySignal_SetWakeupFd in Python.h... yes checking for python module thread... yes checking whether to enable threading in pygtk... yes checking for pkg-config...

Re: how to compile pygtk in python2.7?

2012-07-08 Thread Chris Angelico
On Sun, Jul 8, 2012 at 6:26 PM, contro opinion wrote: > it's so strange > when i input > hisroty > > 506 cd /home/tiger/pygtk-2.24.0 > 507 PYTHON=/usr/local/bin/python2.7 ./configure --prefix=/usr > 508 echo $? #i get 0 ,it means success?? &

Re: how to compile pygtk in python2.7?

2012-07-08 Thread contro opinion
it's so strange when i input hisroty 506 cd /home/tiger/pygtk-2.24.0 507 PYTHON=/usr/local/bin/python2.7 ./configure --prefix=/usr 508 echo $? #i get 0 ,it means success?? 509 make 510 echo $? #i get 0 ,it means success?? 511 make install 512

Re: how to compile pygtk in python2.7?

2012-07-07 Thread Chris Angelico
On Sun, Jul 8, 2012 at 2:47 PM, contro opinion wrote: > 3.PYTHON=/usr/bin/python2.7 ./configure --prefix=/usr > 4. make > 5. make install What happened when you typed these commands? Were there failure messages? As Benjamine suggested, do you need to become root to install? ChrisA -- http://ma

Re: how to compile pygtk in python2.7?

2012-07-07 Thread Benjamin Kaplan
On Sat, Jul 7, 2012 at 9:47 PM, contro opinion wrote: > 1.download pygtk > > 2.cd /home/tiger/pygtk-2.24.0 > > 3.PYTHON=/usr/bin/python2.7 ./configure --prefix=/usr > 4. make > 5. make install > > tiger@ocean:~$ python2.7 > Python 2.7.3 (default, Jul 1 2012, 14:

how to compile pygtk in python2.7?

2012-07-07 Thread contro opinion
1.download pygtk 2.cd /home/tiger/pygtk-2.24.0 3.PYTHON=/usr/bin/python2.7 ./configure --prefix=/usr 4. make 5. make install *tiger@ocean:~$ python2.7 Python 2.7.3 (default, Jul 1 2012, 14:13:18) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or

Re: Getting started with PyGTK [Receiving Error]

2012-04-28 Thread Vincent Vande Vyvre
Le 29/04/12 00:52, Santosh Kumar a écrit : > System Information > > Ubuntu 11.10 > Python 2.7.2 > > Problem > > > I think my Ubuntu has PyGTK and GTK both already installed. But > however when I am importing "gtk&qu

Getting started with PyGTK [Receiving Error]

2012-04-28 Thread Santosh Kumar
System Information Ubuntu 11.10 Python 2.7.2 Problem I think my Ubuntu has PyGTK and GTK both already installed. But however when I am importing "gtk" in Python interactive mode then I am getting the following warning: (.:4126): Gtk-WARNING

Re: How do I use PyGTK to put text besides clickable buttons?

2012-04-02 Thread Dan Stromberg
You could use an hbox. Or rather, a vbox with a bunch of hbox's in it. On Thu, Mar 29, 2012 at 10:45 PM, Jason Hsu, Mr. Swift Linux < jhsu802...@gmail.com> wrote: > I've decided to use PyGTK instead of gtkdialog for providing > configuration menus/dialog boxes in Swift Lin

How do I use PyGTK to put text besides clickable buttons?

2012-04-02 Thread Jason Hsu, Mr. Swift Linux
I've decided to use PyGTK instead of gtkdialog for providing configuration menus/dialog boxes in Swift Linux, the Linux distro I started. The problem with gtkdialog is that the i386 version is no longer available in the Debian repository. Since a picture is worth a thousand words, I'l

Re: Extending PyGTK widgets with Glade

2012-01-20 Thread Adam Tauno Williams
Quoting Richard Carlson : I'm working on a program using PyGTK and Glade. I create a glade XML file using Glade Designer and then load widgets like this: class MyDialog: def __init__(self): self.dialog = gtk.glade.XML(self.GLADEFILE).get_widget ("dialog.xml") I th

Extending PyGTK widgets with Glade

2012-01-20 Thread Richard Carlson
I'm working on a program using PyGTK and Glade. I create a glade XML file using Glade Designer and then load widgets like this: class MyDialog: def __init__(self): self.dialog = gtk.glade.XML(self.GLADEFILE).get_widget ("dialog.xml") I think it would be better if

pygtk

2011-08-02 Thread 守株待兔
please see my attachment ,which widget the region1,region2 is? how to make it?? re2 Description: Binary data -- http://mail.python.org/mailman/listinfo/python-list

Re: pyGTK identify a button

2011-05-26 Thread Alister Ware
gt; glade 3.8 > > thanks > Nico This looks similar to a question I posted about 2 weeks ago In gtk 2.1.6 (i think) & earlier you could use widget.get_name() to return the id of the widget. this no-longer works since 2.1.7 the pygtk forum suggests this is because widget id's are n

Re: pyGTK identify a button

2011-05-25 Thread Cousin Stanley
Tracubik wrote: > Hi all, > i'm trying to write a simple windows with two button in GTK, > i need a way to identify wich button is pressed. > #!/usr/bin/env python import gtk def console_display( button , args ) : a0 , a1 , a2 = args print '%s %s %s ' % ( a0 , a1 , a2

Re: pyGTK identify a button

2011-05-25 Thread Claudiu Nicolaie CISMARU
> thanks but, as i've sayed before, i can't use func_data 'cause i don't > know how to set it on glade3.8, that is the program i use to create > the > GUI. > Anyway, i think this is the only way to identify the button :-/ Hack into the generated source! -- Claudiu Nicolaie CISMARU GNU GPG

Re: pyGTK identify a button

2011-05-25 Thread Chris Angelico
On Wed, May 25, 2011 at 6:18 PM, Tracubik wrote: > Hi all, > i'm trying to write a simple windows with two button in GTK, i need a way to > identify wich button is pressed. > Consider that: > > the two button are connected (when clicked) to infoButton(self, widget, > data=None) I'm not terribly f

Re: pyGTK identify a button

2011-05-25 Thread Tracubik
On 25/05/2011 10:44, Claudiu Nicolaie CISMARU wrote: the two button are connected (when clicked) to infoButton(self, widget, data=None) From documentation: handler_id = object.connect(name, func, func_data) So: button1.connect(when is pressed, your_function, 1) button2.connect(when is presse

Re: pyGTK identify a button

2011-05-25 Thread Claudiu Nicolaie CISMARU
> the two button are connected (when clicked) to infoButton(self, > widget, > data=None) From documentation: handler_id = object.connect(name, func, func_data) So: button1.connect(when is pressed, your_function, 1) button2.connect(when is pressed, your_function, 2) (This code is conception, I

pyGTK identify a button

2011-05-25 Thread Tracubik
Hi all, i'm trying to write a simple windows with two button in GTK, i need a way to identify wich button is pressed. Consider that: the two button are connected (when clicked) to infoButton(self, widget, data=None) infoButton() is something like this infoButton(self, widget, data=None):

Re: PyGTK notebook: get current page

2011-05-07 Thread Alexander Kapps
On 07.05.2011 17:04, Tracubik wrote: Hi all! I've made a simple PyGTK program. It's a window with a notebook, the notebook have 2 pages When changing page, i'ld like to get the id of current page. I've coded it, but i can get only the previously open page, not the current on

PyGTK notebook: get current page

2011-05-07 Thread Tracubik
Hi all! I've made a simple PyGTK program. It's a window with a notebook, the notebook have 2 pages When changing page, i'ld like to get the id of current page. I've coded it, but i can get only the previously open page, not the current one. This is not a big deal if i have

Re: PyGTK, Glade/libglade. What am I doing wrong?

2011-05-07 Thread Alister Ware
On Sat, 07 May 2011 15:14:07 +1100, Даниил Рыжков wrote: > Thanks, Cristian! It works. >> List of Pygtk: http://www.daa.com.au/mailman/listinfo/pygtk > Thanks again. Subscribed :) > 2011/5/7 craf : >> Hi. >> >> Try this: >> >> #!/usr/bin/env python

Re: PyGTK, Glade/libglade. What am I doing wrong?

2011-05-06 Thread Даниил Рыжков
Thanks, Cristian! It works. > List of Pygtk: http://www.daa.com.au/mailman/listinfo/pygtk Thanks again. Subscribed :) 2011/5/7 craf : > Hi. > > Try this: > > #!/usr/bin/env python > > import gtk.glade > > class TestPyGtk: >    """This is an Hello W

Re: PyGTK, Glade/libglade. What am I doing wrong?

2011-05-06 Thread craf
On May 6, 2011 7:05 PM, "Даниил Рыжков" wrote: > > Sorry for my English (I could not find help in the Russian community) > I'm trying to learn PyGTK and Glade. I made test window in Glade and > saved it as "test.glade" (attached). Then I wrote script >

Re: PyGTK, Glade/libglade. What am I doing wrong?

2011-05-06 Thread Даниил Рыжков
.com/2006/05/07/creating-a-gui-using-pygtk-and-glade/) wrote script similar to my. P.S. I have glade3 3.8.0, gtk 2.24.4, GNOME 2.32.1 and Python 2.7.1 -- Best wishes, Daniil -- http://mail.python.org/mailman/listinfo/python-list

Re: PyGTK, Glade/libglade. What am I doing wrong?

2011-05-06 Thread Benjamin Kaplan
On May 6, 2011 7:05 PM, "Даниил Рыжков" wrote: > > Sorry for my English (I could not find help in the Russian community) > I'm trying to learn PyGTK and Glade. I made test window in Glade and > saved it as "test.glade" (attached). Then I wrote script >

PyGTK, Glade/libglade. What am I doing wrong?

2011-05-06 Thread Даниил Рыжков
Sorry for my English (I could not find help in the Russian community) I'm trying to learn PyGTK and Glade. I made test window in Glade and saved it as "test.glade" (attached). Then I wrote script "test.py"(attached, http://pastebin.com/waKytam3). I tried to run it. Whil

Help with pygtk About Dialog

2011-04-12 Thread pradeepbpin
How can I use a png/jpeg/gif image file to set the logo in gtk.AboutDiaog box of pyGTK ? -- http://mail.python.org/mailman/listinfo/python-list

[Fwd: Re: Another location of the PyGTK tutorial]

2011-04-03 Thread craf
¡Thank you very much Dotan! Regards. Cristian - Mensaje reenviado > De: Dotan Cohen > Para: craf > Cc: Python Ingles > Asunto: Re: Another location of the PyGTK tutorial > Fecha: Sun, 3 Apr 2011 13:40:35 +0300 > > http://gitorious.org/pygtk-tutorial >

Re: Another location of the PyGTK tutorial

2011-04-03 Thread Dotan Cohen
http://gitorious.org/pygtk-tutorial On Fri, Apr 1, 2011 at 21:03, craf wrote: > Hi. > > Anyone know if the pygtk tutorial that was in this direction > http://www.learnpygtk.org/pygtktutorial/index.html,  can be located > elsewhere. > > Regards. > > Cristian >

Re: Another location of the PyGTK tutorial

2011-04-03 Thread Dotan Cohen
http://gitorious.org/pygtk-tutorial On Sat, Apr 2, 2011 at 19:53, craf wrote: > Hi. > > Anyone know if the pygtk tutorial that was in this direction > http://www.learnpygtk.org/pygtktutorial/index.html,  can be located > elsewhere. > > Regards. > > Cristian >

Another location of the PyGTK tutorial

2011-04-03 Thread craf
Hi. Anyone know if the pygtk tutorial that was in this direction http://www.learnpygtk.org/pygtktutorial/index.html, can be located elsewhere. Regards. Cristian -- http://mail.python.org/mailman/listinfo/python-list

Another location of the PyGTK tutorial

2011-04-03 Thread craf
Hi. Anyone know if the pygtk tutorial that was in this direction http://www.learnpygtk.org/pygtktutorial/index.html, can be located elsewhere. Regards. Cristian -- http://mail.python.org/mailman/listinfo/python-list

seeking pygtk bindings for gtkdatabox

2010-12-21 Thread GrayShark
Hello, a search for the python bindings for gtkdatabox lead no where. Anyone know of who is maintaining/working/siting such a package? Thanks in advance. Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: will Gnome 3.0 kill pygtk?

2010-09-30 Thread Diez B. Roggisch
Tracubik writes: > Hi! > It seem that the new version of gnome 3.0 will dismiss pygtk support. > > link: > > [1] http://live.gnome.org/TwoPointNinetyone/ (search killing pygtk) > > [2] http://live.gnome.org/GnomeGoals/PythonIntrospectionPorting > > > i'm

Re: will Gnome 3.0 kill pygtk?

2010-09-30 Thread Neil Hodgson
Tracubik: > i'm studying pygtk right now, am i wasting my time considering that my > preferred platform is linux/gnome? I expect the dynamic binding will be very similar to the current static binding but easier to keep up-to-date. There's already some use of dynamic bindi

will Gnome 3.0 kill pygtk?

2010-09-30 Thread Tracubik
Hi! It seem that the new version of gnome 3.0 will dismiss pygtk support. link: [1] http://live.gnome.org/TwoPointNinetyone/ (search killing pygtk) [2] http://live.gnome.org/GnomeGoals/PythonIntrospectionPorting i'm studying pygtk right now, am i wasting my time considering th

Running pygtk app under windows.

2010-08-16 Thread Sebastian Alonso
Hey everyone, I'm trying to be able to run my app, which uses pygtk, under windows, but unfortunately I'm having big problems with it. The main purpose of this is to later on make an .exe file but i havent even been able to run the app at least. I've followed every single

How can I bundle a PyGTK program in windows so my users don't need to install Python or the GTK+ libs?

2010-08-16 Thread Waspinator
vironment because I have installed python 2.6 with pygtk and a gtk bundle. Can someone please provide some simple and clear instructions on how I can do this? Thanks, Waspinator simple.py --- import gtk window = gtk.Window() wind

Re: [ANNOUNCE] PyGTK 2.17.0 - unstable

2009-12-28 Thread Philippe Bouige
Dans comp.lang.python.announce, vous avez écrit : > A new unstable development release of the Python bindings > for GTK+ has been released. > > The new release is available from ftp.gnome.org and its mirrors > as soon as its synced correctly: > > http://ftp.gnome.org/pub/GNO

Re: [pygtk] cannot import glib in python shell

2009-12-23 Thread John Stowers
> > I think ideally what I'm requesting is to have the mingw/python/gtk > environments to be harmonized. I'm close. I can do the following: > python > import sys > import gtk > blah = gtk.Window(0) > blah.show() > , but when I do > import glib > ERROR!!! > if I cd to a certain dir in glib sourc

pygtk - icons?

2009-11-18 Thread Helmut Jarausch
Hi, please bear in mind that I'm an absolute newcomer to (py)gtk. I'm trying to install the nice synchronization tool http://live.gnome.org/Conduit which is written in Python and use pyGTK. This installed several icons e.g. /usr/share/icons/hicolor/16x16/apps/conduit.png When ru

Re: problems on installing PyGTK in Windows XP

2009-10-29 Thread News123
f windows You can change it under: > > My_Computer->Properties->Advanced->Environment_Variables->System_Variables->Path > > > Test it: > Open a new cmd window and type > > gtk-demo > > A window should pop up. if not your installation failed > > > Now

problems on installing PyGTK in Windows XP

2009-10-21 Thread Yang
Python 2.6.3 is installed on my Windows XP throught the binary file provided by Python.org. Then I followed the steps described here: http://faq.pygtk.org/index.py?req=show&file=faq21.001.htp to install PyGTK. However, I still get the following error: >>> import pygtk >>&

Re: PyGTK problems after Linux update...

2009-09-01 Thread barcaroller
"barcaroller" wrote in message news:h7ev9g$dc...@news.eternal-september.org... > Okay, I won't disagree, but how do I fix this? Never mind. The latest update today included a new pygtk which seems to have fixed the problem. All is good now. -- http://mail.python.or

Re: PyGTK problems after Linux update...

2009-08-30 Thread barcaroller
"Thomas Guettler" wrote in message news:7fq56df2m6ql...@mid.individual.net... > Looks like your pygtk package does not fit to the installed python > package. Okay, I won't disagree, but how do I fix this? -- http://mail.python.org/mailman/listinfo/python-list

Re: PyGTK problems after Linux update...

2009-08-30 Thread barcaroller
"Thomas Guettler" wrote in message news:7fq56df2m6ql...@mid.individual.net... > Looks like your pygtk package does not fit to the installed python > package. Okay, I won't disagree, but I how do if fix this? -- http://mail.python.org/mailman/listinfo/python-list

Re: PyGTK problems after Linux update...

2009-08-28 Thread Thomas Guettler
Looks like your pygtk package does not fit to the installed python package. > from glib._glib import * > ImportError: /usr/lib/python2.6/site-packages/gtk-2.0/glib/_glib.so: > undefined symbol: PyUnicodeUCS4_DecodeUTF8 -- Thomas Guettler, http://www.thomas-guettler.d

PyGTK problems after Linux update...

2009-08-27 Thread barcaroller
I use a python-based program called 'meld' which worked fine until my latest Fedora11/KDE4.3 update; it now gives me the following error: prompt> meld /usr/lib/python2.6/site-packages/gtk-2.0/glib/_glib.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8 Meld requires p

Re: pygtk - What is the best way to change the mouse pointer

2009-08-27 Thread Ido Levy
> From: > > MRAB > > To: > > python-list@python.org > > Date: > > 26/08/2009 11:04 PM > > Subject: > > Re: pygtk - What is the best way to change the mouse pointer > > Ido Levy wrote: > > Hello All, > > > >

Re: pygtk - What is the best way to change the mouse pointer

2009-08-26 Thread MRAB
Ido Levy wrote: Hello All, I am writing a dialog which one of its widget is a gtk.ComboBoxEntry ( let's assume widget in the example below is its instance ) When the user select one of the values from the gtk.ComboBoxEntry I need to run some calculations that takes a few seconds. In order to r

pygtk - What is the best way to change the mouse pointer

2009-08-26 Thread Ido Levy
Hello All, I am writing a dialog which one of its widget is a gtk.ComboBoxEntry ( let's assume widget in the example below is its instance ) When the user select one of the values from the gtk.ComboBoxEntry I need to run some calculations that takes a few seconds. In order to reflect calculation

Re: PyGtk Depends on Numeric

2009-07-10 Thread Aahz
In article <1ebe9314-9434-459a-bd3e-2b2386a35...@n11g2000yqb.googlegroups.com>, dieter wrote: > >Get with the times people and port to numpy. :P >Don't you think its about time? Are you trying to get something to happen or just posting a random drive-by? -- Aahz (a...@pythoncraft.com)

PyGtk Depends on Numeric

2009-07-09 Thread dieter
Get with the times people and port to numpy. :P Don't you think its about time? ~Pete -- http://mail.python.org/mailman/listinfo/python-list

About dictionary in combobox in pygtk

2009-05-21 Thread shruti surve
hi all, My data has thousands of entries. I 'd like to feed the combobox with dictionary.how to use dictionary in combobox? Regards, shruti surve -- http://mail.python.org/mailman/listinfo/python-list

Re: xml menu pygtk

2009-05-16 Thread Seb
On May 16, 5:04 pm, MRAB wrote: > Seb wrote: > > On May 16, 4:20 pm, MRAB wrote: > >> Seb wrote: > >>> I'm trying to construct a menu from an xml file. However my recursive > >>> algorithm isn't doing what I want it too. I've been starring at this > >>> for too long. Any help appreciated :) > >>>

Re: xml menu pygtk

2009-05-16 Thread Seb
On May 16, 5:04 pm, MRAB wrote: > Seb wrote: > > On May 16, 4:20 pm, MRAB wrote: > >> Seb wrote: > >>> I'm trying to construct a menu from an xml file. However my recursive > >>> algorithm isn't doing what I want it too. I've been starring at this > >>> for too long. Any help appreciated :) > >>>

Re: xml menu pygtk

2009-05-16 Thread MRAB
Seb wrote: On May 16, 4:20 pm, MRAB wrote: Seb wrote: I'm trying to construct a menu from an xml file. However my recursive algorithm isn't doing what I want it too. I've been starring at this for too long. Any help appreciated :) I get the following error but the problem is more of a logical

Re: xml menu pygtk

2009-05-16 Thread Seb
On May 16, 4:20 pm, MRAB wrote: > Seb wrote: > > I'm trying to construct a menu from an xml file. However my recursive > > algorithm isn't doing what I want it too. I've been starring at this > > for too long. Any help appreciated :) > > > I get the following error but the problem is more of a log

Re: xml menu pygtk

2009-05-16 Thread MRAB
Seb wrote: I'm trying to construct a menu from an xml file. However my recursive algorithm isn't doing what I want it too. I've been starring at this for too long. Any help appreciated :) I get the following error but the problem is more of a logical nature. ./gnomeAppletMenu.py:40: GtkWarning:

xml menu pygtk

2009-05-16 Thread Seb
I'm trying to construct a menu from an xml file. However my recursive algorithm isn't doing what I want it too. I've been starring at this for too long. Any help appreciated :) I get the following error but the problem is more of a logical nature. ./gnomeAppletMenu.py:40: GtkWarning: gtk_menu_shel

Re: PyGTK and skins?

2009-03-29 Thread Emanuele D'Arrigo
On Mar 29, 12:28 am, Cousin Stanley wrote: >     You might try the pygtk mailing list available >     via the  news.gmane.org  server Than you Stanley, much appreciated! Manu -- http://mail.python.org/mailman/listinfo/python-list

Re: PyGTK and skins?

2009-03-28 Thread Cousin Stanley
> Is GTK/PyGTK able to support application-based (rather than os-based) > skins? I.e. round corners, redesigned scrollbars, arbitrarily shaped > buttons and so on? > Manu You might try the pygtk mailing list available via the news.gmane

PyGTK and skins?

2009-03-28 Thread Emanuele D'Arrigo
Hi everybody, Is GTK/PyGTK able to support application-based (rather than os-based) skins? I.e. round corners, redesigned scrollbars, arbitrarily shaped buttons and so on? Manu -- http://mail.python.org/mailman/listinfo/python-list

Re: [python-list] Re: Strange crash issue on Windows w/ PyGTK, Cairo...

2009-03-23 Thread CJ Kucera
CJ Kucera wrote: > Okay, I've got a reproducible testcase of this available up here: > http://apocalyptech.com/pygtk-zlib/ > > I'm no longer *totally* convinced that it's a zlib issue... zlib's call > actually returns a valid string, and the error happens la

Re: [python-list] Re: Strange crash issue on Windows w/ PyGTK, Cairo...

2009-03-19 Thread CJ Kucera
CJ Kucera wrote: > Okay, I've got a reproducible testcase of this available up here: > http://apocalyptech.com/pygtk-zlib/ Hello, two brief notes here: 1) Someone on the PyGTK list mentioned that I should really be using StringIO instead of my own hacky attempt at one, in there, and o

Re: Strange crash issue on Windows w/ PyGTK, Cairo...

2009-03-19 Thread CJ Kucera
totally kosher. Okay, I've got a reproducible testcase of this available up here: http://apocalyptech.com/pygtk-zlib/ I'm no longer *totally* convinced that it's a zlib issue... zlib's call actually returns a valid string, and the error happens later in the app. I've yet

Re: [python-list] Re: Strange crash issue on Windows w/ PyGTK, Cairo...

2009-03-18 Thread CJ Kucera
bieff...@gmail.com wrote: > If you have worked with C/C++, you know that memory-related bugs can > be very tricky. > More than once - working with C code - I had crashes that disappeared > if I just added > a 'printf', because the memory allocation scheme changed and the > memory corrupted was not

Re: Strange crash issue on Windows w/ PyGTK, Cairo...

2009-03-18 Thread bieffe62
> > Okay...  I assume by "C extension" you'd include the PyGTK stuff, right? > (ie: pycairo, pygobject, and pygtk)  Those are the only extras I've got > installed, otherwise it's just a base Python install. > > Would a bad extension really cause this kind o

Re: [python-list] Re: Strange crash issue on Windows w/ PyGTK, Cairo...

2009-03-18 Thread MRAB
CJ Kucera wrote: bieff...@gmail.com wrote: It looks like some of the C extension you are using is causing a segfault or similar in python interpreter (or it could be a bug in the interpreter itself, but it is a lot less likely). Okay... I assume by "C extension" you'd include

Re: [python-list] Re: Strange crash issue on Windows w/ PyGTK, Cairo...

2009-03-18 Thread CJ Kucera
bieff...@gmail.com wrote: > It looks like some of the C extension you are using is causing a > segfault or similar in python > interpreter (or it could be a bug in the interpreter itself, but it is > a lot less likely). Okay... I assume by "C extension" you'd include

Re: Strange crash issue on Windows w/ PyGTK, Cairo...

2009-03-18 Thread bieffe62
On Mar 18, 6:20 am, CJ Kucera wrote: > Hello list! > > I'm having a strange issue, and I'm not entirely certain yet where > the actual problem is (ie, Python, PyGTK, or gtk+), but I figure I'll > start here.  Bear with me, this'll probably be a long explanati

Strange crash issue on Windows w/ PyGTK, Cairo...

2009-03-17 Thread CJ Kucera
Hello list! I'm having a strange issue, and I'm not entirely certain yet where the actual problem is (ie, Python, PyGTK, or gtk+), but I figure I'll start here. Bear with me, this'll probably be a long explanation... I've been building an app which is meant to be run

  1   2   3   4   5   >