def __init__(self,
              parent,
              list_get_cb=None,
              popup_hide_object_signal_list=[]):
     FloaterListOpener.__init__(self, list_get_cb,
                                popup_hide_object_signal_list)
     WidgetEntryButton.__init__(self, parent)
Example #2
0
    def __init__(self, parent, title=None, list_get_cb=None,
                 sel_object_get_cb=None, popup_hide_object_signal_list=[]):

        def null_sel():
            return None

        self._sel_object_get_cb = sel_object_get_cb or null_sel
        FloaterListOpener.__init__(
            self, list_get_cb, popup_hide_object_signal_list)
        WidgetButton.__init__(self, parent)

        self._value = None
        self._title = title or ""
        self.clicked = self._open
    def __init__(self,
                 parent,
                 title=None,
                 list_get_cb=None,
                 sel_object_get_cb=None,
                 popup_hide_object_signal_list=[]):
        def null_sel():
            return None

        self._sel_object_get_cb = sel_object_get_cb or null_sel
        FloaterListOpener.__init__(self, list_get_cb,
                                   popup_hide_object_signal_list)
        WidgetButton.__init__(self, parent)

        self._value = None
        self._title = title or ""
        self.clicked = self._open
 def _floater_actions_init(self):
     self._floater.action_add("None", self._none_selected)
     FloaterListOpener._floater_actions_init(self)
 def __init__(
     self, parent, list_get_cb=None, popup_hide_object_signal_list=[]):
     FloaterListOpener.__init__(
         self, list_get_cb, popup_hide_object_signal_list)
     WidgetEntryButton.__init__(self, parent)
Example #6
0
 def __init__(self, editable):
     FloaterListOpener.__init__(self)
     self.e = editable
Example #7
0
 def __init__(self, editable):
     FloaterListOpener.__init__(self)
     self.e = editable