Skip to main content

All Questions

Tagged with
0 votes
1 answer
60 views

Python/Tkinker Combobox event not launching [duplicate]

I'm pulling my hair out and sure I'll be embarrassed by how simple my mistake is. I have created a Combobox which is supposed to launch a function each time is it selected. However nothing happens ...
Tom's user avatar
  • 1,043
1 vote
1 answer
269 views

LabVIEW: How to listen to property changed in .NET from LabVIEW

I am writing a .NET library for LabVIEW to control our camera. I am not sure how to read property changed in .NET from LabVIEW. For example, when we want to capture 10 images I want LabVIEW know ...
user1296153's user avatar
1 vote
1 answer
37 views

Staying away from global state with sync callback handlers in AcornJS

I am using AcornJS and trying to stay away from global variables. I am looking for a functional paradigm that will allow me to accumulate an array of data from two handlers from the types.visit ...
ThomasReggi's user avatar
  • 58.2k
0 votes
2 answers
32 views

How make an events target accessable in another function?

I have the following code scenario, where right now e.target.parentNode.parentNode.removeChild( e.target.parentNode );is not accessable in deleteUser. Is there a way to connect it or any other ...
codeDragon's user avatar
0 votes
2 answers
702 views

Is there an easy way to simulate events between WCF service and WCF client?

So I've achieved localhost WCF Named Pipes communication between client EXE and server EXE. I can call class methods on the server over localhost. So, it's like an IPC/RPC. However, if the server's ...
Volomike's user avatar
  • 24.7k
0 votes
1 answer
128 views

wxpython: How to influence wx objects from another wx object's callback function?

I'm coding a small GUI at the moment and wanted to know how I could influence wxpython widgets' states from within another's callback function. At the moment, I can't influence widgets from my ...
Ampig's user avatar
  • 209
1 vote
2 answers
587 views

Gaining access to events in tkinter between objects

In this sample python/tkinter script I have 3 classes. My first class SandBox sets up a notebook with two tabs, each tab is a separate class object. This script is not a real world script I'm ...
user1904898's user avatar
1 vote
0 answers
196 views

EventArgs can not be serialized in WCF , Generic callback event

Suppose these Data Contracts: [DataContract] public class TestTabularPoint_C { [DataMember] public string Modality { get; set; } [DataMember] public string StudyDate { get; set; } ...
Aria's user avatar
  • 3,824
0 votes
1 answer
241 views

Javascript / node.js - callbacks inside Promise

i have some callbacks inside my promise: var res = new Promise(resolve => { console.log('trig1'); var out = fs.createWriteStream(pathToFile); console.log('trig2'); out.on('finish', ...
Creative crypter's user avatar
2 votes
1 answer
1k views

OpenCL Callback hangs / freezes (deadlock, pthread_cond_wait)

I created a basic snippet: Kernel: __kernel void kernel1(__global int* a, __global int* b, __global int* c, int size) { int idx = get_global_id(0); if (idx >= 0 && idx < size){ ...
user3819881's user avatar
1 vote
1 answer
331 views

in Node.js- Is there any relationship between Events (EventEmitter and Listener Function objects) and the asynchronous callbacks

I am exploring Node.js.I understand that Node.js core API is built around the idiomatic asynchronous event-driven architecture Now, by this I guess it means every time an asynchronous Function is ...
Srini's user avatar
  • 41
1 vote
1 answer
760 views

linux c++: libaio callback function never called?

I'm on ubuntu 16.10 with g++ 6.2, testing libaio feature: 1. I was trying to test io_set_callback() function 2. I was using main thread and a child thread to talk by a pipe 3. child thread writes ...
Hind Forsum's user avatar
  • 10.3k
1 vote
0 answers
240 views

C++ Create callback from C++/CLI to C++

Hello for my project i have the "main" dll non cli in a process. Then i have multiples instance of c# dll which embed a CLI dll. From c# i can add a "EventHandler" to the cli. Now the tricky part. I ...
Sylvain Martens's user avatar
2 votes
0 answers
299 views

can Matlab global variables yield better performance in Matlab?

I hate using global variables, and everyone should. If a language has no way around using global variables it should be updated. Currently, I don't know any good alternative to using global variables ...
Stefan Karlsson's user avatar
0 votes
2 answers
69 views

Maintaining state across asynchronous events in javascript

We have a loader which is based on an event listener. This is through pouchdb. So each time a document is received to the client the listener fires. We check if that document is related to the loader ...
MilindaD's user avatar
  • 7,643

15 30 50 per page
1
3 4
5
6 7
18