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
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
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
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
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
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.
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
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
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
===
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
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
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
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
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
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
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
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?
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/
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/
(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
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,
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
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
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
,
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
,
Roberto
--
_/_/_/ _/_/_/ Roberto Cavada
_/ _/ _/ITC-irst http://www.irst.itc.it
_/ _/ _/Automated Reasoning Systems - Formal Methods Group
/_/_/ _/Via Sommarive, 18 - 38050 Povo (TN) - Italy
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,
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
- 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
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
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
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
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
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
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 ?
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
.
- 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
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
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
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
40 matches
Mail list logo