[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: No signals from Plasma.ComboBox?
From: Thomas Olsen <tanghus () gmail ! com>
Date: 2009-09-30 13:52:53
Message-ID: 200909301552.53310.tanghus () gmail ! com
[Download RAW message or body]
On 30/9-2009 14:43 Marco Martin <notmart@gmail.com> wrote:
> On Wednesday 30 September 2009, Thomas Olsen wrote:
> > def do_convert_from(currency_from):
> > print "Convert from:" + currency_from
> >
BTW: I forgot a basic Python rule and add "self" as an argument to class
methods :-/ It should naturally be:
def do_convert_from(self, currency_from):
print "Convert from:" + currency_from
But it didn't change the result.
Now I've added a PushButton and connected it to a slot where I can get the
value from the combo, but it's not optimal so I'm still open for suggestions.
--
Best Regards / Med venlig hilsen
Thomas Olsen
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic