Discussion:
gtk-notebook question
Max
2014-08-07 14:27:54 UTC
Permalink
Hi all.

I'd like to use gtk-notebook with gtk-socket and external programs. The problem is -
if I just make a socket with (gsock1 (make <gtk-socket>)) and than call
(gtk-socket-get-id socket) to pass the id to external program I've got always 0.
Seems like I've got to first somehow add it - the question is how and where?

Do I need to add it to top-level window? Can I add it to notebook page?
For example if I add it with (append-page-menu notebook gsock1 (...)) - can I call to
gtk-socket-get-id inside those (...) brackets already?
Or perhaps it's better to use some signal handler instead?

cheers,
Max.

Loading...