David Gil Oliva wrote:
Hi!
Can anyone tell me how can I change the font description of a
CellRendererText to, for instance, Courier 12? It's a silly question,
but I have read the docs and I don't get it.
If you want to have all cells use Courier 12 set the "font" property. See:
http://www.pygtk
hi,
i wanna know, how can delete a line from a draw area that i do with a gc.
code:
self.area.window.draw_line(self.gc, x1, y1, x2, y2)
thanx
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: ht
Hi!
Can anyone tell me how can I change the font description of a
CellRendererText to, for instance, Courier 12? It's a silly question,
but I have read the docs and I don't get it.
Thank you
David Gil
___
pygtk mailing list [EMAIL PROTECTED]
http://w
On Sun, Nov 14, 2004 at 09:03:40PM +0100, Johan Dahlin wrote:
> > locale.setlocale(locale.LC_ALL, '')
> > locale.bindtextdomain('snakememory', None)
> > cat = gettext.Catalog('snakememory')
> > _ = cat.gettext
>
> You have to use the functions in gtk.glade, eg gtk.glade.bindtextdomain
> etc.
>
>
On Wed, Nov 17, 2004 at 01:23:24PM -0500, Chris Lambacher wrote:
> you need to add the the text with set_markup not set_text. The use
> markup option, in glade only effects the value you give the label in
> glade.
-> FAQ 7.7
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq07.007.
On Wednesday 17 November 2004 22:38, Christian Robottom Reis wrote:
I always agree with kiko :)
> +1 on this.
+2
cheers
GMario
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async
On Fri, Nov 12, 2004 at 10:25:27PM +, Stephen Kennedy wrote:
> It would be great if the pygtksourceview bindings could be included as
> part of gnome-python-extra. It provides quite a bit of extra
> functionality over plain gtktextview. What do people think?
+1 on this.
Take care,
--
Christia
On Wed, 17 Nov 2004 21:30:16 +0100 Gian Mario Tagliaretti
<[EMAIL PROTECTED]> wrote:
> On Wednesday 17 November 2004 21:05, Christian Robottom Reis wrote:
> I would like to understand why... can you (or someone) please explain
> it? I will offer a few glass of the above mentioned :)
>>> img = gt
On Wed, Nov 17, 2004 at 09:30:16PM +0100, Gian Mario Tagliaretti wrote:
> On Wednesday 17 November 2004 21:05, Christian Robottom Reis wrote:
> >
> > What returns None? img? Hopefully your img here is not None.
>
> If I'm not completely drunk after two glass of nice "Barbera
> d'asti"... yes it re
On Wednesday 17 November 2004 21:05, Christian Robottom Reis wrote:
>
> What returns None? img? Hopefully your img here is not None.
If I'm not completely drunk after two glass of nice "Barbera d'asti"... yes it
return None.
>
> My point was that set_from_stock() might not return what you expect
On Wed, 17 Nov 2004 21:00:48 +0100 Gian Mario Tagliaretti
<[EMAIL PROTECTED]> wrote:
> On Wednesday 17 November 2004 20:44, Christian Robottom Reis wrote:
>
> > Careful. Does the following work?
> >
> > img = gtk.Image()
> > img.set_from_stock(gtk.STOCK_DIALOG_INFO, gtk.ICON_SIZE_BUTTON)
On Wed, Nov 17, 2004 at 09:00:48PM +0100, Gian Mario Tagliaretti wrote:
> On Wednesday 17 November 2004 20:44, Christian Robottom Reis wrote:
>
> > Careful. Does the following work?
> >
> > img = gtk.Image()
> > img.set_from_stock(gtk.STOCK_DIALOG_INFO, gtk.ICON_SIZE_BUTTON)
>
> to me it
On Wednesday 17 November 2004 20:44, Christian Robottom Reis wrote:
> Careful. Does the following work?
>
> img = gtk.Image()
> img.set_from_stock(gtk.STOCK_DIALOG_INFO, gtk.ICON_SIZE_BUTTON)
to me it return None as well
> If so, read carefully.
what you mean, exactly?
> Take care,
On Wed, Nov 17, 2004 at 08:00:33PM +0100, Gian Mario Tagliaretti wrote:
> but I was wondering why this:
>
> Im = gtk.Image().set_from_stock(gtk.STOCK_DIALOG_INFO, gtk.ICON_SIZE_BUTTON)
>
> will return None
Careful. Does the following work?
img = gtk.Image()
img.set_from_stock(gtk.STOCK_
On Wed, Nov 10, 2004 at 02:35:36PM -0500, Steve McClure wrote:
> Does anyone know if you can dynamically add/remove columns from a clist
> and/or ctree widget? Evolution allows the user to add and remove
> columns from the list as well as set the order of the columns. I'm
> looking to do something
Chris> you need to add the the text with set_markup not set_text. The
Chris> use markup option, in glade only effects the value you give the
Chris> label in glade.
Muchas gracias, señor. That did the trick.
Skip
___
pygtk mailing list [
On Wednesday 17 November 2004 17:41, John Finlay wrote:
>
> You can use:
>
> http://www.pygtk.org/pygtk2reference/class-gtkwidget.html#method-gtkwidget-
>-render-icon
>
> to get the pixbuf to use with
>
> http://www.pygtk.org/pygtk2reference/class-gtkwindow.html#method-gtkwindow-
>-set-icon
like t
Qua, 2004-11-17 às 12:09 -0600, Skip Montanaro escreveu:
> In glade-2 I defined several labels with the use_markup attribute set to
> True. In my app I give them values like
>
> 12345
>
> None of that markup is converted. It's just displayed as given. Do I need
> to do more than call the s
you need to add the the text with set_markup not set_text. The use
markup option, in glade only effects the value you give the label in
glade.
-Chris
On Wed, 17 Nov 2004 12:09:11 -0600, Skip Montanaro <[EMAIL PROTECTED]> wrote:
>
> In glade-2 I defined several labels with the use_markup attrib
Gustavo,
Thanks for the information. Any recommendations on what to do about
GtkUIManager?
Don
Gustavo J. A. M. Carneiro wrote:
Qua, 2004-11-17 às 09:33 -0700, Don Allingham escreveu:
Due to the demands of working for a startup company, I've been away from
this list for quite a while. I've been
In glade-2 I defined several labels with the use_markup attribute set to
True. In my app I give them values like
12345
None of that markup is converted. It's just displayed as given. Do I need
to do more than call the set_text() method of the label widget with the
markup text?
Thx,
--
Qua, 2004-11-17 às 09:33 -0700, Don Allingham escreveu:
> Due to the demands of working for a startup company, I've been away from
> this list for quite a while. I've been trying to get caught up on the
> work needed for the GRAMPS project, and I could use some help on being a
> good GNOME appli
Nigel Tao wrote:
I have a GtkDialog for which I want to:
dialog.set_icon(gtk.image_new_from_stock(gtk.STOCK_FIND,
gtk.ICON_SIZE_MENU).get_pixbuf())
but I get the following error:
ValueError: image should be a GdkPixbuf or empty
Indeed, the PyGTK docs ( http://www.pygtk.org/pygtk2reference/class-
g
Due to the demands of working for a startup company, I've been away from
this list for quite a while. I've been trying to get caught up on the
work needed for the GRAMPS project, and I could use some help on being a
good GNOME application using pygtk/gnome-python.
Because GRAMPS is a genealogy
English >
Hi !
I know that this is off-topic, and for the radicals i beg your pardon, but
this email can help a great opensource comunity member.
Im talking about Patrick Volkerdi, the creator of Slackware. He is sick and he
writed a letter about it in the slackware-current changelog.
We'
> I've not used gnome.vfs, nor looked at the code, but from my PyGTK
> knowlegde I'm certain you do not have to bother with it. The Python
> wrapper objects hold a reference to the gnome.vfs/GObjects. When the
> Python objects are destroyed by the garbage collector, the GObject's are
> unref'ed
Nigel Tao wrote:
When using the Python bindings to GTK or GLib, I have so far not
bothered to think about reference counting. Is it the case that Python
memory management / garbage collection and PyGTK work nicely in all
cases so that I never have to think about it?
Yes. PyGTK works very well wit
> In particular, I was looking at some C code using gnome-vfs the other
> day, and it seemed to make a lot of fuss about un-reffing things. Is
> VFS a special case - would I have to be similarly fussy if I wanted to
> use the python gnome.vfs module?
No, gnome.vfs reference counting is handled au
When using the Python bindings to GTK or GLib, I have so far not
bothered to think about reference counting. Is it the case that Python
memory management / garbage collection and PyGTK work nicely in all
cases so that I never have to think about it?
In particular, I was looking at some C code usi
On Wed, 2004-11-17 at 13:03 +0100, Gianmario Tagliaretti wrote:
> > Fair enough. So how do I instead set a window's icon to a stock image?
> > Alternatively, how do I get a pixbuf from a stock image?
>
> pxb = (gtk.Image.set_from_stock(stock_id, size)).get_pixbuf()
>
> I cannot try right now but
> Fair enough. So how do I instead set a window's icon to a stock image?
> Alternatively, how do I get a pixbuf from a stock image?
pxb = (gtk.Image.set_from_stock(stock_id, size)).get_pixbuf()
I cannot try right now but maybe this will work?
cheers
GMario
_
I have a GtkDialog for which I want to:
dialog.set_icon(gtk.image_new_from_stock(gtk.STOCK_FIND,
gtk.ICON_SIZE_MENU).get_pixbuf())
but I get the following error:
ValueError: image should be a GdkPixbuf or empty
Indeed, the PyGTK docs ( http://www.pygtk.org/pygtk2reference/class-
gtkimage.html#met
Gaphor 0.7.0
Gaphor is an easy to use UML modeling environment written in Python.
Gaphor has an UML 2.0 compliant data model. It's design is very extensible.
Important changes
=
- XMI export plugin
- Item alignment
- Full featured undo mechanism
- Copy/paste
- usability improvements
33 matches
Mail list logo