On Wed, Mar 30, 2005 at 10:49:45AM -0500, Saurabh Wagh wrote:
A very strange problem. I am designing an application to display the
contents of a three dimensional data structure.( residing on server
side )
[...]
But When i click on any object ( say man, present on line 3 of buffer,
) not
On Sun, Apr 03, 2005 at 10:33:22PM +0200, Leeuw van der, Tim wrote:
try:
# call server
except:
# Do exception handling
Except you don't want to do
except:
...
ever, but
except FooError:
...
Always trap specific exceptions, or you will not pass GO
On Wed, Mar 23, 2005 at 03:36:29PM -0800, Nalli Dinesh wrote:
I am sure as of now, I don't want to use buttons with respect to
labels, for one advantage that label provides over button, which is
allowing pango markup language usable with the label names. You cannot
use pango markup langauge
On Thu, Mar 24, 2005 at 09:44:02AM -0500, Chetan Dandekar wrote:
Let me describe this issue with an example. I have a gtk.SpinButton and
a signal handler function 'on_value_changed' which is triggered by the
signal 'value_changed'. I want this handler to be invoked if a user
changes the
On Tue, Mar 22, 2005 at 07:16:03PM +0200, Paul Malherbe wrote:
It is a financial program. The basics are as follows:
Page 1
The operator enters the details of e.g. a payment i.e. date, reference
number amount, description etc.
Page 2
The operator allocates the amount to one or more
On Tue, Mar 22, 2005 at 05:55:23PM +, Keir Lawson wrote:
I have set up a MessageDialog to display an error message, and want my
app to quit when its close button is pressed. i use this code:
resp = self.dialog.run()
if resp == gtk.RESPONSE_CLOSE:
gtk.main_quit()
sys.exit()
On Sat, Mar 12, 2005 at 03:32:28AM +0100, Jakub Piotr C?apa wrote:
Correction: we're sorting out anonymous access to the repository. SVN
isn't the piece of cake to serve that I would have hoped, but we're
getting to it. We'll notify the list when it's ready.
Why don't you serve SVN through
On Sat, Feb 26, 2005 at 01:13:49PM +, John Gill wrote:
Can you point me at the Kiwi2 code, I hadn't realised work had started on
Kiwi2?
Lorenzo has an SVN repository set up here at Async; Lorenzo, care to
send the address to the list?
Take care,
--
Christian Robottom Reis |
On Sun, Mar 06, 2005 at 02:29:38PM -0300, Johan Dahlin wrote:
Is there any chance to deprecate gobject.TYPE_STRING, gobject.TYPE_INT etc.
in near by future ?
Unlikely. Preferably you should use str, int, long etc instead of
the gobject type defs. However, the data types in gobject are
On Sun, Feb 27, 2005 at 11:52:41PM +, Gustavo J. A. M. Carneiro wrote:
On Sat, 2005-02-26 at 08:43 -0300, Christian Reis wrote:
On Fri, Feb 25, 2005 at 11:08:00AM +, Gustavo J. A. M. Carneiro wrote:
My solution, although also not perfect, was to place a small
On Fri, Feb 25, 2005 at 09:11:56AM +0100, Hans-Joachim Widmaier wrote:
I'd like to have Entry widgets that allow only numbers (float) as inputs, and
only
in a certain range. This verification should be done as soon as the user is
done
with editing. I tried the focus-out-event, but pygtk
On Fri, Feb 25, 2005 at 11:08:00AM +, Gustavo J. A. M. Carneiro wrote:
My solution, although also not perfect, was to place a small
gtk.STOCK_DIALOG_WARNING icon inside the entry, and toggle between
making it insensitive (=value OK) or sensitive (=bad value).
Interesting! Can we see some
On Fri, Feb 25, 2005 at 01:24:23PM +, Gustavo J. A. M. Carneiro wrote:
It would be great having a repository for this pygtk friendly widgets
if they are general enough...
I was hoping kiwi2 could be such repository... ;-)
It will be -- we're still crawling towards where we want to be,
, and since GtkMenu *does* provide an API to
get to its accel_group, I'm as to why get_accel_group() is returning
None. It may very well be a bug.
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL
On Mon, Oct 06, 2003 at 03:03:42PM -0500, Alex Roitman wrote:
On Mon, Oct 06, 2003 at 03:28:51PM -0300, Christian Reis wrote:
Hmmm. You should save a reference to your AccelGroup, but I'm curious as
to what happens when you set pass in group to add_accelerator().
I apologize, but I'm
.
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
it :-)
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
].set_property ('editable', 1)
Can you do something like set_child_packing() to change the packing of
a renderer that was already packed?
That would avoid needing the separate pack_start() call, if it
exists/existed.
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
On Mon, Sep 29, 2003 at 03:42:28PM +0200, liquid wrote:
can you explain to me how I can make 'a' a class variable?
Use self.a
(and read the Python tutorial! :-)
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk
=faq23.014.htp
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
On Sun, Sep 28, 2003 at 11:38:46AM +0100, Gustavo J A M Carneiro wrote:
When you create the list store, use gobject.TYPE_STRING instead of
gobject.TYPE_CHAR.
- FAQ 13.36 (wow, 36 entries)
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq13.036.htp
Take care,
--
Christian Reis
. And I'm not the best person to advise you on
drawing, since I've only played with GtkDrawingArea once, and it wasn't
a pretty sight :-)
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED
On Thu, Sep 25, 2003 at 10:57:23AM +0100, Stephen Kennedy wrote:
path, col, cellx, celly = treeview.get_path_at_pos(
int(event.x), int(event.y) )
Question: Aren't event.x and event.y always integers?
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
distribution, but it has to be run with direct access to the files. I've
used it to do the aforementioned split, for the record.
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http
On Mon, Sep 29, 2003 at 05:45:11PM +0200, Abel Daniel wrote:
Christian Reis writes:
- FAQ 13.36 (wow, 36 entries)
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq13.036.htp
Strange, I only see 21 in that category.
Read my message about the FAQ updates :-)
It's now FAQ 13.16
significantly? Have you tried profiling your application to see what's
costly?
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK
care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
, is there any equivalent in (py)GTK 2.x?
Really? Do you have a reference for code that does this? I'm curious to
see what the semantics are.
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http
,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
that
subclassing will work at all with 0.6, and some 1.99.x versions had
Note that subclassing *does* work fine in 0.6 -- Kiwi uses it all over
the place :-)
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL
() if a 'cancel' or 'finish' has been
emitted. Is this the right way to do it? Is there a better way?
Have you tried using set_page() to get back to the first page when
calling hide()?
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
Would it be possible to rewrite/merge both answers into a more complete
one?
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read
care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
: get_root_origin() reqires a gdk.Window but I've a
gtk.Window, so how can I obtain the gdk.Window from a gtk.Window?
That's a FAQ!
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http
manually), which connects and
stores the IDs.
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http
be submitted as a bug with the severity of enhancement.
Sounds like the correct thing to do. Can you check if it hasn't been
filed and do so, if not? Thanks!
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list
-gtk' -- thanks.
Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
that
contain %s.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http
On Tue, Sep 09, 2003 at 08:13:09AM +0200, Stephane Wirtel wrote:
I am newbie in PyGTK, and i try to find docs or tutorials on
gnome-python.
Thus, where can i find documents or tutorials ?
Hint:
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Take care,
--
Christian Reis, Senior
self.label.set_text('Option: %d' % self.opt)
if not self.block_toggle:
self.block_toggle = 1
self.check.set_active(self.opt)
self.block_toggle = 0
Don't know about gnomecanvas, but I suspect there's a better way.
Take care,
--
Christian Reis, Senior Engineer, Async
or something, perhaps?
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http
(1)
set_active(1)
only emits a signal on the first time. Ah, that must be it. :-)
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED
with type 'gtk.ToggleButton'
Calling set_active...
Done.
Done.
No, set_active() only emits a toggled signal when the state of the
button is changed. That's why set_active() isn't followed by another
Toggle called... message.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil
= gtk_text_buffer_get_mark(textbuf, end-of-buffer);
gtk_text_view_scroll_to_mark(GTK_TEXT_VIEW(self-text_view), end_mark,
0, TRUE, 0.0, 1.0);
}
Scary. - FAQ 14.10
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq14.010.htp
Take care,
--
Christian Reis, Senior Engineer
.
the GtkContainer::child property is write-only, which is why you get
weird results when trying to read it. The other cases are most likely
similar.
Would it be possible to raise a proper exception in this case explaining
it is write-only?
Take care,
--
Christian Reis, Senior Engineer, Async
On Thu, Sep 04, 2003 at 01:08:52PM -0500, Albert Chin wrote:
C++ comments invalid for C89 code.
If you have CVS access, feel free to check this in
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
/pipermail/pygtk/2003-March/004618.html
Summary: as James has posted before, IF you use Redhat 8, you need
an updated RH8 RPM for libbonobo.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
of cvsutils:
http://www.red-bean.com/cvsutils), or make a copy of the CVS directory
and use a normal diff between trees.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
a good usability practice to have it close the dialog
(or any other modal dialog, for that matter).
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL
, can't we get a stack trace to show why exactly we crash when
emit_stop_by_name() isn't called in the response handler?
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk
,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
On Wed, Sep 03, 2003 at 11:50:41AM +1000, Malcolm Tredinnick wrote:
Any comments?
My only real request is to continue supporting Python 2.2. I was one of
Seconded, for similar reasons as Malcolm's.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br
. Unfortuatenly, at the point, time can run out, but the
Don't you really want to use timeout_add here?
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq20.007.htp
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
is running on the server is there any to draw,
for example to a pixmap, and then save the figure as a PNG, and then
embed it in the html, w/o X ever launching the window?
Have you considered using Xvfb? It's pretty much designed to do what you
want.
Take care,
--
Christian Reis, Senior Engineer, Async
,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
the widget I want
to have displayed?
Yes, though people have been discussing the current known way is not
exactly kosher. See the thread here:
http://www.daa.com.au/pipermail/pygtk/2003-August/005731.html
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http
care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br
a blink of the text cursor. I'd like it to be green
immediately :) Any way to do this?
Have you tried connect_after? insert-text is triggered *before* the text
is in the widget.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331
. Funky, eh?
It indeed sounds odd. You might consider trying to run a loop:
while gtk.events_pending():
gtk.mainiteration()
The program is fairly short, so I'm including the python source here. I have
updated it to use Christian Reis' suggestion of connect_after(), but the
result
gobject.timeout_add(100, timeout_func, (iter(xrange(1, 100)), label))
Another (simpler) option would be to call gtk.mainiteration() before the
time.sleep() -- the FAQ has an entry on this.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55
widget to do.
b) If not, just create GtkListItems and then add them to the
GtkList. It's not very complicated.
I think the tutorial contains at least a simple entry on the GtkList.
See also http://www.daa.com.au/pipermail/pygtk/2000-December/000548.html
Take care,
--
Christian Reis
? ;)
Hmmm. You might change the selection style, but I'm not sure it would
allow you to see through it.
The CList is deprecated in PyGTK-2.x, so you might want to consider
using TreeView and co.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16
and file formats.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ
up so that the next
import CORBA
loads the PyORBit version automatically. This is a matter of some
sys.path hackery, as we do in ZODB -- ugly, perhaps, but a lot more
effective than trying to steer people through a maze of sys.path
problems.
Take care,
--
Christian Reis, Senior Engineer
on special features of a particular ORB
* need to interoperate with other bits of code using a particular
ORB (this is the case for gnome programs wishing to manipulate in
process Bonobo objects, which is why it can't use omniORB).
Take care,
--
Christian Reis, Senior Engineer, Async
__getattr__ in the if clause but
__properties isn't set yet -- recursion
Therefor you have to treat the internal properties list attribute in a
special manner and that's why I couldn't hide it (__*).
Yeah, my bad. Just do it a tiny bit differently:
Christian Reis kiko at async.com.br wrote:
You
but that was where we left the project. We moved
to PyGTK with forks and execs and now all is stable after abandoning
threads.
Sounds good enough. If you have the time, give 1.99.17 (or CVS HEAD,
which is even better) a spin and let us know if it worked out.
Take care,
--
Christian Reis
and clarifications are welcome.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK
care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br
)
Couldn't you have used a single GtkTreeViewColumn here for the
text column? Or does this mean that if you need to add two attributes to
the same column in a treeview, that all other columns need to be
packed() and add_attribute()-ed?
Take care,
--
Christian Reis, Senior Engineer, Async Open Source
,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br
a number of modify_bg calls...
It changes the style object attached to the widget -- the copy() clones
the original style but returns a *new* style object.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
-python.
Yeah, feel free to add an item explaining this and the workaround.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http
On Thu, Aug 14, 2003 at 10:40:15AM +0100, Stephen Kennedy wrote:
I've seen quite a few posts about threading problems in
this group and am surprised to see that nobody recommended
cooperative threading using generators. See
- FAQ 20.9
Take care,
--
Christian Reis, Senior Engineer, Async
:
gtk.stock_add([(gtk.STOCK_SAVE_AS, Rename, 0, , )])
I've preemptively added this as FAQ 9.6, but anybody is free to correct
it if I'm blundering through pygtk2 again.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
() inherits from GObject.
self.client.connect(save_yourself, self.session_save)
Could you please open a Bugzilla report for this on bugzilla.gnome.org?
Thanks.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
on that point..). It's probably safer to get the model and iter
from selection and work using that.
If someone knows, I'll update the FAQ with the rationale.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
take a look at
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq22.007.htp ?
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED
there ;)
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http
, key):
if self.__properties and key in self.__properties:
return self.get_property(key)
else:
return self.__dict__.get(key, None)
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
://www.daa.com.au/pipermail/pygtk/2001-June/001418.html
Did you take a look at
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq22.007.htp ?
Duh, never mind me and my replying-to-old-email thinkos.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br
the derived method
override and shadow the base class method?
Oh, it *would* `shadow' the base class method, I was rather pointing out
that it *shouldn't*!
Could you please open a Bugzilla report for this on bugzilla.gnome.org?
Done.
Thanks.
Take care,
--
Christian Reis, Senior Engineer, Async Open
version of PyGTK is this? Recent threading fixes have improved the
threading situation a *lot*, but there might be some leftovers..
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
and probably not
Pythonesque in style), but hopefully it will inspire someone to
implement the feature properly.
+1 by me.
I'm for this change, and I've discussed it with other people on #pygtk
before (Joe Shaw, IIRC, and Johan).
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil
and connecting in a signal callback.
I'm surprised it even works, actually; if you want to avoid the signal
being emitted, you can use the venerable emit_stop_by_name() method (or
whatever pygtk2 offers with compatible semantics if it's not there).
Take care,
--
Christian Reis, Senior Engineer, Async
no
other standalone docs now.. I'm a bit unsure of what to do here.
Sorry, if this belongs to the basics.
No, it's pretty interesting.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
, but it should take the chartype correctly.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read
is not wrapped
as a PyObject, which is not safe. JamesH very recently pointed out that
get_data() wasn't safe when returning non-PyObjects.
If you can get us a stack trace we can be sure that's the current case.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br
.
If anybody else can help test, we'd appreciate it.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman
() alone
wasn't what you wanted to call, and that you need to do that one extra
thing when closing that window.
The lambda solution is a simplified way of providing that proxy, but I
swear by defining explicit callback functions, even if all they do is
call a gtk method.
Take care,
--
Christian Reis
,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
it somewhere...
Added as FAQ 22.7, thanks.
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq22.007.htp
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list
);
if (doc_descr == NULL)
To avoid dropped patches, it's the best idea to file a bug on
bugzilla.gnome.org and attach it there. That way we can make sure it's
not read with the D key when everybody's too busy to try it.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source
no arguments (1 given)
Note also FAQ 3.12:
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq03.012.htp
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list
://perso.wanadoo.es/perepujal/trace_with_python2.2.gz
No, the output of gdb's 'where' or 'bt' command, after the dump.
http://users.actcom.co.il/~choo/lupg/tutorials/debugging/debugging-with-gdb.html
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko
handler ids, and remove the id when
disconnected. All you need to do is then check if the id is present
before calling disconnect. That should avoid the warning.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
and only call disconnect if it is. Does a function to check if
a handler is connected exist in the C api?
Not sure, check out the docs for GObject.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
on how list
selections are styled? At least your app will be consistent with others
running on the platform.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing
1 - 100 of 380 matches
Mail list logo