Comments (1)
Seems to require a dependency bump to Gtk/Gdk 3.22. Closing the issue, this is likely best left to be done as part of an eventual GTK+4 migration along whatever other stuff needed.
display = Gdk.Display.get_default()
monitor = display.get_primary_monitor()
geometry = monitor.get_geometry()
scale_factor = monitor.get_scale_factor()
width = scale_factor * geometry.width
height = scale_factor * geometry.height
from nfoview.
Related Issues (20)
- Gtk.Widget.override_* are deprecated HOT 1
- Use gettext instead of intltool
- Selected text background colour HOT 2
- No selected text background HOT 3
- Flickering mouse cursor on Windows HOT 1
- Fix theming with GTK+ 3.22
- Color scheme names not translated
- Package for ubuntu HOT 1
- Homepage link in "About" box, is broken (Windows). HOT 3
- New style app icon
- Windows HOT 2
- Extended ASCII (ISO/IEC 8859-1 / CP819) support HOT 3
- appstream 'mimetypes' tag is deprecated HOT 1
- Can't run it anymore (ModuleNotFoundError). HOT 5
- GNOME 42 runtime is no longer supported HOT 2
- Export .nfo to .svg and .pdf HOT 1
- nfoview showing raw tags HOT 2
- v2.0.0/v2.0.1 - Flatpak problem HOT 3
- GNOME 44 runtime is no longer supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfoview.