def _on_label_realize(self, eventbox): """ Change cursor on label @param eventbox as Gtk.EventBox """ if InfoPopover.should_be_shown() and self._artist_ids: eventbox.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.HAND2))
def _on_label_realize(self, eventbox): """ Change cursor on label @param eventbox as Gtk.EventBox """ if InfoPopover.should_be_shown() and self._artist_ids: eventbox.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.HAND1))
def _on_label_realize(self, eventbox): """ Change pointer on label @param eventbox as Gtk.EventBox """ if InfoPopover.should_be_shown() and\ self._album.artist_ids[0] != Type.COMPILATIONS: eventbox.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.HAND1))
def _on_label_realize(self, eventbox): """ Change pointer on label @param eventbox as Gtk.EventBox """ if InfoPopover.should_be_shown() and\ self._album.artist_ids[0] != Type.COMPILATIONS: eventbox.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.HAND1))
def _on_image_button_release(self, eventbox, event): """ Show artist artwork manager @param eventbox as Gtk.EventBox @param event as Gdk.Event """ if InfoPopover.should_be_shown() and self._artist_ids: pop = ArtworkPopover(self._artist_ids[0]) pop.set_relative_to(eventbox) pop.show()
def _on_label_button_release(self, eventbox, event): """ Show artists information @param eventbox as Gtk.EventBox @param event as Gdk.Event """ if InfoPopover.should_be_shown() and self._artist_ids: pop = InfoPopover(self._artist_ids, False) pop.set_relative_to(eventbox) pop.show()
def _on_image_button_release(self, eventbox, event): """ Show artist artwork manager @param eventbox as Gtk.EventBox @param event as Gdk.Event """ if InfoPopover.should_be_shown() and self._artist_ids: pop = ArtworkPopover(self._artist_ids[0]) pop.set_relative_to(eventbox) pop.show()
def _on_label_button_release(self, eventbox, event): """ Show artists information @param eventbox as Gtk.EventBox @param event as Gdk.Event """ if InfoPopover.should_be_shown() and self._artist_ids: pop = InfoPopover(self._artist_ids, False) pop.set_relative_to(eventbox) pop.show()
def _on_label_button_release(self, eventbox, event): """ On clicked label, show artist informations in a popover @param eventbox as Gtk.EventBox @param event as Gdk.Event """ if InfoPopover.should_be_shown() and\ self._artist_id is not None: pop = InfoPopover([self._artist_id], False) pop.set_relative_to(eventbox) pop.show()
def _on_label_button_release(self, eventbox, event): """ On clicked label, show artist informations in a popover @param eventbox as Gtk.EventBox @param event as Gdk.Event """ if InfoPopover.should_be_shown() and\ self._artist_id is not None: pop = InfoPopover([self._artist_id], False) pop.set_relative_to(eventbox) pop.show()
def _on_label_button_release(self, eventbox, event): """ On clicked label, show artist informations in a popover @param eventbox as Gtk.EventBox @param event as Gdk.Event """ if InfoPopover.should_be_shown() and\ self._album.artist_ids[0] != Type.COMPILATIONS: pop = InfoPopover(self._album.artist_ids) pop.set_relative_to(eventbox) pop.show()
def _on_label_button_release(self, eventbox, event): """ On clicked label, show artist informations in a popover @param eventbox as Gtk.EventBox @param event as Gdk.Event """ if InfoPopover.should_be_shown() and\ self._album.artist_ids[0] != Type.COMPILATIONS: pop = InfoPopover(self._album.artist_ids) pop.set_relative_to(eventbox) pop.show()