Skip to main content

Questions tagged [events]

An event is a way for a class to provide notifications to listeners when a particular thing happens.

events
-1 votes
1 answer
35 views

How to check the checkbox without actually clicking it

I am working on a simple todo list, and I tried to link the todo, which is the task, with the checkbox, so when I click the task, the checkbox should be checked also. But I don't want to make a label ...
OREO's user avatar
  • 3
0 votes
1 answer
11 views

Custom Event does not propagate wxWidgets C++

I created a custom event to pass Card class in the event : #include "card.hpp" class CardEvent: public wxEvent { public: CardEvent(wxEventType eventType, int winid, const Card &...
Infofly's user avatar
-1 votes
1 answer
43 views

Event polling with event.get() returning result with exception set [duplicate]

Resolution: I've been in conversation with an active pygame developer who, after running through my issue, has confirmed that a recent update to pygame has caused this issue. Again, none of the ...
David Bandel's user avatar
1 vote
2 answers
47 views
+50

How to trigger event on input date select when value is unchanged?

I am pre-selecting a date on <input type='date' /> and want the user to select a date anyway. If the date selected is the same as the pre-selected value, it does not trigger the change event in ...
Z0q's user avatar
  • 1,767
0 votes
1 answer
19 views

Consistency in event sourcing

How to maintain consistency when using Event Sourcing? We are using Event Sourcing to work with balance, so we don't store current state in database. I have following scenario: Lets assume I have ...
viktor nagla's user avatar
0 votes
0 answers
22 views

droidscript events error / bug when i declare them on a class

I have a class whit this code class Widget { onstructor(v) { this.value = v } createFilledRange() { this.btn_plus = app.CreateButton("[fa-plus]", 0.1, 0.05, "...
Erik Basañez's user avatar
0 votes
0 answers
29 views

Is there a way to prevent actions of the forward/backward keys on a mouse

I tried to find at least some information about which mouse events can be prevented with event.preventDefault for forward/backward actions. Found only this example of code (works in chrome, but not ...
MaximPro's user avatar
  • 570
-4 votes
0 answers
19 views

in-app events catalogue tool - who can recommend? [closed]

Looking for a simple tool that creates a catalogue of all in-app events created in the code, and with alerts on new / lost ones... any suggestions? it's always a mess, nobody has all events, nobody ...
Elli Laviv's user avatar
0 votes
1 answer
35 views

Map loadstart event not firing with vector layers (openlayers)

I have a project in OpenLayers 8.2, where there are many types of layers in a map. As introduced in ol 6.14, I am using the 'loadstart' and 'loadend' events of the map object (https://openlayers.org/...
Gal's user avatar
  • 184
0 votes
0 answers
9 views

Pressing button in the main window to execute an even in user control

First, I would like to mention that I am a beginner with C#/WPF and trying to do my best to learn it. I have a main window with multiple navigation buttons on its left side to navigate between user ...
Vlad Petra's user avatar
0 votes
2 answers
71 views

How to Pre-Bind Parameters in a Template-Based Event System in C++

I have an event system in my game engine, consisting of two main components: Event and EventCallback. Event.h: #ifndef _EVENT_H_ #define _EVENT_H_ #include "EventCallback.h" #include <...
mar ben's user avatar
0 votes
1 answer
18 views

How a consumer able to get all messages from a particular partition of a topic?

I was going the Kafka tutorials and lead to one confusion. A topic is distributed in multiple partitions. A producer message goes only into one partition not all partition of a topic. When a consumer ...
Swastik's user avatar
  • 531
0 votes
1 answer
15 views

Is there a way to "expand" an enum in C++ for "type-switching"?

For a project I need an observer class (owned by a Subject that then notifies all of its observers) that handles other behaviours. These observers work by calling their onNotify( Event* ) method that ...
thegrult's user avatar
2 votes
0 answers
21 views

Event Bubbling in Hierarchical State Machine (HSM)

Assume the following setup We are in state A0. What happens if the "EVENT" event is triggered? Technically "A0" specifies how to handle the "EVENT" event. But the guard ...
Yamahari's user avatar
  • 2,018
0 votes
0 answers
22 views

Avoid crosss-toggle between legend items when using errorbar and pick_event

Using Matplotlib version 3.8.4, suspecting this might be a bug. Newbie to Python. When plotting errorbar in a figure, the sample code below experiences an unusually large hitbox for the pick_event ...
David Elcock's user avatar

15 30 50 per page
1
2 3 4 5
2540