How to use the gooey.gui.util.wx_util.make_bold function in Gooey

To help you get started, we’ve selected a few Gooey examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lrq3000 / pyFileFixity / pyFileFixity / lib / gooey / gui / widgets / components.py View on Github external
def createTitle(self, parent):
    text = wx.StaticText(parent, label=self.data['display_name'].title())
    wx_util.make_bold(text)
    return text
github chriskiehl / Gooey / gooey / gui / components / widgets / bases.py View on Github external
def arrange(self, *args, **kwargs):
        wx_util.make_bold(self.label)
        wx_util.withColor(self.label, self._options['label_color'])
        wx_util.withColor(self.help_text, self._options['help_color'])
        wx_util.withColor(self.error, self._options['error_color'])

        self.help_text.SetMinSize((0,-1))

        layout = wx.BoxSizer(wx.VERTICAL)

        if self._options.get('show_label', True):
            layout.Add(self.label)
        else:
            layout.AddStretchSpacer(1)

        layout.AddSpacer(2)
        if self.help_text and self._options.get('show_help', True):
            layout.Add(self.help_text, 1, wx.EXPAND)
github chriskiehl / Gooey / gooey / gui / widgets / components.py View on Github external
def createTitle(self, parent):
    text = wx.StaticText(parent, label=self.data['display_name'].title())
    wx_util.make_bold(text)
    return text
github lrq3000 / pyFileFixity / pyFileFixity / lib / gooey / gui / widgets / choosers.py View on Github external
def CreateNameLabelWidget(self, parent):
    label = self.data['title'].title()
    text = wx.StaticText(parent, label=label)
    wx_util.make_bold(text)
    return text
github chriskiehl / Gooey / gooey / gui / widgets / components.py View on Github external
def format_title(self, parent, title):
    text = wx.StaticText(parent, label=title)
    wx_util.make_bold(text)
    return text