Questions tagged [events]
An event is a way for a class to provide notifications to listeners when a particular thing happens.
events
38,103
questions
0
votes
1
answer
19
views
Rust generic lifetime elision issue
I am trying to a implement generic observable collections for use with a UI framework I'm writing. I'm currently having an issue with lifetimes not being elidable in generics.
For brevity the ...
0
votes
2
answers
29
views
Htmx on custom events
I'm trying to use htmx triggers and custom events without success. I'm using custom events because I'm going to trigger multiple refresh in a page. My source is very simple, but I cannot make it work:
...
0
votes
0
answers
25
views
I do not understand difference between multi-cast delegates and events [duplicate]
I can achieve everything which event can achieve using multi-cast delegate.
you name it
Can anyone explain with an example
The only difference I can see is event keyword
The most common answer I heard ...
0
votes
0
answers
9
views
How to add event listener when the bootstrap modal is shown
<button type="button" class="btn main-button btn-tableColumns add-campaign" data-toggle="modal" data-target="#add_campaign">{{__('Add New Campaign')}}</...
1
vote
1
answer
60
views
Why does the console output work, but the RichEditBox gets blocked?
I have simple Form Application, this app contain separated socket Task. This Task handles send(string) procedure for sending message to Server. Server sends back message to client, Task receives ...
0
votes
1
answer
9
views
AWS EventBridge Pipeline - Self Managed Kafka filter not working
I have event coming from self-managed kafka in following format:
{
"topic":"aaa",
"partition":16,
"offset":108687,
"timestamp":1721654305109,
...
0
votes
1
answer
24
views
Problem sending event to Goggle Analytics via python
I have this .py code that should send an event to google analytics 4. When i execute the code, i get 204 message which i think means it run successfully. My problem is that when i go to events on ...
1
vote
0
answers
21
views
Import ICS file using intent
i am using Pixel 6 Device having Androd 15
i am facing issue that when importing ics file using any other device the screen is perfect but when using Pixel 6 Device i am facing the issue same as in ...
0
votes
3
answers
41
views
Can I use an event listener with two events?
I am doing a "pixel art" web page, and I don't want the "pencil" to draw when I am not pressing the button on the mouse, I try to do this but either I can make the "pencil&...
-1
votes
1
answer
37
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 ...
0
votes
1
answer
22
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 &...
-2
votes
1
answer
52
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 ...
2
votes
3
answers
104
views
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 ...
0
votes
1
answer
24
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 ...
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, "...