Comments (2)
It started out like that because the events emitted by Hyprland are by name, not id, but I agree that it makes more sense.
If you want to set margin from setup
you have to use gtk-layer-shell
directly for now, because just like ags.Widget
, ags.Window
is just a parser, have a look at the source for reference.
I am working on a new version where everything is subclassed so you will be able to use window.margin after construction too.
from ags.
Did spot the source, will do, since the setup object is a Gtk.Window i should be able to directly use it in any Gtk functions. Thanks for the swift changes!
from ags.
Related Issues (20)
- Custom svg ignores fill value HOT 4
- ReferenceError when using any of the examples HOT 1
- Example notification popups widget not working HOT 1
- Not able to fetch any players while using Mpris service HOT 2
- EventBox triggering event for other button HOT 1
- CSS modules HOT 3
- Add method to modify notification ID HOT 2
- Utils.monitorFile not registering events HOT 4
- Clock gets out of sync HOT 3
- keymode exclusive doesnt grab device, and hyprland shortcuts keep working HOT 4
- hoverLost event callback is never invoked HOT 1
- Correct TypeScript setup? HOT 11
- Update "First Widgets" section of the wiki HOT 1
- Not able to get position, volume and length from Mpris player HOT 2
- Visible option of widgets inside a box is ignored on initialization. HOT 5
- Stack seems to prioritize showing box widget over other widgets HOT 6
- bluetooth does not work properly after waking up from suspend HOT 1
- Reference Monitor IDs by Hyprland ID, not GDK ID HOT 4
- links in label
- Setting Stream.stream.is_muted has no effect HOT 2
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 ags.