Re: [pygtk] Evolution-data-server and pyGTK

2005-04-11 Thread Andy Wingo
, but it was without a doubt the biggest PITA of any library I've dealt with. Here's hoping JPR is aware of this, and is going to provide us with nice a nice gobject+properties wrapper so we don't need to deal with those functions ;-) -- Andy Wingo http://wingolog.org

Re: [pygtk] gtk.Notebook

2005-03-23 Thread Andy Wingo
if you used a C library. Regards, -- Andy Wingo http://wingolog.org/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Basic Text Editing (adding pangolayout to a buffer + copy/paste controls)

2005-02-15 Thread Andy Wingo
out how to determine when a paste can be made. If you need undo and redo, GtkSourceView/Buffer, which is based on GtkTextView/Buffer, is a good choice. You don't have to activate the source editing features if you don't want them, either. Cheers, -- Andy Wingo http://wingolog.org

Re: [pygtk] Trouble getting background color

2005-02-02 Thread Andy Wingo
]: w.get_style() Out[5]: __main__.IndustrialStyle object (IndustrialStyle) at 0xb70d6c34 Also useful might be this debugging proc: def pc(c): return '#%02x%02x%02x' % (c.red8, c.green8, c.blue8) Cheers, -- Andy Wingo http://wingolog.org/ ___ pygtk

[pygtk] [patch] check for uninitialized object in pygobject_connect()

2005-01-20 Thread Andy Wingo
Hey folks, Got a segfault when I forgot to call __gobject_init__() on an object. Yes, I'm new to pygtk hacking ;) This check will give a nicer error. Cheers, -- Andy Wingo http://wingolog.org/ ? self_obj_null_check.diff Index: ChangeLog