The stupid question is the question not asked | |
PerlMonks |
Re^3: Can GTK3 be driven externally?by haukex (Archbishop) |
on Jan 30, 2020 at 17:50 UTC ( [id://11112118]=note: print w/replies, xml ) | Need Help?? |
Disclaimer: This is still just from quick Googling, I actually haven't done this myself, but I hope these pointers help. It looks to me like you would set up a GSocketService which has an incoming event, get the GSocketConnection's GSocket file descriptor, and then register that with a GIOChannel via g_io_add_watch. It also appears that one can write a handler for the client in a blocking manner in a separate thread via GThreadedSocketService.
In Section
Seekers of Perl Wisdom
|
|