The new gnome-python tarball is now up at:
http://ftp.gnome.org/pub/GNOME/2.0.1/sources/gnome-python/gnome-python-1.99.13.tar.gz
If you are upgrading pygtk, you should also upgrade this one (otherwise
you may experience some memory leaks when instantiating gnome widgets).
The improved
Jon Nelson wrote:
Replying to myself:
importing gtk *twice* does the trick.
What's going on there?
After the first failed import, there is a gtk module registered in
sys.modules. The second import appears to succeed, but is not correct.
On Mon, 26 Aug 2002 09:05:42 -0500
Jon Nelson [EMAIL
Joe Shaw wrote:
On Sun, 2002-08-25 at 11:52, James Henstridge wrote:
Looks like I missed it. Will have to go in the next release. Please go
ahead and commit.
Bummer. Okay, committed it. In the future, would you like patches sent
to the list, put in bugzilla, or both?
Bugzilla
Art Haas wrote:
Hi.
I'm building pygtk-2.0 from CVS, and am now getting an error
when the configuration is setting up the Makefiles ...
[ ... configure output ... ]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pygtk-2.0.pc
config.status: creating
Rob Brown-Bayliss wrote:
Hi. I am having a problem with the gnome canvas redrawing.
All works fine until I decide to show or hide some widgets on the
canvas, then it seems that the canvas is not redrawing correctly until I
mouse over the objects.
Sounds like a canvas bug. Federico has a
Rob Brown-Bayliss wrote:
On Fri, 2002-08-30 at 16:47, James Henstridge wrote:
Well, calling queue_draw() on the widgets might do what you want.
Moving the mouse over the widget essentially just changes the state and
queues a redraw.
It didn't make a difference.
The problem seems
Gansser, Martin wrote:
Hi,
I tried to compile gnome-python-1.4.4 on hpux 11.00, but get the following error
messages:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python2.2
-I/opt/gnome/include/gnome-1.0 -DNEE
D_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include
Michael Stenner wrote:
I'm interested in switching to pygtk2 (from pygtk 0.x). I'm writing a
new program so it's not a porting issue. I'm working on Red Hat 7.3
machines which have
python 1.5.2 / pygtk 0.6.9 / gtk 1.2.10
python 2.2 / pygtk 1.99.8 / gtk 2.0.2
I'd really just prefer to pick
Torsten Landschoff wrote:
Hi James,
Just built Debian packages for pygtk 0.6.11 and 1.99.13.
On Sun, Aug 18, 2002 at 09:37:16PM +0800, James Henstridge wrote:
I have just checked in changes to pygtk and gnome-python (both 1.2 and
2.0 branches) to make parallel install easier.
Here
[EMAIL PROTECTED] wrote:
Hi. I'm having a spot of trouble catching a configure event with
libglade. Sometimes I get multiple configures right in a row, and
other times I don't get any configures. The code which doesn't get me
any configure events is at
http://russnelson.com/tgrmap.py
Gansser, Martin wrote:
What arguments did you pass to gnome-python's configure script?
sorry for my first mail.
thats my build script:
#!/bin/csh -f
#
setenv CPPFLAGS -I/opt/gnome/include/libcapplet1
#
gmake distclean
./configure --prefix=/opt/gnome \
Cameron Blackwood wrote:
James Henstridge writes In message [EMAIL PROTECTED]:
|
| but I notice that the event.x and event.y that get passed to
| my DO_mouse_click method are centered around what appears to
| be the center of the mouse icon, NOT the hotspot.
|
|
| I don't think
Steve McClure wrote:
I guess this might not strictly be a PyGnome (is there a mailing list
for PyGnome) question but, is there anyway to set the hints so that I
can limit the resize to character size blocks?
I'm having a problem where some parts of the screen will become black
after executing a
Rob Brown-Bayliss wrote:
One of the ideas I tried was:
window = GtkWindow(WINDOW_TOPLEVEL)
window.set_policy(0,0,1)
window.set_position(WIN_POS_CENTER)
window.set_uposition(0,0)
window.set_usize(screen_width(), screen_height())
This works fine without any wm (e. G. starting from the fail-safe
Gansser, Martin wrote:
the file regex.h from tcltk-8.3.4 caused this problem.
Is there a workaround for this ?
It is a bit difficult to tell what to do, as I don't know what is in the
headers on your system. Do you have a different regex.h file on your
system? Maybe try temporarily
Martin Klaffenboeck wrote:
Am Fr, 2002-09-06 um 21.30 schrieb Christian Reis:
On Fri, Sep 06, 2002 at 09:03:30PM +0200, Martin Klaffenboeck wrote:
I'm reading one tutorial after an other, but I'm not able to find all
this things out...
Dude, just pick up hello world from the
Martin Klaffenboeck wrote:
Hello,
How can I tell my programm that the cursor (for keyboard input) should
jump to a specific GtkEntry widget?
entry.grab_focus()
James.
--
Email: [EMAIL PROTECTED] | Linux.conf.au http://linux.conf.au/
WWW: http://www.daa.com.au/~james/ |
Anthony Tekatch wrote:
I am using Redhat 7.2 with Ximian. I cannot easily remove esound since it
is woven into many other packages. Just installing from the esound source
did not solve any problems for me so instead I removed Gnome dependcies
from my pygtk application (gonvert) and now I don't
[EMAIL PROTECTED] wrote:
Christian Reis writes:
On Sat, Sep 07, 2002 at 01:39:50AM -0400, [EMAIL PROTECTED] wrote:
My pygtk application (mapview -- views terraserver maps) is crashing
xfree86. Presumably this is because I'm using up some resource, but I
don't know what it might be.
Seth Kurtzberg wrote:
I'm also very interested in this. I've been delaying a project to see if I
can resolve the cross platform issues with pygtk.
On Sunday 08 September 2002 16:19, Michael Gilfix wrote:
So umm, not to re-iterate, but umm, does anyone know anything about
this issue?
Michael Gilfix wrote:
Thanks for the reply James. It hit the nail. One last, but very
important question for me: Does threading currently work on
Windows? I'd like to do a port but the support wasn't there for the
old GTK series. Does anyone have a pygtk build that uses threading?
Evgeny Chukreev wrote:
Hello! [repost]
I have tried to create private signal for my class.
Now it looks like:
-- - - - -- - - - - - - - - - - - - - - - --
import gtk, gobject
class A (gtk.Window, gobject.GObject):
eek! If you just want a gtk.Window subclass, don't also subclass from
Don Allingham wrote:
In the past, I've been able to determine the width of a string before it
is displayed by using the width() method of a GdkFont. With the change
to Pango, this method no longer seems to apply. While I can get a
GdkFont, and use the string_width method, it doesn't seem to
Evgeny Chukreev wrote:
On Mon, 09 Sep 2002 15:00:01 +0800, James Henstridge [EMAIL PROTECTED] wrote:
JH Try changing your code to look like the following:
JH class A(gtk.Window):
JH __gsignals__ = { 'no_undo': (gobject.SIGNAL_RUN_FIRST, None, ()) }
JH def __init__(self):
JH
If you ran into the problem of libgnomeui not being correctly
initialised when you call gnome.init(), that problem has now been
solved. You will need to upgrade to libgnome-2.0.5 (in the 2.0.2
release candidate) in order to get the fix. Thanks go to Matt Wilson
for tracking down the
Evgeny Chukreev wrote:
Hello!
Look at the pygtk-demo.py @ appication main window.
Menubar widget is absent.
That looks like it is caused by the reference counting fixes done in
that release -- the item factory is no longer leaked, which meant that
it got destroyed when going out of scope.
Evgeny Chukreev wrote:
On Mon, 09 Sep 2002 17:27:19 +0800, James Henstridge [EMAIL PROTECTED] wrote:
JH Try changing your code to look like the following:
JH class A(gtk.Window):
JH __gsignals__ = { 'no_undo': (gobject.SIGNAL_RUN_FIRST, None, ()) }
JH def __init__(self):
JH
Don Allingham wrote:
Is there a GNOME 2 equivalent to the GNOME 1 gnome.mime package? I've
used this in the past to get the icon that matches a particular mime
type.
There will be one in the gnome.vfs module, but I haven't wrapped it yet.
James.
--
Email: [EMAIL PROTECTED] |
Art Haas wrote:
Hi.
The following small patch fixes what looks like a cut-n-paste
error. The pango_layout_get_pixel_extents() wrapper was calling
the wrong function. The patch is against the current CVS source.
Index: pango.override
Graham Ashton wrote:
Hi. I was wondering if anybody could confirm that I'm using the correct
technique to get a widget's parent container (and not necessarily it's
direct container).
My attempt (using get_ancestor()) segfaults if the widget isn't in a
container of the correct type. See below.
bitlov wrote:
Hi,
When i build a gui with glade 0.6.4, I can load it in my python program with
libglade. But with glade 1.1.1, I see that the xml glade file is incompatible
with libglade and cannot be load with GladeXML().
So, is it possible to use a gui build with glade 1.1.1 in python? And
bitlov wrote:
Thanks for your help.
In fact I was already using pygtk1.99 but i didn't know that i should use
gtk.glade.XML and not liblade.GladeXML
But I still cannot load Gnome widget, I get this :
libglade-WARNING **: Could not load support for `gnome': /usr/lib/libgnome.so:
undefined
I have checked into CVS the starts of a new binding for ORBit2 that has
a number of differences compared to the existing orbit-python module.
Depending on how things develop, I might consider switching
gnome-python to use this binding instead of orbit-python for the places
where CORBA APIs
Arjan Molenaar wrote:
Hi,
What made you decide to start from scratch and build new ORBit bindings?
Does this imply that the code will be more in line with the pygtk code?
Well, the current orbit-python code is a little crufty in places (the
IDL parsing code does some _very_ weird things ...).
torben hohn wrote:
On 26 Sep 2002 22:03:54 +0200, florian wrote:
On Don, 2002-09-26 at 09:28, torben hohn wrote:
hi...
I have a turning knob which is made from a gif animation.
so i need to load all frames from the animation and put these into
a list.
i use
Robert Laing wrote:
I get an error message
(appname:804): GLib-GObject-WARNING **: gobject.c:913: object class
`GnomeProgram' has no property named `default-icon'
when I run code along the following lines:
#!/usr/bin/env python
import gnome.ui, gtk.glade
program =
Rajarshi Guha wrote:
does naybody know an alternative site to download libglade from. The one I
got from ftp.daa.com.au:/pub/james/gnome seems to be corrupted (gzip
complains).
All current versions of libglade are available from:
http://ftp.gnome.org/pub/GNOME/sources/libglade/
For
Jon Nelson wrote:
There is a serious bug in GTK involving the CList.
Near line 2804 of the current GTK gtkclist.c file, there is some
(partially broken, commented out) code.
I have fixed the code:
if (clist-focus_row =0
(row = clist-focus_row || clist-focus_row = clist-rows))
Andrew W. Schmeder wrote:
Hi.
I am writing a pygtk-1.2 app. I have lots of interaction with GnomeCanvas and
lots of threading. For example, it is common to have a thread running which
moves, creates or destroys a widget on the canvas.
In the process of doing this I encountered a number of
Steve McClure wrote:
I'm sure I'm doing something dumb but I'm trying to simulate a notebook
page change if the notebook is already mapped and page X is already
displayed. I'm doing this because I'm loading the contents of the page
on the switch signal for that page and you don't get the signal
LDC - Pablo Endres Lozada wrote:
I've tryed to draw in a Drawing Area but the only way
that it works is suscribing the paint method to
the expose-event.
Is there anothere way to do this??
Can I paint at any time or must it be via signals?
It is best to only draw in response to an
LDC - Pablo Endres Lozada wrote:
Thanks for all your answers guys you've been really helpfull!!
Here come the question. Is there a way to bring a window to
front?
And question two:
supose you define two windows with libglade and save them in
the same file. if I start the app like this
Christian Reis wrote:
Hello there,
Asking James because he might have a good clue. In pygtk0's gtk.py, we
have:
class GtkObject:
[...]
def destroy(self, _obj=None):
_gtk.gtk_object_destroy(self._o)
and then
class GtkWidget:
def destroy(self, obj=None):
Padraig Brady wrote:
Juri wrote:
Hi,
I was going to ask about how to get Gnome widgets to work with
libglade and python but apparently I solved the problem. I've seen
other people complaining about the problem but no solution, so I
decided to post this anyway; consider it a bug report. I
John Hunter wrote:
Does someone have some example code to show me how to use draw_line or draw_lines
with line attributes, eg, GDK_LINE_DOUBLE_DASH, etc...
All drawing operations in X take a GC (which stands for graphics
context), which holds some settings used for doing the drawing. If you
Johan Dahlin wrote:
* How/Who do I send my work to?
James, again, is there something for gnome-python?
There are two options here. The first is to add the binding to pygtk or
gnome-python. The second is to distribute a stand alone package.
The main benefit of including it in
Jay Graves wrote:
Hello
I have created a test app with pygtk and glade. When I run the app the
window appears however there are many errors written to the terminal.
Can anyone tell me what these mean, and how to get rid of them.
Also, for bonus points, how come the app quits when I do a File |
Diego Anzoátegui wrote:
Hello,
When i read the pygtk-docs, says that create_tag take 2 arguments, but the
python interpreter raise an error saying that create_tag takes exactly one
argument. Another one: to insert text in TextBuffer i need a TextIter object,
but i can't create it with the
Joe Shaw wrote:
Hi,
I came across a crash in pygtk_generic_cell_renderer_get_size(). It
doesn't check to see if the arguments passed in are NULL before passing
them to PyArg_ParseTuple(), which dereferences them and crashes.
I've filed bug #97436 about it, and attached this patch to it.
Joe
Jay Graves wrote:
Your glade file makes use of GNOME widgets, but you have not initialised
the GNOME libraries. You need to call gnome.init(progname, version)
after importing the libs you want (gnome.ui, bonobo.ui, etc).
Thank you very much for your help but I am still a bit confused.
Don Radick wrote:
Hi folks -
I'm struggling to setup my RedHat 8.0 system so I can compile an
application that requires pygtk 0.6xx.
After reading the relevant FAQ section many times, I still can't get it
to work. Here's an excerpt from the FAQ:
James has added to pygtk 0.6.11, pygtk2
Graeme 'Grimace' Jefferis wrote:
Hallo there,
I've recently been installing GTK+-2 on my RedHat 7.2 system, from binary
RPMs. I run ROX as my desktop environment of choice, and its applications
tend to use pyGTK extensively; but I've run into difficulties compiling
pyGTK 1.99.13.
make halts
Tanya Brethour wrote:
I'm been reading the FAQ fro pygtk
(http://www.async.com.br/faq/pygtk/index.py?req=all#2.1) and trying to
understand exactly what I am doing wrong. (keep in mind this is more
difficult for me since I am new to python as well as gtk).
First some background information. I am
george young wrote:
[gtk+-2.1.1, pygtk-1.99.13, python-2.2.1]
Under gtk 1.x, I had been using something like:
class Openclose(gtk.GtkToggleButton):
...
minus_xpm_d = [11 11 2 1,
. c #00,
...
###]
self.minus = gtk.create_pixmap_from_xpm_d(topwin.get_window(), None,
Christian Reis wrote:
On Wed, Nov 06, 2002 at 12:49:48AM -0800, David M. Cook wrote:
On Tue, Nov 05, 2002 at 05:23:21PM +0800, James Henstridge wrote:
store = gtk.ListStore(*[str]*cols)
Whoa, slick, you can also use foo(**keys). I can get rid of all those
awkward apply
Tanya Brethour wrote:
I am writing a simple gui that has as TreeStore in it. I keep getting the
follow error multiple times. It happens a few times when the gui first
starts up and when I mouse over the columns.
(expertfe.py:25899): Gtk-CRITICAL **: file gtktreeviewcolumn.c: line 2246
Brian Warner wrote:
With gtk1/gnome1, binding the signals seems to happen when a
widget-tree is added to the AppletWidget container. So, if you add
Buttons to a GtkHBox, and then add that box to the AppletWidget, the
button-events are processed by the panel. If you first add the
GtkHBox, and
george young wrote:
[pygtk-1.99.13, gtk-2.1.1, python-2.2.1, linux]
I am just trying to set the font for a gtk.Entry. I tried:
import gtk
top = gtk.Window(gtk.WINDOW_TOPLEVEL)
top.show()
e = gtk.Entry()
sty = e.get_style().copy()
sty.font = gtk.load_font('fixed')
e.set_style(sty)
george young wrote:
On Wed, Nov 13, 2002 at 03:54:13PM +0800, James Henstridge wrote:
george young wrote:
[pygtk-1.99.13, gtk-2.1.1, python-2.2.1, linux]
I am just trying to set the font for a gtk.Entry. I tried:
import gtk
top = gtk.Window(gtk.WINDOW_TOPLEVEL)
top.show()
e
John Hunter wrote:
I have a problem that has cropped up in a couple of different
circumstances.
1) I have a GtkDialog above my GtkWindow and I want to drag it off to
the side of the main window to use some controls in the dialog.
The draq across the window triggers a large number of
Werner Hartnagel wrote:
Hi,
I'll try to compile the recent pygtk-0.6.11 with Mandrake9.
configure tell me he found the importend libs but
when I try to compile, the file libGL.la is still missing.
I have only the following files in my /usr/X11R6/lib/ folder:
ls /usr/X11R6/lib/libGL*
Jay Graves wrote:
Hello
I wrote a while ago with this problem, but I didn't have my system
configured properly. Now I believe I do, and the problem still exists.
I am running Debian (Sid) with
Python2.3
python2.3-gnome2 1.99.13
python2.3-glade2 1.99.13
python2.3-gtk2 1.99.13
I have a
I have checked in wrappers for the glib timeout, idle and IO event
handling functions into pygtk, and removed the (deprecated) gtk
equivalents. I have left in compatibility names, so no programs should
break. This change gets rid of the last use of the strongly deprecated
GtkArg and
Rene Olsthoorn wrote:
(Sorry, my first mail contained HTML)
Dear list-reader,
I've several widgets which need to be filled with contents from the database. So, I want to link a table- and columnname with several widgets. The easiest way to do that seems to me a encoding in the widgetname. So a
I have switched the default owner of new bugs submitted for
pygtk/gnome-python to an alias, so if you want to receive bug mail on
all pygtk bugs without having to manually add yourself to the CC list,
you now can.
Simply do the following:
1. log into bugzilla
2. go to the email settings
Rene Olsthoorn wrote:
Dear list-reader,
Using: pygtk 1.99.13(CVS of yesterday)
The GTK C reference says a GTKTreeIter has 4 attributes:
stamp, user_data, user_data2, user_date3
In Python however, the TreeIter object is not able to reach the attributes. So, I cannot tell what data is selected
John Hunter wrote:
John == John Hunter [EMAIL PROTECTED] writes:
John I do have python installed in c:\py21 (PythonWare) and a
John working gtk (I can run the gimp -- cool).
OK, I just installed python22 from python.org but had the same
problem. Then I noticed py2.1 in the
Christian Reis wrote:
On Sat, Nov 23, 2002 at 03:30:37PM +0100, Grzegorz Adam Hankiewicz wrote:
Last time I checked the faq said something strange about not using
gettext, using intl, then using again gettext :-? So I took an
example from the pygtk directory and started hacking it until I
Stephen Kennedy wrote:
Loading non-utf8 or non 7 bit ascii into a textbuffer gives this
error, and no text is displayed in the textview.
How can I check if this has happened (the buffer still reports
the correct length) and what should I do if it does happen?
Ask the user for a fallback
Christian Reis wrote:
On Sun, Nov 24, 2002 at 06:16:56PM +0100, Marc Recht wrote:
Scintilla 1.48 has been GTK2 enabled for a while now, and 1.49 now
supports Unicode. Only the port of the wrapper GtkScintilla to GTK2 is
needed and we are in business. Anybody already working on that ?
[EMAIL PROTECTED] wrote:
John Hunter [EMAIL PROTECTED] writes:
But I get an error when I run my code that I am not sure what to do
with. The code runs fine under linux. When I run it on win32, I get
a popup error on the call to win.show(), which reads:
GLib-ERROR**: gmem.c: 141:
John Hunter wrote:
If I have a dialog with a button, and add a label to the button, the
dialog box can take 30-60s to load. For example, with the
helloworld.py example code in the tutorial:
http://www.moeraki.com/pygtktutorial/pygtk2tutorial/examples/helloworld.py
if I comment out the button
Markus Jais wrote:
hello
I just checked out the latest pygtk version from CVS.
there is no configure so I tried:
./autogen.sh
You must have automake installed to compile PyGTK.
Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz
(or a newer version if it is available)
but automake
Dave Reed wrote:
to find the support modules provided by libgnomeui, libbonoboui, etc
(probably /usr/lib/libglade/2.0).
Thanks - that fixed it. I'm still a little confused as to why the
files in gnome-python/pygnome did not get compiled. Can someone please
list the commands for compiling
Dave Reed wrote:
On Tuesday 24 December 2002 08:51, James Henstridge wrote:
snip
Thanks - that fixed it. I'm still a little confused as to why the
files in gnome-python/pygnome did not get compiled. Can someone
please
list the commands for compiling from CVS.
The stuff
mc collilieux wrote:
that i do ! I write :
dserie = GtkEntry()
dserie.show()
dserie.grab_focus()
Very simple (?) but the cursor is not in the entry, i must click in it
(or press TAB) for beginning type the data. If I press TAB, yes the
cursor appear in the entry but not at the opening of the
I have just released new versions of pygtk, pyorbit and gnome-python,
which make up the Python bindings for the GNOME 2.0 platform. They can
be grabbed from:
http://ftp.gnome.org/pub/GNOME/sources/pygtk/1.99/
http://ftp.gnome.org/pub/GNOME/sources/pyorbit/1.99/
Florin Iucha wrote:
Hello,
I have a question about event definitions: I am trying to capture the
double click event but I cannot find the symbolic name for it.
I am using Debian and the unstable package python2.2-gnome2-1.99.13-3 .
I have searched the web and mailing list archives. In old
Martijn Brouwer wrote:
I have two versions of python installed (2.1 and 2.2) on a linux system running debian testing. For 2.1 I have PyGtk installed using the packages from the distribution, which works fine. Now I want to write a program myself using PyGtk and Gnome-Python version 1.99.13.
Martijn Brouwer wrote:
That was what I understood from the faq too, however it seems that 1.99 requires importation of pygtk before gtk even when only one version of pygtk is installed.
I have python 2.2 with gnome-python 1.99.13. On my system (debian testing) gnome-python 1.4 based on pygtk
Jesse Pavel wrote:
Hello,
I've read that timeout functions registered with gtk.timeout_add()
may be called from a separate thread; but is this true even if I
don't initialize threading with gtk.threads_init()? My plan was to
have an independent thread--that never makes GDK or GTK
calls--store
Andrew S. Townley wrote:
Hello,
I checked the list archives about this, but I'm not having any luck with
finding it. Basically, thanks to a post from James, I've got everything
working *almost* the way I want.
Here's what I'm doing:
I want to have a simple list of items in the TreeView that
Stephen Watson wrote:
I have just compiled and installed pygtk 1.99.14 on Solaris 8, and it's
broken. Running one of the examples I get:
buster:~/src/pygtk-1.99.14/examples/simple python simple.py
Traceback (most recent call last):
File simple.py, line 7, in ?
import gobject, gtk
matlactli ihuan ome acátl wrote:
Hello there.
I got a problem on a Slackware 8.1 box with dropline
GNOME
I use Python 2.2 with pygtk and python gnome.
The problem is that i cant load the module gnome.ui in
any manner i can figure.
The problem is that uimodule.la does not exist in the
system.
Omar Kilani wrote:
Hello,
I was wondering if someone could advise on a way of doing conditional
colouring of cells. Say I have:
-|--|
one | four |
-|--|
two | five |
-|--|
three| six |
And I wanted to give each cell a different colour (based on its contents
or cell
Oistein Aanensen wrote:
On Tue, 2003-01-14 at 09:44, James Henstridge wrote:
Omar Kilani wrote:
Hello,
I was wondering if someone could advise on a way of doing conditional
colouring of cells. Say I have:
-|--|
one | four |
-|--|
two | five |
-|--|
three| six
Ricardo Caesar Lenzi wrote:
Hello,
I'm testing libglade to use with my application and I have a little
doubt with Pixmaps. I have the following directory structure:
-+ App root
|
+-+ glade
|
+- pixmaps
All my pixmaps are in the 'pixmaps' diretory and all glade files are in
the 'glade'
Johan Dahlin wrote:
tis 2003-01-14 klockan 23.51 skrev John Finlay:
These aren't implemented in PyGTK 1.99.x - what's the reason? Are they
likely to be implemented in the future? A comment in gtk-types.defs
seems to indicate GTK+ 2.2.
I think it's mainly because missing GTK_TYPE_*
george young wrote:
[python-2.2.1, gtk-2.1.1 pygtk-1.99.14, linux]
How can I change the grey background of an insensitive gtk.Entry?
I tried:
self.entry = gtk.Entry()
map=self.entry.get_colormap()
red=map.alloc('red')
style=self.entry.get_style().copy()
Pablo Endres wrote:
Hi Guys,
I've been debugging an app and I think the problem
comes from un inapropriate use of this insctruccion.
I've checked around and found very little documentation
about it. Can anyone point me out on the correct use
of this instrction: when why should I use
Pawel J. Maczewski wrote:
Hi all,
As I'm developing an application in polish language, I need to have all
the texts in polish. Under Linux I used ISO-8859-2 coding foe central
european characters, but they seem to look something strange under
windows...
So, I was thinking about coding the
Roberto Cavada wrote:
I need to retrieve sensitive state of a widget.
FAQ states I can use the get_state() method, but unfortunately I could
not find any trace about that method, in my pygtk installation.
import gtk
w = gtk.Window()
w.get_state()
Traceback (most recent call last):
File
Pablo Endres wrote:
John Finlay wrote:
You need to run gtk.threads_init() in the same thread that you run
gtk.mainloop().
Thanks I set it just before the gtk.mainloop(),
but now I get this error:
C:\tmp\ssemamonWin32python gui.py
Exception in thread Thread-1:
Traceback (most recent
[EMAIL PROTECTED] wrote:
I'm trying to write a sequencer (matrix) -widget, but I seem to be hitting
a wall.
I have implemented a matrix editor using 1 large Pixmap displayed in a
gtk.DrawingArea as the grid, and then drawing notes on the
gtk.DrawingArea.window.
This approach, however, becomes
Javi Roman Espinar wrote:
Dear all,
I have a problem with the following program. When I push the button
the program shows the dialog window but doesn't show the labels whithin
the dialog. This labels are shown when the sleep(10) function ends.
Why events_pending loop doesn't work? What can I
Pablo Endres wrote:
How do I obtain a gtk.gdk.Image??
I'm trying to paint an image on a Drawing Area with DA.draw_image
I can't use a gtk.Image. Any ideas on another way of painting it or to obtain this object?
I checked the FAQ and the tutorial. Int the first there is nothing usefull and
Jesse Pavel wrote:
Hello,
I'm using a TreeView to display a list backed by a ListStore, and
make many changes to the store at one time: how do I freeze and
thaw the view to speed up these actions? I've seen the
freeze_notify/thaw_notify methods in GObject, and the
Pablo Endres wrote:
I'm trying to change the font size in pygtk-1.9.xWin32 because the default is absolutly to big, but it
is not described in the FAQ or tutorial. I tryed changinf the gtkrc file.. but it doesn't do a thing.
Create a .gtkrc file (in your $HOME directory, or maybe the
Andreas Kostyrka wrote:
Hi!
Is there any easy and fast way to convert from PIL image objects to a
pixbuf?
Not that I know of. Note that the CVS version of pygtk might help. If
you have numpy, you can now get a reference to a numpy multidimensional
array representing the pixel data in
Ahmad Baitalmal wrote:
Christian, first of all, I appreciate your friendly attitude. Sometimes
I just give up on working on a project just because I don't want to deal
with the rude comments I get back.
On Wed, 2003-01-22 at 02:46, Christian Reis wrote:
Hey Ahmad, nice work. I'll let Johan
501 - 600 of 695 matches
Mail list logo