l out what I need, paste it into my projects and
> work on it from there.
I think gladepyc does a similar job.
http://www.fcoutant.freesurf.fr/gladepyc.html
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Narval, the first
th.dirname(my_application.__file__),
'my_application.glade')
It does the job, but I'm not sure that this ios the right way of doing
things. Any comments ?
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://ww
On Tue, 5 Feb 2002, Alexandre Fayolle wrote:
> So it looks like the
> GtkMenuItem
> fichier1
> GNOMEUIINFO_MENU_FILE_TREE... are
> causing a breakage somewhere, since this is where I got the
> pixmaps from.
>
> Anyone has an idea on how to solve this?
OK, answerin
On Tue, 5 Feb 2002, Alexandre Fayolle wrote:
> [alf@gemini glade]$ python glade.py grammar_editor.glade
>
> GLib-CRITICAL **: file gstring.c: line 329 (g_string_prepend): assertion
> `val != NULL' failed.
> IMLIB ERROR: Cannot allocate XImage buffer
>
> Gdk-CRITICAL
tried to upgrade to glade 0.6.4, but resolving the dependencies is
proving to be quite a nightmare, so if there's an easier way, I'd rather
try it.
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Narval, the first softwa
Does anyone here know if glc (http://glc.sf.net/) is still maintained?
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Narval, the first software agent available as free software (GPL
enables the other threads to get some CPU by forcing a
context switch. But I have not deved deep enough in the intricacies of
python threading lib and win32gtk's to be sure of what's going wrong in
the first place.
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com
You should adjust the value of the period of the timeout so that your app
still runs smoothly.
Another limitation of gtk on Win32 is that the input_add function does not
work. The callback function gets called each time an event occurs in the
app, so you should avoid it.
Alexandre Fayol
gs, using
str(number).rjust(width), where width is the max width of the column. This
should get you the list sorted correctly. If you want to use the data
afterwards, you need to convert it back to an integer.
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://
ttp://hans.breuer.org/ports/default.htm
Python 1.5.2 and 2.0 only.
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Narval, the first software agent available as free software (GPL).
___
6.8 all set, but I am having some
> problems with these 2 DLLs.
ftp://ftp.logilab.org/pub/win32/pygtk/pygtk_py21/setup.exe
This gets you an installer that sets up gtk and pygtk/libglade.
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://w
Hello,
I could not find the set_compare_func() method in the GtkCList class. How
can I sort a column holding numerical values ?
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Narval, the first software agent available as
ftp://ftp.logilab.org/pub/xmltools/
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Narval, the first software agent available as free software (GPL).
___
pygtk mailing list [EMAIL
tell me where libglade for
windows can be found I'll be glad(e) to include it. ;o)
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
___
pygtk mailing list [EMAIL
On Sun, 10 Jun 2001, James Henstridge wrote:
> On Sun, 10 Jun 2001, Alexandre Fayolle wrote:
> > I seem to have omitted some crucial piece of information : the client is
> > running on a win2K box, and the server on a linux machine. I tried to
> > reproduce this with th
On Sat, 9 Jun 2001, Alexandre Fayolle wrote:
> Now, if the input has some diacritic characters, it is properly echoed. If
> the response has some diacritic characters, it is *not* displayed in the
> GtkText widget, though the print statement on the console shows perfectly
> norma
27;m stuck, and will appreciate any input on the matter (we are supposed to
demo the piece of code on monday, and, though everything else works
fairly well, this one bug is really annoying)
TIA
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (
/win32/pygtk/
Cheers,
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
generated with Inno Setup.
The Python20 version was not tested locally, so any feedback is welcome.
It is my hope that this installer will help people using pygtk on windows.
The script to generate the installer with Inno Setup is available on
request.
Alexandre Fayolle
--
http://www.logilab
h returns float values in the [0,1] range...)
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/m
n individual row in a GtkCList
After the widget is realized, I allocate a new color:
my_col=window.get_colormap().alloc(65535,51400,51400)
and then I use list.ser_background(row,my_col), with row being the row
number of the list. Since a GtkCTree is a GtkCList, this should work too?
Alexandre Fayo
of the
application I'm working on. I think I'll give a try to gladepyc soon.
Cheers,
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
___
pygtk mailing list
this, since all GtkCList methods requiring a row number are
available in GtkCTree with the GtkCTreeNode as an argument (the name of
the method is then prefixed by 'node_'.
May I ask why you need to access this information?
Alexandre Fayolle
--
http://www.logilab.com
Narval is the firs
10:51:12) [MSC 32 bit (Intel)] on win32
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
Beware: the current version on hans.breuer.org is for python 2.0, however
an alternate version of _gtk.pyd for pythopn 1.5.2 is available. If you're
using the python 2.0 version, th
e file, but as I'm running win32
It needs the gtk+ DLLs. You can grab them from Tor Lillquist (sorry about
the spelling) win32 gtk+ port, as said on Hans Breuer's page, that is
http://user.sgic.fi/~tml/gimp/win32/downloads.html.
Alexandre Fayolle
--
http://www.logilab.com
Narval
s directly, but if I do that I end up with black
> on black. Anyone know what's going on?
Try using values between 0 and 65535 for a try. This should solve your
problem.
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent
On Thu, 11 Jan 2001, James Henstridge was catching up with his mail, and
he wrote:
> Alexandre Fayolle wrote:
> >
> > A long time ago (last millenium, that is), the supreme authority on pygtk,
> > James Henstridge, wrote:
> >
> > > you should be able to pass
/hans.breuer.org/ports, since
the current port of PyGtk for Win32 only works with Python 2.0 (there's a
.pyd file provided for Python 1.5.2 for those who need it, though).
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free soft
at 6.2 box.
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
au/msg01963.html)
I'm having troubles when adding unicode strings to a CTree:
File "c:\python20\gtk.py", line 1348, in insert_node
is_leaf, expanded)
TypeError: sequence item not a string
Is this one of the pygtk functions where unicode is not handled ?
Best wishes for 2001!
On Thu, 4 Jan 2001, Edward Muller wrote:
> How do I figure out how big a string is going to be using a font?
Use the GdkFont.extents(string) method. Check the GdkFont class in
description.py (should be in /usr/doc/pygtk-xxx) for more info.
Alexandre Fayolle
--
http://www.logilab.
On Thu, 23 Nov 2000, Alexandre Fayolle wrote:
> On Tue, 21 Nov 2000, James Henstridge wrote:
>
> > Use the input_add function. It should do what you want.
>
> OK, it works perfectly under linux. However, I'm having troubles when I
> test the code under WinNT. I g
d(self.soap_socket,GDK.INPUT_READ,
self.handle_incoming_soap_request)
Maybe ther's a problem in the pygtk win32 port, or in the gtk win32 port
itself. Any help on where to look for the bug would be precious.
Thanks
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first sof
On Tue, 21 Nov 2000, James Henstridge wrote:
> Use the input_add function. It should do what you want.
Yes, it looks great. Do you have any information about the arguments that
are passed to the callback function?
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first softw
done because this won't work on win32 for some
obscure reason. I could also add a timeout and poll from the
socket, but I'd rather not if I can avoid it.
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB
On Thu, 16 Nov 2000, D-Man wrote:
>
> For what system?
Redhat 6.2 and windows.
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
___
pygtk mailin
Is there a release of Pygtk compiled for Python 2.0 available somewhere?
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
___
pygtk mailing list [EMAIL
arval project.
The home page is http://www.logilab.org/xmltools/
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
___
pygtk mailing list [EMAIL PROTECTED]
val, which is available at
ftp://ftp.logilab.org/pub/win32/Win32Gtk-shared-libs.tgz (it features only
the required DLLs, without the header files stuff) : just unpack it to
your system32 directory (or actually anywhere in your PATH), and here it
goes.
Alexandre Fayolle
--
http://www.logilab.com
Narv
ettrace(trace)
Maybe you can adapt the test at the beginning to suit your need.
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
___
pygtk mailing list
t case what would be required to implement the thread support on
win32 ? I'm not yet very familiar with the innards of the python bindings
of gtk nor with the win32 port of GTK+, but I'm ready to get my shirt wet,
since I really need this feature. Any help/suggestion welcome.
Alexandre Fayolle
t the first one to encounter the problem. Are there any
workarounds ?
--
Alexandre Fayolle
http://www.logilab.com
LOGILAB, Paris (France).
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
7;s found in the queue, the gui
is updated.
--
Alexandre Fayolle
http://www.logilab.com
LOGILAB, Paris (France).
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
ction (where tree is a GtkCTree):
File "Narval/narval/gui/XmlEditor.py", line 125, in
add_attribute_activated
if self.tree.selection.children:
AttributeError: children
--
Alexandre Fayolle
http://www.logilab.com - "Mais où est donc Ornicar ?"
On Fri, 29 Sep 2000, Dave Belfer-Shevett wrote:
> This is -OUTSTANDING- information. I have just one teeny weeny question,
> which will cement me as a Newbie. :)
We where all newbies once.
> On Fri, 29 Sep 2000, Alexandre Fayolle wrote:
> > struct GdkEventKey
> > {
g from the key press. When text is being input, in a GtkEntry for
example, it is these characters which should be added to the input buffer.
When using Input Methods to support internationalized text input, the
composed characters appear here after the pre-editing has been com
t is fine)
Cheers
Alexandre, who might have been asking the same question just one month
ago...
--
Alexandre Fayolle
http://www.logilab.com - "Mais où est donc Ornicar ?" -
LOGILAB, Paris (France).
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
nd, I'm
interested...)
--
Alexandre Fayolle
Logilab
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
7;label 3' in that order
(instead of the expected 'label 2', 'label 1', 'label 3')
Any help appreciated (as you might have guessed, I'm trying to pack a
widget at the beginning of my VBox...)
--
Alexandre Fayolle
Logilab
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
d.
Eyrolles, ISBN 2-212-09115-X). It covers most features of GTK+ 1.2, with the
notable exception of drag and drop.
Alexandre Fayolle
http://alexandre.fayolle.free.fr
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
lusion in gtk 2.0 ? (in other words, is it
better for me to wait, or shall I start working on such things now if I
know I'll need them in some near future?)
Alexandre Fayolle
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
En réponse à Aaron Optimizer Digulla <[EMAIL PROTECTED]>:
> Quoting Alexandre Fayolle <[EMAIL PROTECTED]>:
>
> > How can I know if a GtkTreeItem is expanded ?
>
> Use ctree.get_node_info(node)[7]. It's != when the node is
> expanded.
This is a GtkCTree yo
Hello,
How can I know if a GtkTreeItem is expanded ?
Thanks
Alexandre Fayolle
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
53 matches
Mail list logo