Re: [pygtk] Passing a GType from C to Python

2010-01-01 Thread Darren Hart
On Fri, Jan 1, 2010 at 12:21 PM, Gian Mario Tagliaretti gia...@gnome.orgwrote: On Fri, Jan 1, 2010 at 8:02 AM, Darren Hart dar...@dvhart.com wrote: Hi Darren, converting gtype (G_TYPE_UINT): 28 to python object Segmentation fault (core dumped) it's just a guess, I think

[pygtk] Passing a GType from C to Python

2009-12-31 Thread Darren Hart
Segmentation fault (core dumped) So I clearly don't understand GTypes and how to properly pass them back and forth between Python and C. Can someone please explain to me what I'm doing wrong? Thanks, -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http

Re: [pygtk] libraries for Python isometric cad drawings

2009-05-04 Thread Darren Hart
to make vector drawings from OpenGL, but it is in C. Thanks for the pointers Karl, much appreciated. I'll let you know if I get this thing off the ground :-) -- Darren Good luck! Karl On Thu, Apr 30, 2009 at 2:05 AM, Darren Hart dar...@dvhart.com wrote: I'm looking for some libraries

Re: [pygtk] quoting text for markup

2009-04-16 Thread Darren Hart
On Thu, Mar 19, 2009 at 9:01 AM, Neil Muller drnlmuller+...@gmail.com wrote: On Thu, Mar 19, 2009 at 5:28 PM, Darren Hart dar...@dvhart.com wrote: RIght and - but my question was if there is some python call to do this or if I just have to roll my own.  I recently added this to my code base

Re: [pygtk] quoting text for markup

2009-03-19 Thread Darren Hart
On Thu, Mar 19, 2009 at 12:59 AM, Walter Leibbrandt wal...@translate.org.za wrote: Hi Darren Hart wrote: When adding text with an character to a cellrenderertext I get some rendering glitches (and the actual text doesn't get rendered at all). Is there a standard mechanism for quoting text

[pygtk] quoting text for markup

2009-03-17 Thread Darren Hart
When adding text with an character to a cellrenderertext I get some rendering glitches (and the actual text doesn't get rendered at all). Is there a standard mechanism for quoting text destined for the markup property? -- Darren Hart ___ pygtk mailing

Re: [pygtk] date changed signal ?

2009-03-03 Thread Darren Hart
On Mon, Mar 2, 2009 at 12:01 AM, Walter Leibbrandt wal...@translate.org.za wrote: Hi, Darren Hart wrote: I have a TreeView that renders rows differently depending on the state of the object being represented.  This state is in part dependent on the date.  Rather than calculate the state

[pygtk] date changed signal ?

2009-03-01 Thread Darren Hart
trying to be thorough :-) Thanks, -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] propogating events not handled by the grab window

2008-10-21 Thread Darren Hart
Thanks for looking! -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] Writing a composite widget

2008-10-08 Thread Darren Hart
were to write my own widget, do I derive from TreeView? If so, how do I add buttons, and what handles the packing? Is there some best-practices document or something regarding creating composite widgets with gtk? -- Darren Hart ___ pygtk mailing list

Re: [pygtk] Writing a composite widget

2008-10-08 Thread Darren Hart
think the Mediator does that nicely. it has the added benefit of allowing me to easily tweak the look, etc. within glade like the rest of my GUI. -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read

[pygtk] gtk.ComboBox with RELIEF_NONE

2008-10-02 Thread Darren Hart
that pops-up on click yuk... -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] gobject.Warnings with GtkTreeModelFilter

2008-09-07 Thread Darren Hart
stepped through, but I never end up in the gtk or gobject code, so the error has gone and went by the time I notice it. Two questions: 1) Does anyone know offhand why these errors occur? 2) How can I determine what the PyObject is that the Warnings refer to? -- Darren Hart

[pygtk] Dialog Lifecycle?

2008-03-19 Thread Darren Hart
if someone can set me straight on how to properly use dialog boxes, I would be most appreciative. Thanks, -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br

[pygtk] Select gtk.Entry text on click

2008-03-09 Thread Darren Hart
,-1) from various signal handlers, but it always seems to get undone. Can someone suggest a solution? Thanks. -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http

[pygtk] dynamic model in treeview edited signal callback?

2008-03-03 Thread Darren Hart
) def on_filter_edited(self, cell, path, new_text, model_bad, column): model = self.widget.get_model() model[path][column].title = new_text -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] Actionable items, independent of the treeview's model

2008-03-03 Thread Darren Hart
, but was hopin there was a more generally accepted approach to accomplishing this sort of thing. Perhaps something I can do in the custom widets themselves? -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] problem with TreeView + ListStore

2007-09-09 Thread Darren Hart
that's what it's called) - which is only one item at a time - while the selection signal John mentioned will work for a multiple selection. -- Darren Hart ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read

[pygtk] Re: configure_events for a table in an eventbox

2007-08-15 Thread Darren Hart
On 8/14/07, Darren Hart [EMAIL PROTECTED] wrote: I'm trying to create a widget that lists checkbuttons with labels in a tabular format that will adjust it's layout as the window is resized. I am currently using a table widget and have a working resize() method. Unfortunately, I haven't been

[pygtk] Re: configure_events for a table in an eventbox

2007-08-15 Thread Darren Hart
On 8/15/07, Darren Hart [EMAIL PROTECTED] wrote: On 8/14/07, Darren Hart [EMAIL PROTECTED] wrote: I'm trying to create a widget that lists checkbuttons with labels in a tabular format that will adjust it's layout as the window is resized. I am currently using a table widget and have

[pygtk] configure_events for a table in an eventbox

2007-08-14 Thread Darren Hart
pressed self.resize() return True -- Darren Hart ___ 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/