Re: [pygtk] python modules/classes best practices?

2011-01-31 Thread Roberto Cavada
On 01/30/2011 11:53 PM, Robert Park wrote: [...] but now that the other classes are in other files, the module _itself_ is providing the same encapsulation that the class was giving me, and is thus redundant. In this perspective, you are using classes as mere namespaces of your functions

Re: [pygtk] python modules/classes best practices?

2011-01-30 Thread Roberto Cavada
Hi, On Sat, 2011-01-29 at 23:22 -0700, Robert Park wrote: [...] But I just can't shake this feeling that having a class to represent just the GUI when it's already inside of a module is somehow redundant. There will only ever be one instance of that class. What good is that? The fact that

[pygtk] [ANNOUNCE] python-gtkmvc 1.99.1

2010-12-30 Thread Roberto Cavada
on views no longer steal each other widgets. Many thanks to Christian Spoer for narrowing down a bug and to Tobias Weber for joining the team. -- Roberto Cavada PA HREF=http://pygtkmvc.sourceforge.net;pygtkmvc 1.99.1/A - Pygtk MVC is a thin, multiplatform framework that helps to design

Re: [pygtk] Splitting things up

2010-06-28 Thread Roberto Cavada
Il 06/28/2010 10:54 AM, Elver Loho ha scritto: Is there a good design solution for splitting the window controller into multiple chunks? You may have a look to gtkmvc: http://sourceforge.net/apps/trac/pygtkmvc/wiki ___ pygtk mailing list

Re: [pygtk] ANN: PyGUI 2.1

2009-11-17 Thread Roberto Cavada
Greg Ewing wrote: What is the general feeling out there? About the announcements policy, I wonder what is the difference with other projects which use or extend pygtk. I suspect the difference is that pygui is perceived like a potential competitor of pygtk, so announcements about it are

Re: [pygtk] Install pyGtk on Solaris 10

2009-05-13 Thread Roberto Cavada
David Miller wrote: configure:20521: gcc -o conftest -g -O2 -mt -I/usr/include/gtk-2.0 [...] cc1: error: invalid option `t' I guess that option -mt is interpreted as: -m -t (as -m does not take any argument). Is 'gcc' *gnu* gcc, or what else? r.

Re: [pygtk] automagical glade

2009-04-15 Thread Roberto Cavada
Chris Camacho wrote: All widgets are mapped to a user interface object via their glade id and so they can be accessed like this... ui.entry1.set_text(hello world) Actually i like the idea. I think I'll consider it for the View part of gtkmvc, instead of having view['entry1'].set_text having

[pygtk] [ANNOUNCE] python-gtkmvc 1.99.0

2009-04-01 Thread Roberto Cavada
to those who provided feedback and bug reports. In particular, to: Henrik Bohre henrik TOD bohre TA gmail TOD com Joel Cross Alessandro Dentella sandro TA e-den TOD it Christopher Groskopf cgroskop TA calpoly TOD edu -- Roberto Cavada roboogle TA gmail TOD com PA HREF=http

Re: [pygtk] Hi, all! I'm new to the list. How can I create please a frontend for a TUI command?

2008-10-28 Thread Roberto Cavada
NĂ©stor Amigo Cairo wrote: Ok! I have tested this, and it only works at the end of the execution of the command, There is a problem in the way you create your watcher's callback. You have to use a function, a method or a lambda. Try with this version of 'do_format'. It will also handle pipe

[pygtk] [ANNOUNCE] pygtkmvc release 1.2.2

2008-08-26 Thread Roberto Cavada
=== This is a minor release that fixes two major bugs about adapters. A few new examples about adapters have been also added. Thanks to Alessandro Dentella sandro TA e-den TOD it for reporting both bugs. -- Roberto Cavada roboogle TA gmail TOD com

Re: [pygtk] Installing PyGTK on solaris 8

2008-07-09 Thread Roberto Cavada
Shalom Kramer wrote: *** The test program failed to compile or link. See the file config.log for the *** exact error that occurred . This usually means GLIB is incorrectly installe Have you followed the suggestion? r. ___ pygtk mailing list

[pygtk] Mailing list of gtkmvc

2008-04-17 Thread Roberto Cavada
Hi all, my apologies to whom may be not interested in the following. gtkmvc - MVC and Observer patterns for pygtk (http://pygtkmvc.sourceforge.net/index.php) has today a user mailing list by popular demand. The idea is to have a shared discussion area for all users, to collect feedback

Re: [pygtk] Installing PyGTK on solaris 8

2007-11-29 Thread Roberto Cavada
Shalom Kramer wrote: Yes, the file indicates that there is a problem with compiling GTK programs, not that I can understand why. If you wish to get any help here, you should post the (selected) contextualized error message you get from configure, in config.log. (You are not requested to

[pygtk] ANNOUNCE: pygtkmvc-1.2.1 has been released

2007-10-17 Thread Roberto Cavada
for custom widgets are correctly managed. Thanks to Allan Douglas zalguod TA users TOD sourceforge TOD net for providing a working patch. o Fixed a subtle bug in the observer pattern implementation. o A few other minor fixes and optimizations. -- Roberto Cavada roboogle TA gmail

[pygtk] ANNOUNCE: pygtkmvc-1.2.0 has been released

2007-10-14 Thread Roberto Cavada
at users.sourceforge.net for providing a working patch. o Fixed a subtle bug in the observer pattern implementation. o A few other minor fixes and optimizations. -- Roberto Cavada roboogle AT gmail.com ___ pygtk mailing list pygtk@daa.com.au

[pygtk] ANNOUNCE: pygtkmvc-1.0.1 has been released

2007-05-22 Thread Roberto Cavada
Version 1.0.1 of pygtkmvc has been released. pygtkmvc can be download from the project homepage: http://pygtkmvc.sourceforge.net == About pygtkmvc == pygtkmvc is a fully Python-based implementation of the Model-View-Controller (MVC) and Observer patterns for the PyGTK2

Re: [pygtk] Gnome-CRITICAL message

2007-03-23 Thread Roberto Cavada
Pascal Duchatelle wrote: I get the following messages (which I do not understand) : (essai.py:3486): Gnome-CRITICAL **: gnome_program_get_app_id: assertion Is there any possibility that a glade file refers to any gnome widget, or the project type is gnome when you do not have gnome installed?

[pygtk] [ANN] pygtkmvc version 1.0.0 has been released

2006-12-26 Thread Roberto Cavada
packages. -- Roberto Cavada ___ 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/

[pygtk] [ANN] pygtkmvc version 1.0.0 has been released

2006-12-21 Thread Roberto Cavada
packages. -- Roberto Cavada ___ 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/

[pygtk] Treeview space between columns

2005-07-27 Thread Roberto Cavada
(I apologie if you receive multiple copies of this message) Hi, I noticed that there is always a space around columns in treeviews, even when both the style properties 'GtkTreeView::vertical-separator' and 'GtkTreeView::horizontal-separator' are set to 0. E.g. look at the screenshot at

Re: [pygtk] Simple TreeView API

2004-10-06 Thread Roberto Cavada
On Wed, 2004-10-06 at 23:10 +1300, John C Barstow wrote: ANY feedback would be helpful I have no technical feedback to provide, actually. Anyway, I want to stress that those who I talk about pygtk will always complain about the convolution of tree/list widgets it provides. Powerful, elegant,

Re: [pygtk] gtkmvc (was: pygtk + glade: code decomposition best practices?)

2004-10-01 Thread Roberto Cavada
condition, it is a matter of deriving a new metaclass from the one that gtkmvc.model.Model currently uses. Feel free to ask for further details, maybe out of this list since I think this is going OT. rob -- _/_/_/ _/_/_/ Roberto Cavada _/ _/ _/ITC-irst http://www.irst.itc.it

Re: [pygtk] pygtk + glade: code decomposition best practices?

2004-09-30 Thread Roberto Cavada
On Thu, 2004-09-30 at 13:18 +0300, Ruslan wrote: I would like to ask people using pygtk + glade to share their approach on code decomposition. I use a mvc+observer pattern from my gtkmvc (see http://sra.itc.it/people/cavada/mvc). Each pair controller+view can be associated to a separate glade

Re: [pygtk] ANNOUNCE: PyScintilla-1.99.4 released

2004-08-23 Thread Roberto Cavada
On Fri, 2004-08-20 at 15:17 -0300, Christian Robottom Reis wrote: On Wed, Aug 18, 2004 at 04:05:29PM +0200, Roberto Cavada wrote: What is new --- With respect to previous versions, PyScintilla-1.99.4: - is a stand-alone module, no longer based on GtkScintilla

[pygtk] ANNOUNCE: PyScintilla-1.99.4 released

2004-08-18 Thread Roberto Cavada
, FormatRange, GetStyledText, and GetTextRange - Decision about names of methods, signals and constants. Download PyScintilla can be reached at this URL: http://sra.itc.it/people/cavada/PyScintilla2.html -- _/_/_/ _/_/_/ Roberto Cavada _/ _/ _/ITC-irst http

[pygtk] [ANN] Released gtkmvc version 0.9.1

2004-06-11 Thread Roberto Cavada
, Roberto -- _/_/_/ _/_/_/ Roberto Cavada _/ _/ _/ITC-irst http://www.irst.itc.it _/ _/ _/Automated Reasoning Systems - Formal Methods Group /_/_/ _/Via Sommarive, 18 - 38050 Povo (TN) - Italy

Re: [pygtk] [ANN] MVC-0.3.0 released

2004-01-15 Thread Roberto Cavada
Hi all, thanks for the feedback. Links should be working now. On Thu, 2004-01-15 at 09:29, Ionutz Borcoman wrote: 1. Put somewhere a 'road-map' of the project. Yes, I agree. Project is tagged 0.3.0 just for missing stuff like this. Let me make it clearer. As for our project's needs,

Re: [pygtk] [ANN] MVC-0.3.0 released

2004-01-15 Thread Roberto Cavada
On Thu, 2004-01-15 at 09:49, Roberto Cavada wrote: Thanks you very much for the code you supplied. I will integrate it in the next coming release. I released version 0.9.0. What's new: - changed the module name from 'mvc' to 'gtkmvc' - integrated setup.py for installation - restructured

[pygtk] [ANN] MVC-0.3.0 released

2004-01-14 Thread Roberto Cavada
- fully documented - straightly runs under many platforms (unixes, windows, solaris, etc.) - essential, it does only what it was designed for Latest version and information can be found at this URL: http://sra.itc.it/people/cavada/mvc/index.html Rob -- _/_/_/ _/_/_/ Roberto Cavada

[pygtk] ANN: mvc 0.2.1 released

2003-07-23 Thread Roberto Cavada
docs and a simple example The latest version can be found here: http://sra.itc.it/people/cavada/dload/mvc-0.2.1.tar.gz rob -- _/_/_/ _/_/_/ Roberto Cavada _/ _/ _/ITC-irst http://www.irst.itc.it _/ _/ _/Automated

[pygtk] [ANN] PyScintilla2 version 1.99.2 released

2003-03-20 Thread Roberto Cavada
PyScintilla2 from scratch, by using GtkScintilla2. GtkScintilla2 is a Scintilla widget for GTK2, developed and maintained by Dennis J Houy [EMAIL PROTECTED]. -- _/_/_/ _/_/_/ Roberto Cavada _/ _/ _/ITC-irst http://www.irst.itc.it _/ _/ _/Automated Reasoning Systems - Formal

[pygtk] [ANN] PyScintilla2 version 1.99.1 released

2003-03-11 Thread Roberto Cavada
scratch, by using GtkScintilla2. GtkScintilla2 is a Scintilla widget for GTK2, developed and maintained by Dennis J Houy [EMAIL PROTECTED]. -- _/_/_/ _/_/_/ Roberto Cavada _/ _/ _/ITC-irst http://www.irst.itc.it _/ _/ _/Automated Reasoning Systems - Formal Methods

[pygtk] PyScintilla wrapper [WAS: Porting of wrapper from pygtk1 to pygtk2]

2003-02-21 Thread Roberto Cavada
Roberto Cavada wrote: I am currently trying to port the python wrapper for a gtk widget (gtkscintilla2). I got it! As soon as I get the time to provide some missing code, as well as configuration/building stuff, I'll release PyScintilla-1.99.0. rob -- (What

[pygtk] Porting of wrapper from pygtk1 to pygtk2

2003-02-18 Thread Roberto Cavada
wrappers for gtk widgets? Thank you, roberto -- -- Roberto Cavada ITC-irst Institute for Scientific and Technological Research Automated Reasoning Systems - Formal Methods Group Via Sommarive, 18 - 38050 Povo (TN) - Italy Tel: +39 0461 314 321

[pygtk] Cannot find get_state() in pygtk2

2003-01-29 Thread Roberto Cavada
I need to retrieve sensitive state of a widget. FAQ states I can use the get_state() method, but unfortunately I could not find any trace about that method, in my pygtk installation. import gtk w = gtk.Window() w.get_state() Traceback (most recent call last): File stdin, line 1, in ?

[pygtk] Pythonian class instances inside a TreeModel

2003-01-15 Thread Roberto Cavada
Hi, the GTK+ FAQ states that user-defined data can be stored inside a GtkTreeModel via a hidden column. How can I associate each row in the TreeModel with a user-defined python class instance? If I use an hidden column in the model, what's the type for that column? Thanks, rob

[pygtk] A Model-View-Controller implementation for pygtk2

2002-12-04 Thread Roberto Cavada
. - A better observable properties support. We welcome feedback! rob -- Roberto Cavada ITC-irst Institute for Scientific and Technological Research Automated Reasoning Systems - Formal Methods Group Via Sommarive, 18 - 38050 Povo (TN) - Italy Tel

Re: [pygtk] Frozen pygtk code

2002-12-03 Thread Roberto Cavada
On Tuesday 03 December 2002 11:49, Christian Reis wrote: Has someone ever tried to freeze pygtk code Never did it. Do you mean for Win32, or using the freeze tools that come with Python source? Second one. We're developing a GUI application (http://nusmv.irst.itc.it/gnusmv), fully based on

[pygtk] Frozen pygtk code

2002-12-02 Thread Roberto Cavada
Has someone ever tried to freeze pygtk code, in order to produce a more easily distributable code? rob -- Roberto Cavada ITC-irst Institute for Scientific and Technological Research Automated Reasoning Systems - Formal Methods Group Via

[pygtk] Problem using python2.2

2002-07-01 Thread Roberto Cavada
Hi all, this scribble.py example (in pygtk-1.99.10/examples/simple dir) does not work if I invoke the python2.2.[01] interpreter (see error report below.) The same example can be loaded if the python interpreter is version 2.1, but it does not work anyway: only an empty window with a button