Comments (5)
Okay thank you, I'm pretty sure usage of Threads.Task
here is causing this then. I'll have a PR ready as soon as possible.
Until then you can just use that code snippet instead of main
. Thank you for helping out!
from mousetrap.jl.
Thank you, could you run the following code and tell me if it still crashes?
using mousetrap
app = Application("issue.test")
connect_signal_activate!(app) do app::Application
window = Window(app)
set_child!(window, Label("Test"))
present!(window)
end
run!(app)
I will also try to reproduce this on my end
from mousetrap.jl.
Thank you, could you run the following code and tell me if it still crashes?
This doesn't crash. No window pops up though. (BTW: I added a close-paren to the line set_child!(window, Label("Test")
)
from mousetrap.jl.
Yes thank you, I typo'd there, also I forgot to add run!
, this is the correct code, I also edited the original message.
using mousetrap
app = Application("issue.test")
connect_signal_activate!(app) do app::Application
window = Window(app)
set_child!(window, Label("Test"))
present!(window)
end
run!(app)
Which should open a window.
Does this still crash for you? I apologize for the typos, I shouldn't be answering issue on my phone.
from mousetrap.jl.
That works! It opens a window and does not crash.
from mousetrap.jl.
Related Issues (20)
- Installation precompilation issue HOT 1
- Buttons not appearing HOT 2
- RenderArea disabled. HOT 1
- Unable to download artifact `iso_codes` HOT 4
- Windows dont move correctly with "non standard" screen scales. HOT 3
- Is there a way to influence where new windows are created? HOT 5
- retina_scaling_factor not defined
- function get_revealed missing HOT 1
- Animation longer than 10^7 seconds gives very inaccurate timestep value HOT 2
- Example code is not tested or run HOT 3
- Setting a .jpg as texture segfaults HOT 3
- Outdated packages, Test error and example error HOT 3
- Documented default scaling not implemented
- AssertionError: Object of type AspectFrame does not fullfill the widget interface HOT 3
- Gtk4LayerShell HOT 1
- Critical Error - Open GL component is disabled. HOT 5
- Test error
- Hide on close for windows is broken ? HOT 1
- interacting with dropdowns spills a lot of gtk-criticals in the console HOT 2
- Incorrect ColumnView setting function name
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 mousetrap.jl.