Jarek Zgoda | 1 Feb 2008 09:33
Picon
Gravatar

Minor update to Polish translation file

While currently Kiwi does not use any plural forms, for future use I
added Polish pluralization rules to pl.po. Please, find attached diff
made against rev. 7421.

-- 
Jarek Zgoda
http://zgodowie.org/
Attachment (pl.po.diff): text/x-patch, 421 bytes
While currently Kiwi does not use any plural forms, for future use I
added Polish pluralization rules to pl.po. Please, find attached diff
made against rev. 7421.

--

-- 
Jarek Zgoda
http://zgodowie.org/
Fábio Morbec | 1 Feb 2008 13:01
Picon

ANNOUNCE: kiwi 1.9.20

Kiwi is a high-level, object-oriented user interface framework based
on PyGTK. If you think programming PyGTK applications should be
faster, easier and more Pythonic, Kiwi is the right choice!

Kiwi borrows concepts from the Model-View-Controller pattern (MVC),
along with Allen Holub's Visual Proxy [1]. Its design has been
heavily informed by real-world experience using PyGTK to develop
large desktop applications, and support is included for all major UI
patterns, including multiple windows and dialogs, forms, lists and
direct integration with persistent domain objects.

Download
========

Grab the latest sources from:

http://www.async.com.br/projects/kiwi/download/kiwi-1.9.20.tar.gz

What's new since 1.9.19?
=======================
  - Italian Translation (Sandro Bonazolla, #3582).
  - Added suport for Storm (Ali Afshar, #3408).
  - Column:: Added new property column. (Johan Dahlin)
  - ProxySlaveDelegate:: added. (Brad Crittenden).
  - SignalBroker:: After was broken, all signals were connected using
    after instead of on by default (Johan Dahlin, based on patch by Arek
    Korbik).

Features
========
(Continue reading)

bugzilla-daemon | 5 Feb 2008 05:24
Picon

[Bug 3632] New: button-press-event does not work with ComboEntry()

http://bugs.async.com.br/show_bug.cgi?id=3632

           Summary: button-press-event does not work with ComboEntry()
           Product: Kiwi
           Version: SVN trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: (unset)
          Priority: (unset)
         Component: ComboEntry
        AssignedTo: jdahlin <at> async.com.br
        ReportedBy: markybob <at> gmail.com
         QAContact: kiwi <at> async.com.br
   Estimated Hours: 0.0

basically doing this:
foo = ComboEntry()
foo.connect("button-press-event", self.on_widget_click)

however, self.on_widget_click is *not* being called when i click on foo.  how
can i work around this or fix it?  

thanks

--

-- 
Configure bugmail: http://bugs.async.com.br/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
(Continue reading)

Marcos Pinto | 5 Feb 2008 07:29
Picon

CombEntry() problem

basically doing this:
foo = ComboEntry()
foo.connect("button-press-event", self.on_widget_click)

however, self.on_widget_click is *not* being called when i click on foo.  how
can i work around this or fix it?

thanks
Johan Dahlin | 5 Feb 2008 10:26
Picon

Re: CombEntry() problem

Marcos Pinto wrote:
> basically doing this:
> foo = ComboEntry()
> foo.connect("button-press-event", self.on_widget_click)
> 
> however, self.on_widget_click is *not* being called when i click on foo.  how
> can i work around this or fix it?

What kind of behavior are you expecting?
Do you want to be able to click on any part of the area of the combo entry,
do you want to click on the arrow to expand the number of options or
do you want to focus the entry?

Johan
Johan Dahlin | 5 Feb 2008 11:25
Picon

Re: CombEntry() problem

Marcos Pinto wrote:
> I want to be able to click on any part of the area of the combo entry
> and have on_widget_click run

Why would you want to do that? I don't quite understand the use case..
Perhaps there's another way of doing the same thing.

Johan
Maximiliano Robaina | 7 Feb 2008 21:45
Picon
Favicon

Testing kiwi

Hi,
I'm testing kiwi right now. After to run /simple/simple.py example, a 
console message appear with the text:

environ              no localedir for: kiwi

What's means this?

Regards.

P.D: I'm using python 2.5 on Windows XP, kiwi-1.9.20 and Eclipse PyDev 
editor.

Robert Gravina | 8 Feb 2008 08:34

visual proxy in wxPython

Hi All,

I'm cross-posting this to the wxPython and Kiwi mailing lists,  
because it's relevant to both groups. Apologies to the Kiwi-people if  
it's more to do with wxPython.

Here's my question in short and long form:

Short version:
Does anyone know of a visual proxy implementation for wxPython?

Long version:
I've been working for some time on a wxPython application which uses  
the MVP pattern described here:
http://wiki.wxpython.org/wxPython_Patterns

I often needed to develop create/update/edit/delete GUIs for objects  
(or lists/dicts of them), and ended up with a little framework for  
making these forms. You basically provide it with a list of objects  
of the same type, and provide it with a list of attribute name and  
types, and it will generate a GUI so users can add/edit/delete  
entries on a list.

It's worked reasonably well so far, but the code's a bit messy now..  
and in general, my MVP application isn't as clean/understandable as  
I'd hoped. Just having all these views, presenters, models and  
interactors for every single form seems a bit more complex than it  
needs to be. 					

A little while ago I came across this article on the Visual Proxy  
(Continue reading)

Bruno Gomes | 12 Feb 2008 19:09
Picon

Objectlist with Column validate

it's the first idea of implementation it

Index: ui/objectlist.py
===================================================================
--- ui/objectlist.py	(revision 7431)
+++ ui/objectlist.py	(working copy)
 <at>  <at>  -158,6 +158,7  <at>  <at> 
     gproperty('ellipsize', pango.EllipsizeMode, default=pango.ELLIPSIZE_NONE)
     gproperty('font-desc', str)
     gproperty('column', str)
+    gproperty('validate', object)
     #gproperty('title_pixmap', str)

     # This can be set in subclasses, to be able to allow custom
 <at>  <at>  -197,7 +198,7  <at>  <at> 

         self._objectlist = None
         self.compare = None
-        self.from_string = None
+        self.from_string = kwargs.get('validate')

         kwargs['attribute'] = attribute
         kwargs['title'] = title or attribute.capitalize()
 <at>  <at>  -241,7 +242,8  <at>  <at> 
         if data is not None:
             conv = converter.get_converter(data)
             self.compare = conv.get_compare_function()
-            self.from_string = conv.from_string
+            if not self.from_string:
+                self.from_string = conv.from_string
(Continue reading)

Johan Dahlin | 12 Feb 2008 16:19
Picon

Re: Objectlist with Column validate

Bruno Gomes wrote:
> it's the first idea of implementation it

Thanks,

Do you have an example of a possible implementation of this?
Documentation is also a must if you want this to go in.

You can just use a subclass (of Column) instead of using a property.

> 
> Index: ui/objectlist.py
> ===================================================================
> --- ui/objectlist.py	(revision 7431)
> +++ ui/objectlist.py	(working copy)
>  <at>  <at>  -158,6 +158,7  <at>  <at> 
>      gproperty('ellipsize', pango.EllipsizeMode, default=pango.ELLIPSIZE_NONE)
>      gproperty('font-desc', str)
>      gproperty('column', str)
> +    gproperty('validate', object)
>      #gproperty('title_pixmap', str)
> 
>      # This can be set in subclasses, to be able to allow custom
>  <at>  <at>  -197,7 +198,7  <at>  <at> 
> 
>          self._objectlist = None
>          self.compare = None
> -        self.from_string = None
> +        self.from_string = kwargs.get('validate')
> 
(Continue reading)


Gmane