From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Evgeny Zajcev Newsgroups: gmane.emacs.devel Subject: Subwindow xwidget Date: Mon, 29 Apr 2019 23:10:51 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003ad8df0587b0e2ba" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="148251"; mail-complaints-to="usenet@blaine.gmane.org" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 29 22:11:24 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hLCcT-000cPU-QZ for ged-emacs-devel@m.gmane.org; Mon, 29 Apr 2019 22:11:21 +0200 Original-Received: from localhost ([127.0.0.1]:34672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLCcS-0005l6-Qo for ged-emacs-devel@m.gmane.org; Mon, 29 Apr 2019 16:11:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLCcE-0005k2-DQ for emacs-devel@gnu.org; Mon, 29 Apr 2019 16:11:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLCcD-0006Nb-Ja for emacs-devel@gnu.org; Mon, 29 Apr 2019 16:11:06 -0400 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:33080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLCcD-0006Mu-CJ for emacs-devel@gnu.org; Mon, 29 Apr 2019 16:11:05 -0400 Original-Received: by mail-lj1-x22c.google.com with SMTP id f23so10637023ljc.0 for ; Mon, 29 Apr 2019 13:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QWoizmB6wWzl+BSdjofZki4isApYh3ZN+Laq7lqiPgs=; b=oWNp8eMdAOlQAU46joax6HQR6mqfI8MX1CCVvgrOJHn2IWlDBbsih9W/x1Vi1Z4hbt 9tHK99ieYJxiILvnxdtVwrKQCOdQdVFi7Hfz2h6nQ4/JrSEbZzxuh78ppFncZBjlMAqt d0+kokLYhAvOPtf2vcJ88P1QqTvexJN/0MSioOuo0ciUyykIxx2wJ9ibsAXIkIfGO87r d5404UvOXzIAgrPhIVvjvKJRQABMugW9VohlDST27FO0ipVIk1BW3XuXeOqU6NancUiL LNIQqaGFdB0CwhkKqeB6SbYihsL3sPxiwm+PGfTZ+9uef07NinJgcyCL6sUaRKyVjIXB 3PUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QWoizmB6wWzl+BSdjofZki4isApYh3ZN+Laq7lqiPgs=; b=Fkmy7YoTwAOsFLLGRkiYG5NbiOWD2u5LLtuCOtGt05j/mrC09NvRjGBrtwpOEIbn97 lPThrxVpGzmPKFE1aNTJ4HYRtKnuCj/w8uczDOlNRxVu9wgUMTs3PyNOAB4+xBYzWyhe kTWCVoj58TqCKAOYqhzXaXiXL5jj7GDCUOxRj3SixrhOggbvH/XpsPS5pW/6+Qaehh7a 2RLqfQFjg6gLz9qXp8ivsVMIFqivEKYaP2cXPBPhqOIJWWajJ21TPgFpYBIUB9xqrAA3 c1IQ8RgSVB5t4oZ+1Wk75Vh/RW2vadhT5ApRRfwezL8kXFgu/yL8nOW9BbJSd8gHRRr3 ZNCA== X-Gm-Message-State: APjAAAUq4vvfGkXlz+xXXPpnieC3qKHhYK0lV6j2W2zQ/nkdV3ottHg1 RXpbL2c3fd7qv8c6/Kc8Hfuq410HD4msEVsO3lk+/w== X-Google-Smtp-Source: APXvYqxNPtRymICKLVcVkGCx8yD9OBEtn+tz9wQLwC71qpl1STZerE0A7b81bGLNTX0GhWDDANeroSeLhGCWifzyxog= X-Received: by 2002:a2e:7605:: with SMTP id r5mr12493423ljc.161.1556568663053; Mon, 29 Apr 2019 13:11:03 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236035 Archived-At: --0000000000003ad8df0587b0e2ba Content-Type: text/plain; charset="UTF-8" In XEmacs there is nice "subwindow" glyph type, which could be used to display contents of foreign application (such as video player). Internally it is just ordinary subwindow of fixed geometry with API to get its XID, which you specify to foreign application to render to. Is it possible to do the same in GNU Emacs or would it be hard to implement? Unfortunately xwidget functionality is limited to "webkit" type of widget, and it does not provide API to get XID of the widget's window. Thanks -- lg --0000000000003ad8df0587b0e2ba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In XEmacs there is nice "subwindow" glyph t= ype, which could be used to display contents of foreign application (such a= s video player).=C2=A0 Internally it is just ordinary subwindow of fixed ge= ometry with API to get its XID, which you specify to foreign application to= render to.

Is it possible to do the same in GNU E= macs or would it be hard to implement?

Unfortunate= ly xwidget functionality is limited to "webkit" type of widget, a= nd it does not provide API to get XID of the widget's window.

Thanks

--
lg
--0000000000003ad8df0587b0e2ba--