def _update_font_weight(self, font_weight):
        """Updates font weight widget

        Parameters
        ----------

        font_weight: Integer
        \tButton down iif font_weight == wx.FONTWEIGHT_BOLD

        """

        toggle_state = font_weight & wx.FONTWEIGHT_BOLD == wx.FONTWEIGHT_BOLD

        self.ToggleTool(wx.FONTFLAG_BOLD, toggle_state)
def _update_font_weight ( self , font_weight ) : toggle_state = font_weight & wx . FONTWEIGHT_BOLD == wx . FONTWEIGHT_BOLD self . ToggleTool ( wx . FONTFLAG_BOLD , toggle_state )
Updates font weight widget

        Parameters
        ----------

        font_weight: Integer
        \tButton down iif font_weight == wx.FONTWEIGHT_BOLD