

def popup_editor(self):
    ' Invokes the pop-up editor for an object trait.\n        '
    (fnt, ok) = QtGui.QFontDialog.getFont(self.factory.to_qt4_font(self), self.control)
    if ok:
        fnt.value = self.factory.from_qt4_font(fnt)
        self.update_editor()

dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/font_editor.py SimpleFontEditor.popup_editor/VarMisuse@43/78 `self`->`fnt`