From: Eli Zaretskii <eliz@gnu.org>
To: joakim@verona.se
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: how to find out when display property is deleted in C?
Date: Mon, 12 May 2008 23:08:34 +0300 [thread overview]
Message-ID: <ud4nrl1z1.fsf@gnu.org> (raw)
In-Reply-To: <m3y76fsh62.fsf@verona.se>
> From: joakim@verona.se
> Date: Mon, 12 May 2008 16:58:29 +0200
> Cc: emacs-devel@gnu.org
>
> But I need to remove the gtk widget from display the precise moment the
> display property goes away, or there will be very awkward display bugs.
>
> As it is now, the widgets happily live on in the emacs window even after
> their display property has been deleted. It looks very odd.
Forgive me for chiming into a discussion I wasn't following about a
subject that I'm mostly ignorant about, but: when the display property
goes away, Emacs triggers a redisplay the next moment it doesn't have
anything more important to do. That redisplay should supply you with
an event to remove the gtk widgets, no? Just plug your
widget-removing routines into the code that runs during redisplay.
next prev parent reply other threads:[~2008-05-12 20:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 9:34 how to find out when display property is deleted in C? joakim
2008-05-12 14:25 ` Stefan Monnier
2008-05-12 14:58 ` joakim
2008-05-12 16:57 ` Stefan Monnier
2008-05-12 20:08 ` Eli Zaretskii [this message]
2008-05-13 6:55 ` joakim
2008-05-13 18:53 ` Eli Zaretskii
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=ud4nrl1z1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=joakim@verona.se \
--cc=monnier@iro.umontreal.ca \
/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).