def _handle_width_allocate(self, allocation): """ Update entry width @param allocation as Gtk.Allocation """ if BannerWidget._handle_width_allocate(self, allocation): self.__entry.set_size_request(self.width / 3, -1)
def _handle_width_allocate(self, allocation): """ Update artwork @param allocation as Gtk.Allocation """ if BannerWidget._handle_width_allocate(self, allocation): self.__set_internal_size()