def popup_editor(self):
        fnt, ok = QtGui.QFontDialog.getFont(self.factory.to_qt4_font(self),
                                            self.control)

        if ok:
            self.value = self.factory.from_qt4_font(fnt)
            self.update_editor()

    #---------------------------------------------------------------------------
    #  Updates the editor when the object trait changes external to the editor:
    #---------------------------------------------------------------------------
Invokes the pop-up editor for an object trait.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/font_editor.py/SimpleFontEditor.popup_editor