12.2.2. CurrencyTextBox

Last page update: November 09, 2011

Note

CurrencyTextBox features:

12.2.2.1. definition

currencyTextbox([**kwargs])

12.2.2.2. description

The currencyTextbox inherits all the attributes and behaviors of the numberTextbox widget but it is specialized for input monetary values, much like the currency type in spreadsheet programs.

12.2.2.3. attributes

currencyTextbox:

  • currency: specify used currency
  • locale: specify currency format type

12.2.2.4. Examples

12.2.2.4.1. simple example

Example:

class GnrCustomWebPage(object):
    def main(self,root,**kwargs):
        root.currencyTextBox(value='^amount',currency='EUR',locale='it')

Table Of Contents

Previous topic

12.2.1. TextBox

Next topic

12.2.3. DateTextbox

This Page