Next / Previous / Contents / Shipman's homepage

7.7. Controls.getFont(): Return the current font

Returns the font currently selected.

fontselect.py
# - - -   C o n t r o l s . g e t F o n t

    def getFont(self):
        """Return the current tkFont.Font instance.
        """
        return  self._currentFont