³ņ E§ÕEc@s dZdefd„ƒYZdS(s  This module documents a class that defines the behavior of the link button in the template editor. @author: Lateef Alabi-Oki @organization: The Scribes Project @copyright: Copyright Ā© 2007 Lateef Alabi-Oki @license: GNU GPLv2 or Later @contact: mystilleef@gmail.com t LinkButtoncBs2eZdZd„Zd„Zd„Zd„ZRS(s7 This class defines the behavior of the link button. cCsD|i|ƒ|iid|iƒ|_|id|iƒ|_dS(s, Initialize object. @param self: Reference to the LinkButton instance. @type self: A LinkButton object. @param manager: Reference to the TemplateManager instance. @type manager: A TemplateManager object. @param editor: Reference to the text editor. @type editor: An Editor object. tclickedtdestroyN(t_LinkButton__init_attributest_LinkButton__buttontconnectt_LinkButton__clicked_cbt_LinkButton__signal_id_1t_LinkButton__destroy_cbt_LinkButton__signal_id_2(tselftmanager((s$plugins/TemplateEditor/LinkButton.pyt__init__%s cCs)|iidƒ|_d|_|_dS(sć Initialize data attributes. @param self: Reference to the LinkButton instance. @type self: A LinkButton object. @param manager: Reference to the TemplateManager instance. @type manager: A TemplateManager object. tDownloadButtonN(tgladet get_widgetRtNoneRR (R R ((s$plugins/TemplateEditor/LinkButton.pyt__init_attributes6s cCs]ddkl}l}||i|iƒ||i|ƒ|iiƒ||ƒd}~dS(sž Handles callback when the "destroy" signal is emitted. @param self: Reference to the LinkButton instance. @type self: A LinkButton object. @param manager: Reference to the TemplateManager instance. @type manager: A TemplateManager object. i’’’’(tdelete_attributestdisconnect_signalN(t SCRIBES.utilsRRRRR RR(R R RR((s$plugins/TemplateEditor/LinkButton.pyt __destroy_cbDs   cCs-ddkl}|iiƒ}||ƒdS(sņ Handles callback when the "clicked" signal is emitted. @param self: Reference to the LinkButton instance. @type self: A LinkButton object. @param button: Reference to the LinkButton instance. @type button: A LinkButton object. i’’’’(turl_showN(tgnomeRRtget_uri(R tbuttonRturi((s$plugins/TemplateEditor/LinkButton.pyt __clicked_cbWs  (t__name__t __module__t__doc__R RRR(((s$plugins/TemplateEditor/LinkButton.pyR s    N(RtobjectR(((s$plugins/TemplateEditor/LinkButton.pyss