Skip to main content
0 votes
1 answer
45 views

I’m trying to keep a constant ratio (1:1) on a stage when I’m resizing it. Here is the code I’m using: import javafx.application.Application; import javafx.application.Platform; import javafx.beans....
Dr_Click's user avatar
  • 469
Advice
0 votes
4 replies
32 views

Let's say there already exists a window. I want the user to be able to hold mouse down on the window, prevent the window from receiving the mouse up events, and the window should think that the mouse ...
Ar25k's user avatar
  • 1
0 votes
1 answer
81 views

I'm looking for a way of retrieving the current X+Y coordinates of the mouse cursor in python without using the PyAutoGUI library. pyautogui.position() works, but I want to avoid dependencies like ...
Red_byte's user avatar
  • 378
1 vote
0 answers
38 views

I'm trying to render audio plugin UI using SDL3. I want to create an SDL3 window, and then make it as a child into an existing window that is provided by host DAW program. However, if I wrap the ...
jiandingzhe's user avatar
  • 2,215
10 votes
2 answers
669 views

I have a ToggleButton with a PreviewMouseDown event handler. Everything works fine. But if I add MessageBox.Show("Message") to this handler, the ToggleButton stops switching to the pressed ...
ffvideoner's user avatar
0 votes
0 answers
101 views

Dioxus components can add EventHandlers on predefined Node attributes eg: fn app() -> Element { let mut moveCount = use_signal(|| 0); rsx! { h1 { "Mouse mouvement counter: {...
KrapocK's user avatar
  • 56
1 vote
1 answer
123 views

I'm creating a puzzle game, where the user uses mouse clicks to move the "cells" or numbers into the right order. It was going fine until I decided to add a block of code that lets the user ...
user28453548's user avatar
-2 votes
1 answer
82 views

i'm trying to make it so that a surface moves whenever the user scrolls the mousewheel, like how this website moves when you scroll. here's the code i'm working with so far. scrollVal=74 for event in ...
WyvernSlayer 7's user avatar
2 votes
1 answer
141 views

I found this example on a website, but neither event is triggered, even though the code appears to be correct. import javafx.application.Application; import javafx.scene.Cursor; import javafx.scene....
Adalberto J. Brasaca's user avatar
0 votes
0 answers
74 views

I have two programs that run on my MacBook (26.0). I can get the mouse to return the current coordinates on a button action with \e[?1000h\e[?1006h. This reports the mouse position on mouse button ...
Richard Kirk's user avatar
0 votes
0 answers
102 views

I got a vertical mouse with very annoying side keys (BTN_SIDE/BTN_EXTRA) that I accidentally press. I'm trying to disable them but on Wayland it looks impossible. I tried a hwdb override, basically I ...
Thomas's user avatar
  • 205
1 vote
1 answer
84 views

I am attempting to store coordinates from two mouse clicks in an interactive matplotlib graph in JupyterLab. I have managed to interact with the plot and get the x and y coordinates to print upon ...
Karla Wagner's user avatar
0 votes
1 answer
100 views

When I started learning AngularJs i ran into something weird in a component when i write a click event and get send the $event as the parameter the type of event has to be MouseEvent in the TS file, ...
Sajjad-Kazemi's user avatar
0 votes
0 answers
64 views

Problem I’m using the PrimeNG <p-tree> component (Angular 17, PrimeNG 17.0.1). I’d like: single-click → show the node’s details in a side panel (i.e., “open” the node) double-click → expand or ...
Abishek's user avatar
  • 11
0 votes
0 answers
61 views

I'm working on an object tracking application using OpenCV and YOLOv8. I want to display a custom marker (a circle and two crossing lines) at the center of a detected object when I click on it. I'm ...
Helli KARI's user avatar

15 30 50 per page
1
2 3 4 5
417