On Wed, 4 Oct 2000, Martin Grimme wrote:
Hello,
again I've got a weird question:
When I draw pixmaps onto a GdkDrawable using draw_pixmap(),
transparency will be completely ignored. Is there any way around
this? I want to draw pixmaps _with_ transparency onto a GdkPixmap.
It seems to
On Sat, 30 Sep 2000, Alexandre Fayolle wrote:
Hi,
I'm experiencing incoherent behaviour in pygtk 0.6.6 with GtkCTreeNode
objects. Depending on where they come from, they do not behave in the same
fashion. Specifically, it is not possible to access the attributes
described in
On Thu, 28 Sep 2000, Dave Belfer-Shevett wrote:
Hey folks. I sent this to glade-users, and perhaps its more appropriate
for this list. Any ideas?
---. Web-based problem management: www.stonekeep.com
Dave Belfer-Shevett
On Wed, 27 Sep 2000, D-Man wrote:
What if Python switched to gc instead of ref counting?
I have heard of a good gc freely available for C/C++ written by Hans Boehm.
From what I've read it works about as good as the malloc/free implementations, but
without the developer's headaches with
On Wed, 27 Sep 2000, David Arnold wrote:
--"James" == James Henstridge [EMAIL PROTECTED] writes:
James On Wed, 27 Sep 2000, D-Man wrote:
What if Python switched to gc instead of ref counting?
James There is almost no chance of adding another GC to the mix for
J
On Tue, 26 Sep 2000, Hilaire Fernandes wrote:
Hi,
I wish that in futur vesion of PyGnome it will be possible to pass
user data in the ok_cancel, question, request_string methods of the
GnomeApp object, it's a very elegant way of passing user data to the
callback and a miss feature in the
On Mon, 18 Sep 2000, Eric Gillespie, Jr. wrote:
With Gnome-Python 1.0.53 from Debian unstable, i can't seem to
attach any data to a row in a CTree. I don't know of any other
way to find what the user selected. Even if i were to catch the
selection signal, i would still have the same problem
On Wed, 6 Sep 2000, Hugo Varotto wrote:
Hi to all,
while writing a small program in Python using GTK and libglade, I found
a strange behaviour with CLists created with libglade. If I try to
append data to a clist, no matter what string I put in the "append"
instruction, the clist only
On Tue, 5 Sep 2000, Alexandre Fayolle wrote:
How can I get the parent of a node in a CTree ?
I want to insert a node as a sibling of the node that's been clicked, but
tree.insert_node cannot take a None parameter for the parent and a
non-None parameter for the sibling (I get Gtk-CRITICAL **:
On Fri, 1 Sep 2000, Martijn Faassen wrote:
Hi there,
Yesterday I was playing with PyGTK again. Since I was doing some
formatting of fonts on the canvas, eventually I was interested in
getting information about the font dimensions and such.
Unfortunately, much (most?) of GDK does not
On Tue, 29 Aug 2000, Martin Glueck wrote:
Is there any other possibility to react on a special key-combination
?
I know that I could use the `KEY_DOWN' signal and check the code, but
this seams to be very inefficient (especially if you use it for an
entry)
In the case of
On Mon, 28 Aug 2000, Martin Grimme wrote:
Hello,
I want to get the current size of a container widget (like GtkHBox or GtkLayout).
Is there any possibility to get these values at runtime?
I can get the size of a window by using the configure-event, but this doesn't seem
to work for
On Tue, 22 Aug 2000, Frank Warmerdam wrote:
James,
I have encountered a problem using GdkColormap.alloc() on IRIX and Sun systems,
and I believe it is because of your unwarranted assumption that the red, green,
and blue components of a GdkColor are ints, when they are in fact shorts.
On Tue, 22 Aug 2000, Choi He Chul wrote:
Hello.
I want use po ( gmo? )
for i18n ...
I can Use It?
There is a gettext module included in gnome-python which you can use to do
this. There will be a version of this module included in python-2.0
(which is being discussed at the moment
On Sun, 20 Aug 2000, Jens P. Elsner wrote:
Hi,
I tried to write bindings for the mozilla embedding widget,
but the problem is that I'm not good at C and I dont understand the
reference counting concept. Can someone explain that in a few
sentences please ?
Other than that, the stuff I
On Fri, 11 Aug 2000 [EMAIL PROTECTED] wrote:
Hi all !
I would like to know how is organized the development of pygtk bindings, and
what you are planning to do . I remenmber a thread about this in this mailing
list, but I don't know if it is still the case. So my questions are :
1/
On Wed, 9 Aug 2000 [EMAIL PROTECTED] wrote:
Greetings,
Can anybody suggest a fixed size font (the "syntax" seems to be awkward).
Why :
I have this text viewer in my app which is supposed
to be used to examine some generated ascii files (containing columns of
numbers).
Use a
On Tue, 8 Aug 2000, Javi Roman wrote:
Good, that seems that it works, but I talk about to a GtkList and not a
GtkCList.
Note that in almost all cases it is better to use a CList than a
GtkList. If you are going to have a substantial number of rows, then
CList will handle it a lot better (if
On Tue, 8 Aug 2000, Torsten Landschoff wrote:
On Wed, Aug 02, 2000 at 09:45:37AM +0800, James Henstridge wrote:
This problem can be fixed by either modifying the python executable or the
imlib build process. You either need to modify imlib so that the image
loading modules link
On Tue, 8 Aug 2000, Torsten Landschoff wrote:
On Wed, Aug 02, 2000 at 09:45:37AM +0800, James Henstridge wrote:
This problem can be fixed by either modifying the python executable or the
imlib build process. You either need to modify imlib so that the image
loading modules link
On Fri, 4 Aug 2000, Ben Escoto wrote:
I would like to fill a GnomeCanvasItem on the GnomeCanvas with an
xpm. How is this done? The Gnome User Interface API documentation
says that, for instance, GnomeCanvasEllipse takes a GdkWindow object
as the fill_stipple argument, and
On Sat, 5 Aug 2000, Ben Escoto wrote:
"JH" == James Henstridge [EMAIL PROTECTED]
wrote the following on Sat, 5 Aug 2000 17:04:23 +0800 (WST)
I would like to fill a GnomeCanvasItem on the GnomeCanvas with
an xpm. How is this done?
JH A stipple is a bitmap, so unless
On Tue, 1 Aug 2000, Mitch Chapman wrote:
Well-put, but my customer wants mode*less* dialogs.
They want to be able to continue working with the main
application after the dialog appears.
Imagine a window full of thumbnail vector images. A single
left-click on a thumbnail brings up a
On Wed, 2 Aug 2000, Torsten Landschoff wrote:
On Tue, Aug 01, 2000 at 10:47:35PM +0200, YuRiX wrote:
hy guys, sorry for my english ... it's orrible i know
No problem, but another thing bothers me: As you are using Debian you
should report this bug to the Debian BTS using reportbug
On Wed, 26 Jul 2000, Mitch Chapman wrote:
I'm not sure where to ask this, so will bug you all. :)
I'm working on a pygtk application which has a main window and
several modeless dialogs. The customer has requested that the
modeless dialogs always stay in front of the main window, but
On Tue, 18 Jul 2000, Martijn Faassen wrote:
James Henstridge wrote:
On Mon, 17 Jul 2000, Martijn Faassen wrote:
[snip]
Unless I am mistaken, urllib is a syncronous interface, so it will not
return until it has completed the transfer. This means your application
will not process any
On Mon, 17 Jul 2000, Martijn Faassen wrote:
Hi there,
I've run into an odd problem with urllib.urlopen() apparently taking a *lot*
more time when used through PyGTK (using LibGlade and Gnome) than when
I call the same routine through python only. In fact, if I call
urlopen() through the
On Thu, 29 Jun 2000, Deirdre Saoirse wrote:
On Tue, 20 Jun 2000, Aaron Optimizer Digulla wrote:
I, for example, cannot use gnome but I use pygtk. Therefore,
I depend on an independend pygtk package (a .tar.gz to be precise).
The reason for this is: I'm developing in a tight/secure
On Tue, 27 Jun 2000, Jon August wrote:
I'm trying to install ECLiPt Roaster and one of the dependencies is pygtk
- when I try to install it, I get this on the configure:
checking for headers required to compile python extensions... not found
configure: error: could not find Python
On Mon, 26 Jun 2000, Fred L. Drake, Jr. wrote:
For quite a while, I have been passing function pointers around as
CObjects in the modules (eg. gtk._gtk._PyGtk_API in the 0.7.0 release),
which means that the different wrapper modules don't need to see each
other's symbols.
I just got the HEAD branch of gtk+ compiled on my system, so was thinking
of starting off binding it. One of the new features is the GObject
system, which is what the GtkObject stuff is based on in gtk+-1.3.
It provides a non GUI base for objects. I have been wondering about
whether to put the
On Fri, 23 Jun 2000, Hassan Aurag wrote:
Ok even though I have those headers at the place it expects them, I get
this error when running configure.
checking local Python configuration... looks good
checking for headers required to compile python extensions... not found
I have put a new snapshot of pygtk available at:
ftp://ftp.daa.com.au/pub/james/python/pygtk-0.7.0-unstable-dont-use.tar.gz
This version adds support for GtkGLArea and libglade. These were pretty
easy add using the new code generator. In future, it should be very easy
to add support for new
On Tue, 20 Jun 2000, Aaron Optimizer Digulla wrote:
Ok, a bit late but nonetheless: pygtk 0.6.6 and 0.7.0 don't work on AIX
anymore. There are several reasons for this:
1. The names of the files are wrong. pygtk creates libmodule.so.0 which
python cannot find. The name must either be
On Tue, 20 Jun 2000, Bellamy Bruno wrote:
Hi there...
I'm trying to catch the key_release event in a GtkText, so I had to
use a mygtktext.add_events(GDK.KEY_RELEASE_MASK).
But it seems to work only after I start by clicking in
the GtkText with the mouse. Otherwise, no key_release event is
On Sun, 11 Jun 2000, Deirdre Saoirse wrote:
On Mon, 12 Jun 2000, James Henstridge wrote:
If you don't have esound installed on your system when compiling
gnome, it won't use it. If it was installed and you don't want gnome
to use it, start the control center and go to the sound
On Wed, 7 Jun 2000, Niklas Saers Mailinglistaccount wrote:
Hi. When I do a
import gnome.ui
(or applet or capplet) or even just
python /usr/local/lib/python1.5/site-packages/gnome/ui
then I get first Permission denied to /dev/dsp0 (which is ok since I don't
have a soundcard which is
As you may have noticed, there was a bit of downtime this afternoon when I
was upgrading (both hardware and software -- it is not a Pentium 200 :)
the server this list runs on. As part of the upgrade, I changed over to
mailman for management of the mailing list.
The list info page is available
On Wed, 31 May 2000, Phillip Ezolt wrote:
Hi all,
When using Ctree trying to read text from the 0th row, pygtk
generates an execption.
However, if I access row 1 and above things work fine.
I have data in row zero, so what's wrong?
Here's the stack trace.
On Tue, 30 May 2000 [EMAIL PROTECTED] wrote:
Greetings all,
I have a window W and a children C which after a
C.set_transient_for(W0 stays always on top of the parent. The problem is
when I minize the parent (W), both windows are minized (THIS IS VERY
NICE).
My problem is when I
On Thu, 25 May 2000, Harry Henry Gebel wrote:
How do I stop mainloop from catching exceptions?
Set the PYGTK_FATAL_EXCEPTIONS environment variable before running your
application. This way, when an exception occurs, the main loop will be
exited (recursively if necessary).
James.
--
On Thu, 25 May 2000, Harry Henry Gebel wrote:
How do I make a GtkText widget start a new line when the end of the current
line is reached? I tried turning word wrap on, line wrap on, and word wrap
and lone wrap both on, but all of these settings keep the text as one line;
although some of
On Fri, 26 May 2000, Aaron Optimizer Digulla wrote:
On Thu, May 25, 2000 at 09:59:47AM -0600, Joe Van Andel wrote:
I tried window.queue_resize(), but it made no difference. I also tried
the following, where self.__table is packed inside self.__vbox, and it
didn't help, either.
??
On Fri, 19 May 2000 [EMAIL PROTECTED] wrote:
[Python 1.6a2, pygtk-0.7.0, gtk+1.2.7, Suse Linux 6.1(2.2.11), pentium]
How does one simply get a color object to set the background of a widget?
I.e.:
from _gtk import *
from GTK import *
why are you importing these modules directly?
On Tue, 16 May 2000, George Young wrote:
[Solaris 2.5.1, Python-1.6a2, pygtk-0.7.0]
make and install seemed to go fine, but examples/simple/hello1.py says:
Traceback (most recent call last):
File "./hello1.py", line 17, in ?
gtk_init()
NameError: gtk_init
This example
On Mon, 15 May 2000, Luca Minuti wrote:
I havn't found a "double click" signal to use with the connect method.
If true, how can I handle a double click over an item of a GtkCList?
I have another problem, I need a subclass of GtkCList that fire a
custom signal under certain condition, but I
On Wed, 10 May 2000 [EMAIL PROTECTED] wrote:
Hi,
Can anybody tell me which event occurs when a window is being
resized ? (I tried "rsize_event" but with no success")
Connect to the size_allocate signal on the window. You may have to use
connect_after so that your handler is called
On Thu, 11 May 2000, Fred L. Drake, Jr. wrote:
James Henstridge writes:
Connect to the size_allocate signal on the window. You may have to use
connect_after so that your handler is called after the GtkWindow has run
Is this better than using the configure_event (that's what I used
On Tue, 9 May 2000, Tom Cato Amundsen wrote:
In my eartraining program, I have the (bad?) habit of using multiple
inheritance:
class ChordBox(gkt.GtkHBox, DataStorage):
def __init__(self, name):
gtk.GtkHBox.__init__(self)
DataStorage.__init__(self, name)
On Tue, 9 May 2000, Tom Cato Amundsen wrote:
James Henstridge wrote:
This is due to the use of ExtensionClass. I am not sure how to fix this
properly. This is mentioned in the ExtensionClass.stx file included in
the tarball. You can get your code to work with:
DataStorage
On Mon, 8 May 2000 [EMAIL PROTECTED] wrote:
Greetings,
Does anybody know how to put underscores under a selected letter
of the items in a menu bar ? (You know the now traditional _File
-underscore under F- means altF should pop-down the File menu...
By the way I do not want to add
I have put up another tarball of the new extension class based pygtk. It
is available at:
ftp://ftp.daa.com.au/pub/james/python/pygtk-0.7.0-unstable-dont-use.tar.gz
As before, it is not yet ready to replace the 0.6.x versions of pygtk, but
it is getting better. You will probably find that a
On Mon, 8 May 2000, Tom Cato Amundsen wrote:
James Henstridge wrote:
I have put up another tarball of the new extension class based pygtk. It
is available at:
ftp://ftp.daa.com.au/pub/james/python/pygtk-0.7.0-unstable-dont-use.tar.gz
It seems like you missed gtk/gdk.defs. Only
On Mon, 8 May 2000, Tom Cato Amundsen wrote:
James Henstridge wrote:
I have put up another tarball of the new extension class based pygtk. It
is available at:
ftp://ftp.daa.com.au/pub/james/python/pygtk-0.7.0-unstable-dont-use.tar.gz
It seems like you missed gtk/gdk.defs. Only
On Sat, 6 May 2000, George Farris wrote:
I want to pop up a window, make sure it's shown fully on the screen
and then execute some other code. When that code is finished I will
destroy the pop up window. I've tried the following:
gm = GnomeMessageBox(message='Please wait')
gm.show()
On Wed, 3 May 2000 [EMAIL PROTECTED] wrote:
Greetings,
Does anybody know why a menu bar fails to be packed into a box.
I have successfully packed buttons into a box but a menubar created with
myMenuBar = gtk_menu_new() failed to be packed in tghe same box !!!???
A GtkMenu is a
On Thu, 4 May 2000, Hassan Aurag wrote:
Hi,
When you want to test whether /dev/dsp is properly configured you just
"cat somewave /dev/dsp"
Now what do I do if I want to test a /dev/ttyS(0-3). I tried to cat
AT and read if there is an OK answer, but it doesn't seem to work this
On Sun, 30 Apr 2000 [EMAIL PROTECTED] wrote:
Hi
I know that the question has already been asked but I definitively
don't succeed in having libglade.py working properly on gnome
widgets.
The libglade I have on my system is probably good as I am able to
make it work with gnome widget
On Thu, 27 Apr 2000 [EMAIL PROTECTED] wrote:
The 'configure' script needs updating:
arrayobject.h now is included as
#include Numeric/arrayobject.h
Well, the numeric python features for the extension class based pygtk are
not implemented yet, but I should fix this.
Are you planning to
On Wed, 26 Apr 2000, Joseph VanAndel wrote:
So, if I need to wrap gtk+extra now, should I just use SWIG, but plan on
using ExtensionClass later?
If all you want to do is use the GtkExtra widget library with python, go
to:
http://home.pages.de/~voegele/gtkextra.html
(this link is in the
There is a function urllib.basejoin(base, url) that will convert a base
URL and a possibly relative url and give you an absolute one.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Mon, 10 Apr 2000, Hassan Aurag wrote:
Hi,
I am using gnome-python the
Thanks for this patch. I have applied it and added support for keyword
arguments to a lot of the functions in the gtk.override file. I was able
to run the examples/ide/browse.py example almost without modification
(just adding `import ltihooks' to the top, as I was running it from the
build
I have just released pygtk-0.6.6 and gnome-python-1.0.53. It is mainly
bug fixes. The gtkhtml module should work correctly now (it uses
gnome-config to find the libraries to link with). It also uses the CVS
version of automake (automake-1.4a) rather than my old automake patches,
and also uses
On Fri, 7 Apr 2000, lf11 wrote:
James Henstridge wrote:
clist.get_row_data(row) returns the data you set with
clist.set_row_data(row, data). If you want to get the text in a cell of
I used clist.append(row, data). clist.get_row_data(row) returns 'None',
not the data in row. Should
not yet (I will probably add support when I get a bit further along with
the rewrite).
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Fri, 7 Apr 2000, wrobell wrote:
Any python module for gnome bonobo?
wrobell [EMAIL PROTECTED]
-
To unsubscribe: echo
I have done a bit more work on ExtensionClass based pygtk, and have got to
a stage where others may want to try it out. I put together a tarball for
people who don't have CVS access, or don't want to use it. It is
available at:
I just thought I would post a message saying that the extensionclass based
rewrite of pygtk is going pretty well. In fact, you should even be able
to test it for very simple things.
If you want to do this, here are some instructions:
Checkout the extension-class branch of pygtk. This can be
Well, most of what is in gtk.py is being moved to a C extension module.
The types you create in an extension module are not class like, so you
can't subclass them for instance. ExtensionClass is a bit of code that
allows you to create types that can be subclassed.
This way, I can autogenerate
On Sat, 25 Mar 2000, Michael Lauer wrote:
On Thu, 23 Mar 2000, Fred L. Drake, Jr. wrote:
Well, I'm not sure how much breakage would be, but it's certainly not up
to James alone: Gtk+ 1.4 is sure to break code anyway. As PyGTK is still
young, I think there is still hope to fix those
On Thu, 23 Mar 2000, Moshe Zadka wrote:
As long as you're breaking things anyway, let me suggest one change:
have the "Gtk" prefix stripped from the classes' names (GtkText - Text,
etc) and recommend that Gtk is imported via
import Gtk
And accesed via
Gtk.Text()
(Simillarily for
I have just put out pygtk-0.6.5 and gnome-python-1.0.52. Here is a list
of some of the changes:
pygtk:
- more reference leaks fixed.
- crashes when changing window properties with 16 or 32 bit data
formats fixed.
- some libglade wrapper fixes.
- various other fixes.
That is the only way to explicitely set the program name and version. In
a future version, it will probably require doing something like:
import gnome.ui, gnome.whatever # import all gnome components used ...
gnome.init('program-name', 'version')
It is necessary to import gnome.ui before
The string for rc_parse_string() is the same format as the rc files. It
basically allows you to embed an rc file in your application. Here is an
example:
rcfile = """
style "default_style"
{
bg[NORMAL] = { 0.5647, 0.6902, 0.6588 }
bg[ACTIVE] = { 0.49, 0.60, 0.57 }
bg[PRELIGHT] = { 0.67,
There is a gettext module included with gnome-python. It is fairly
similar to the C API, but has some problems with big endian architectures
at the moment (this will be fixed).
You can use it like so:
import gettext
_ = gettext.gettext
gettext.bindtextdomain("translation-domain",
about using something that autogenerates
python bindings. I think Havoc worked on it or something.
Do you have more info on this. I'd love to tackle bindings for
bonobo!
Original Message
On 3/4/00, 7:53:42 PM, James Henstridge [EMAIL PROTECTED] wrote
regarding [pygtk] Re: BOUNCE
I am sorry about not applying your patches before. I have been doing a
bit of work to fix some of those problems though.
I am currently working on changing pygtk over to use ExtensionClass to
simplify things (no more self._o :), and I am moving over to a package
structure at the same time,
There isn't a style.red attribute. To create the colour red in the
colormap used by the widget, use one of the following:
red = widget.get_colormap().alloc('red')
red = widget.get_colormap().alloc('#ff')
red = widget.get_colormap().alloc(0x, 0, 0)
All these forms are equivalent
The adjustment for the GtkText widget represents the position in the text.
You can set its value with the set_value() method. Something like:
adj = text.get_vadjustment()
adj.set_value(adj.upper - adj.page_size)
This should adjust where the scrollbar thumb is positioned and the
position in
There were some threading bugs in some early versions of gtk+
(specifically with events_pending() and mainiteration()). You should
really use gtk+ = 1.2.4. I should have this check in the configure
script.
The other possible difference between the mandrake is if one was compiled
with threading
It is the gnome code that is doing this. I will be fixing this up when
moving to gnome-libs-2.
Currently the way to do this is to parse the arguments before importing
gnome.ui, and remove all but the gnome/gtk ones.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On
You can use the set_modal method of any GtkWindow derived class:
window.set_modal(TRUE)
When the dialog is shown, it will act as any other dialog, but no other
window can take input. It will loose modality when it is hidden or
destroyed.
Unless you really have to it is probably better not to
2000, Moshe Zadka wrote:
On Fri, 25 Feb 2000, James Henstridge wrote:
You can use the set_modal method of any GtkWindow derived class:
window.set_modal(TRUE)
Thanks.
Unless you really have to it is probably better not to use a modal dialog,
as most users prefer non modal dialogs
In more complex Tkinter projects, that rule does not seem to be followed.
Usually you may want to subclass an existing widget to get some special
behaviour. In both pygtk and Tkinter cases, subclassing a widget is the
easiest way of achieving this.
I don't really have any specific
Yes that is a bug. For simple bug fixes where the fix is obviously
correct, there shouldn't be a problem commiting the fixes directly to CVS.
You may as well commit the last few patches you posted to the list.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Mon, 21
: Tue, 22 Feb 2000 21:55:53 +0800 (WST)
From: James Henstridge [EMAIL PROTECTED]
To: "Fred L. Drake, Jr." [EMAIL PROTECTED]
Subject: Pygtk plans (was Re: [pygtk] Still an MDI bug in ...)
It may be helpful. Using the weak referenced GtkObjects we get to specify
a callback to be called
I will probably do a reorg like this. I am already making some changes to
pygtk that may not be fully compatible (these will probably be made as I
update to gtk-1.4/gnome-libs-2.0), so moving to a package layout like this
would probably be a good idea. The current layout is quite similar to how
release of GmatH after
it so people could use the new MDI look of the thing I am doing!
However if it's long, I could still tell them to replace aa by a and
all would be set!
Original Message
On 2/19/00, 10:33:24 PM, James Henstridge [EMAIL PROTECTED] wrote
regarding Re: [pygtk
I have applied the fix. It will be included in the next release. Thanks.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Sat, 19 Feb 2000, Martin Preishuber wrote:
Matt Wilson wrote:
I don't see the problem in the latest release. What are you looking
at?
Selection handling is a complicated subject, which I don't know that much
about. You probably should read some docs on X's handling of selections
before playing around with this (the O'Reilly books probably have
something about this).
If you only want to do text clipboard transfers, you could
The font attribute of the style should be a GdkFont -- not a string. To
get the GdkFont for a particular logical font name, use the load_font
procedure.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Thu, 17 Feb 2000, Javi [iso-8859-1] Román wrote:
Hi:
I need
I have just released pygtk-0.6.4 and gnome-python-1.0.51. Most of the
work for this release was done by Matt Wilson (thanks Matt :).
This release fixes a lot of reference leaks, so your programs may use less
memory. One offshoot of this is that pygtk now uses some parts of the C
API that were
This message bounced as a non member submission. If anyone has multiple
email addresses they like to post from, send a message to
[EMAIL PROTECTED] with "subscribe [EMAIL PROTECTED]" in the
body.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
-- Forwarded
The function should be returning None if you click outside of the cells,
or (row,col) if you click on a cell. I don't know why it would be acting
differently on your system.
The code in pygtk reads like this:
if (gtk_clist_get_selection_info(GTK_CLIST(PyGtk_Get(clist)), x, y,
What you want is a dictionary of the method objects. The class dictionary
will not do (as that contains unbound methods, where the self parameter
must be explicitely passed.
The instance dictionary also will not do, as it does not contain the
methods either. You would want to use some code
What do you want? The widget's prefered minimum size? If so, use:
width, height = widget.size_request()
To get the actual allocated size of the widget, use:
x, y, width, height = widget.get_allocation()
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Fri, 11
How did you start the other application? If you are using os.system()
then what you are seing is the correct behaviour -- the parent process
suspends until the child dies. If you don't want this behaviour, you will
need to do the fork/exec yourself.
Something like this:
pid = os.fork()
if
I suppose I should put in a message stating that the pyglade module is
deprecated. It is probably better to use the libglade module, which uses
libglade rather than being pure python. It handles the default_width and
default_height attributes correctly.
James.
--
Email: [EMAIL PROTECTED]
WWW:
On Sat, 22 Jan 2000, Gerald Gutierrez wrote:
Hi all.
The last release of pygtk was from a while ago. Previous to that the
releases were fairly frequent. Is this because pygtk is fairly complete
now and there isn't much more to do, or have things just slowed down
around here lately?
We
You would use the GtkCTree.node_moveto function. You probably want
something like:
ctree.node_moveto(node, 0, 0.5, 0.0)
The second argument is a column number, the third is the vertical row
alignment, and the last is the column alignment (I used 0.0 to put the 0th
column at the left of the
I wrote the gtkglarea wrapper based on what was in cvs back in july. It
will compile against the version of gtkglarea in CVS, which has the
swapbuffers function marked as deprecated, so I used swap_buffers. The
gtkglarea guy has not released a new version since then, which is why the
current
501 - 600 of 695 matches
Mail list logo