unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Noé Lopez via Emacs development discussions." <emacs-devel@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: moving xwidget-webkit to WPE
Date: Sat, 27 Jul 2024 21:20:05 +0200	[thread overview]
Message-ID: <1511.48000020243$1722108191@news.gmane.org> (raw)

Hi,

I've been testing with having a simple GtkButton/GtkLabel as an xwidget,
and it seems the event handling functions (for example
window_coords_from_toplevel) are expecting xwidget->widget_osr to be a
GdkWindow.

This is weird to me, as I understand xwidget->widgetwindow_osr is
already a GtkOffscreenWindow and contains xwidget->widget_osr. Why have
a window in a window?

For WPE I think I will use GtkDrawingArea which doesn't cause any issues
so I shouldn't need to change anything on this end, but I wonder if it
is a limitations of xwidgets or just something that you didn't need to
implement because the GTK WebkitView is a window.

All the best,
Noé Lopez



             reply	other threads:[~2024-07-27 19:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-27 19:20 Noé Lopez via Emacs development discussions. [this message]
     [not found] <87plqyprq2.fsf@>
2024-07-27 19:51 ` moving xwidget-webkit to WPE joakim
2024-07-27 20:09   ` joakim
2024-07-27 22:07   ` Noé Lopez via Emacs development discussions.
     [not found] <66921710.050a0220.68c57.0065SMTPIN_ADDED_BROKEN@mx.google.com>
2024-07-24 20:08 ` Stefan Kangas
2024-07-25  1:22   ` Po Lu
     [not found] <87sewdzu2g.fsf.ref@yahoo.com>
     [not found] ` <878qy6fk8g.fsf@>
2024-07-13  6:26   ` Po Lu
  -- strict thread matches above, loose matches on Subject: below --
2024-06-02 21:37 Noé Lopez via Emacs development discussions.
2024-06-05  0:58 ` Po Lu
2024-06-08  2:56   ` Richard Stallman
2024-07-12 20:06   ` Noé Lopez via Emacs development discussions.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='1511.48000020243$1722108191@news.gmane.org' \
    --to=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=noe@xn--no-cja.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).