Created
March 10, 2016 12:00
-
-
Save iamutkarshtiwari/ea8a0b3ee81afe51f7ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ComboBox(Gtk.ComboBox): | |
- | |
+ ''' | |
+ This class provides a simple wrapper based on the :class:`Gtk.ComboBox`. | |
+ This lets you make a list of items, with a value, label and optionally an | |
+ icon. | |
+ ''' | |
__gtype_name__ = 'SugarComboBox' | |
def __init__(self): | |
@@ -43,6 +53,13 @@ def __init__(self): | |
self.set_row_separator_func(self._is_separator, None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment