diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-07-02 21:34:55 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-07-02 21:34:55 +0000 |
commit | 7f9e807865d0f850caaeef36f3de10c0b9a6de39 (patch) | |
tree | f4edef4cc217ca6e153c27f73bd5b35a3c4b35ec /gui.py | |
parent | 1c0e972267dc682c79d86f262b7bbf2fa8590d14 (diff) | |
download | anaconda-7f9e807865d0f850caaeef36f3de10c0b9a6de39.tar.gz anaconda-7f9e807865d0f850caaeef36f3de10c0b9a6de39.tar.xz anaconda-7f9e807865d0f850caaeef36f3de10c0b9a6de39.zip |
add a MnemonicLabel helper class
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -160,6 +160,11 @@ def growToParent(widget, rect, growTo=None): else: widget.ignoreEvents = 0 +class MnemonicLabel(gtk.Label): + def __init__(self, text=""): + gtk.Label.__init__(self, "") + self.set_text_with_mnemonic(text) + class WrappingLabel(gtk.Label): def __init__(self, label=""): gtk.Label.__init__(self, label) |