Re: [pygtk] How to use UIINFO_TOGGLEITEM

2001-11-07 Thread John Finlay
Christian Robottom Reis wrote: > Why not post to the list and have James and us review and check it in? > OK. The patch is attached with an example of how to use it. The gnomeuimodule.c and the gnome/uiconsts.py files are patched as follows: - fix list_to_ui_info() to pass on widget data that i

[pygtk] Better support for GError**

2001-11-07 Thread Skip Montanaro
I hacked up some better support for GError** args today. Unfortunately, I'm piling up diffs between what's in CVS and what I have, so it's getting a bit hard to separate different bits of functionality. I just submitted a patch to bugzilla. Interested parties can peruse http://bugzilla.g

Re: [pygtk] How to use UIINFO_TOGGLEITEM

2001-11-07 Thread Christian Robottom Reis
On Sun, 4 Nov 2001 [EMAIL PROTECTED] wrote: > > Was this patch considered to enter the official pygtk release? > > I somehow gave up, and just changed my application default behaviour...:( > > No - I haven't looked into how to submit a patch for inclusion. I ran into the > same problem as you and

Re: [pygtk] Object Oriented design question

2001-11-07 Thread Graham Ashton
On Fri, Nov 02, 2001 at 05:19:51PM -0700, Bill Anderson wrote: > > class BackEnd: > ... > > class FrontEnd: > def __init__(self): > self.be = BackEnd() > > Then, I can access back end functions in the GUI code, using > self.be.function(arguments). This sounds a bit like a simplified v

Re: [pygtk] Object Oriented design question

2001-11-07 Thread Christian Robottom Reis
On 2 Nov 2001, Bill Anderson wrote: > class BackEnd: > ... > > class FrontEnd: > def __init__(self): > self.be = BackEnd() > > Then, I can access back end functions in the GUI code, using > self.be.function(arguments). So far, I have found that this provides me > with a very nice means o