ŗō ĸõEc@s0dZddklZdefd„ƒYZdS(s This module documents a class that implements the about popup menu item for the text editor. @author: Lateef Alabi-Oki @organization: The Scribes Project @copyright: Copyright Š 2005 Lateef Alabi-Oki @license: GNU GPLv2 or Later @contact: mystilleef@gmail.com i˙˙˙˙(t ImageMenuItemtAboutPopupMenuItemcBs2eZdZd„Zd„Zd„Zd„ZRS(sE This class creates the about popup menu item for the text editor. cCsgddkl}ti||ƒ|i|ƒ|id|iƒ|_|ii id|i ƒ|_ dS(sä Initialize the popup menu item. @param self: Reference to the ScribesAboutMenuItem instance. @type self: A ScribesAboutMenuItem object. @param editor: Reference to the text editor. @type editor: An Editor object. i˙˙˙˙(t STOCK_ABOUTtactivatesfocus-in-eventN( tgtkRRt__init__t$_AboutPopupMenuItem__init_attributestconnectt&_AboutPopupMenuItem__popup_activate_cbt _AboutPopupMenuItem__signal_id_1t_AboutPopupMenuItem__editorttextviewt&_AboutPopupMenuItem__focus_in_event_cbt _AboutPopupMenuItem__signal_id_2(tselfteditorR((splugins/About/PopupMenuItem.pyR&s  cCs||_d|_d|_dS(sņ Initialize the popup menu item's attributes. @param self: Reference to the ScribesAboutMenuItem instance. @type self: A ScribesAboutMenuItem object. @param editor: Reference to the text editor. @type editor: An Editor object. N(R tNoneR R (RR((splugins/About/PopupMenuItem.pyt__init_attributes6s   cCs|iiidƒtS(sd Handles callback when the "activate" signal is emitted. @param self: Reference to the ScribesAboutMenuItem instance. @type self: A ScribesAboutMenuItem object. @param menuitem: A menuitem for the ScribesAboutMenuItem. @type menuitem: A gtk.MenuItem object. @return: True to propagate signals to parent widgets. @type: A Boolean Object. tshow_about_dialog(R ttriggermanagerttriggertTrue(Rtmenuitem((splugins/About/PopupMenuItem.pyt__popup_activate_cbEs cCs—|io'|i|iƒo|i|iƒn|io3|iii|iƒo|iii|iƒn|iƒ|`|`|`~d}tS(sÄ Handles callback when the "focus-in-event" signal is emitted. @param self: Reference to the AboutPopupMenuItem instance. @type self: An AboutPopupMenuItem object. @param textview: Reference to the editor's view. @type textview: A ScribesTextView object. @param event: An event that occurs when the popup is hidden. @type event: A gtk.Event object. @return: True to propagate signals to parent widgets. @type: A Boolean Object. N( R thandler_is_connectedt disconnectR R R tdestroyRtFalse(RR tevent((splugins/About/PopupMenuItem.pyt__focus_in_event_cbUs# (t__name__t __module__t__doc__RRRR (((splugins/About/PopupMenuItem.pyR!s    N(R RRR(((splugins/About/PopupMenuItem.pyss