comparison src/tools/xml_tools.py @ 1141:7fcafc3206b1

plugin OTR: authentication management + fixed a bug in setState (due to a wrong docstring in potr.context.getCurrentTrust)
author Goffi <goffi@goffi.org>
date Wed, 27 Aug 2014 00:23:14 +0200
parents 018bdd687747
children 2f9f735334da
comparison
equal deleted inserted replaced
1140:7f32371568e4 1141:7fcafc3206b1
738 738
739 def __init__(self, xmlui, options, selected=None, style=None, name=None, parent=None): 739 def __init__(self, xmlui, options, selected=None, style=None, name=None, parent=None):
740 """ 740 """
741 741
742 @param xmlui 742 @param xmlui
743 @param options (list[string, tuple]): each option can be given as: 743 @param options (list[option]): each option can be given as:
744 - a string if the label and the value are the same 744 - a single string if the label and the value are the same
745 - a couple if the label and the value differ 745 - a tuple with a couple of string (value,label) if the label and the value differ
746 @param selected (list[string]): list of the selected values 746 @param selected (list[string]): list of the selected values
747 @param style (string) 747 @param style (string)
748 @param name (string) 748 @param name (string)
749 @param parent 749 @param parent
750 """ 750 """