Пример #1
0
 def do_map(self):
     Popup.do_map(self)
     
     self.__view.map()
     if self.focused and self.__vscrolled:
         self.__scrollbar.map()
     else:
         # the scrollbar needs to be realized to accept the scroll events we forward it
         self.__scrollbar.realize()
Пример #2
0
    def do_map(self):
        Popup.do_map(self)

        self.__view.map()
        if self.focused and self.__vscrolled:
            self.__scrollbar.map()
        else:
            # the scrollbar needs to be realized to accept the scroll events we forward it
            self.__scrollbar.realize()
Пример #3
0
 def do_map(self):
     Popup.do_map(self)
     
     self.__view.map()
     if self.focused and self.__vscrolled:
         self.__scrollbar.map()