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)
e.set_text('th
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 then
On Tue, Nov 12, 2002 at 04:05:52PM -0500, george young wrote:
> [pygtk-1.99.13, gtk-2.1.1, python-2.2.1, linux]
> I would like to have a gtk.Entry (for data entry) that is first
> presented with a default width, but will dynamically expand as the
> user types more text than fits. I suppose this w
On Tue, 2002-11-12 at 17:15, Joe Shaw wrote:
> Maybe it should call pyg_block_threads() and chain up to its parent?
> I'll try it and send a patch if it works.
Sigh. Obviously this doesn't work, as I don't care about the parent's
properties. I care about the child's.
So I think the right thing
Hi,
I have a cell renderer written in python which derives from
gtk.GenericCellRenderer. When I run my program with gtk.threads_init(),
python crashes when I try to set a property on the cell renderer. It
dies in a call to PyObject_CallMethod(). For other crashes I've seen
like this, wrapping t
[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)
e.set_text('the rain')
e.show()
top.
Hi,
None of the calls to PyObject_CallMethod() in pygtktreemodel.c is
wrapped with pyg_block_threads()/pyg_unblock_threads(), which will cause
python to segfault if you use gtk.threads_init() in your program. The
attach patch adds these.
I've filed this as bug #98344.
Joe
Index: pygtktreemodel
[pygtk-1.99.13, gtk-2.1.1, python-2.2.1, linux]
I would like to have a gtk.Entry (for data entry) that is first
presented with a default width, but will dynamically expand as the
user types more text than fits. I suppose this will cause ripples of
layout reconfigurations -- maybe I need to trap s
Sæl !
I saw in the archive that drawing rotated text with python 1.5 is not straight forward.
The discussed solution is based on PyFT, but I may need the other one as making a
pixmap to be rotated.
since this is a very common task, many must have written scipts to do so.
Can anybody point me to a
Christian Reis <[EMAIL PROTECTED]> writes:
> On Tue, Nov 12, 2002 at 08:33:20AM +0100, Andreas Degert wrote:
> > With gtk1/gnome1, binding the signals seems to happen when a
> > widget-tree is added to the AppletWidget container. So, if you add
>
> "binding the signals"? Do you mean connect() its
On Tue, Nov 12, 2002 at 01:04:40AM -0800, Brian Warner wrote:
> Am I right in thinking that events are propagated "backwards" (from window to
> parent window and so on up to the root window) until somebody claims them,
> but that gtk signals are not? That might be why the gnome-applets authors
> us
On Tue, Nov 12, 2002 at 08:33:20AM +0100, Andreas Degert wrote:
> With gtk1/gnome1, binding the signals seems to happen when a
> widget-tree is added to the AppletWidget container. So, if you add
"binding the signals"? Do you mean connect() itself, or something else?
> Buttons to a GtkHBox, and t
I've checked in two changes in the stable 0.6.x branch of PyGTK:
- libglade.py now raises an exception when the GladeXML object it
would return is None. This is in preparation for better checking
inside libglade which I should work on sometime soon.
- GtkCList now offers a se
> 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 then add the but
14 matches
Mail list logo