JBrowser Source Docs
You are reading the documentation for JBrowser 2.0.0. The newest release is 2.0.3. Go to the latest documentation

jbrowser.ui.glass

Generated from the source code of JBrowser 2.0.0.

jbrowser/ui/glass.py · 53 lines

GlassPopup: a small popup window with the system Acrylic behind it, like the Archive and menus.

Constants#

Name Value
GLASS_ALPHA (0.42, 0.5)

GlassPopup#

class GlassPopup(QFrame)source
GlassPopup(parent: QWidget | None)

Closes when the user clicks elsewhere (Qt.Popup). Subclasses add their own layout.

GlassPopup.show_below#

show_below(anchor: QWidget, align_right: bool=True) -> Nonesource

Open under anchor (right edges aligned), kept on the anchor's screen.

Qt overrides: paintEvent