From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How to get information of a tip created by x-show-tip Date: Sat, 19 Jan 2019 09:22:07 +0200 Message-ID: <83tvi5az8g.fsf@gnu.org> References: <87k1j1b782.fsf@163.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1547882438 2030 195.159.176.226 (19 Jan 2019 07:20:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2019 07:20:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Feng Shu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 19 08:20:33 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 esmtp (Exim 4.84_2) (envelope-from ) id 1gkkvg-0000Pg-Mi for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2019 08:20:32 +0100 Original-Received: from localhost ([127.0.0.1]:52405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkkxn-0002mx-DD for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2019 02:22:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkkxh-0002mp-Jg for emacs-devel@gnu.org; Sat, 19 Jan 2019 02:22:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkkxY-0001Qg-Av; Sat, 19 Jan 2019 02:22:30 -0500 Original-Received: from [176.228.60.248] (port=4497 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gkkxX-0004yU-Ut; Sat, 19 Jan 2019 02:22:28 -0500 In-reply-to: <87k1j1b782.fsf@163.com> (tumashu@163.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:232472 Archived-At: > From: "Feng Shu" > Date: Sat, 19 Jan 2019 12:29:33 +0800 > > I want to get a tip's information created by x-show-tip, for example: width, height, x and y > > but I fail to find the way, anyone can help me? > > by the way, is a tip a window or a frame? A tooltip is a frame, when Emacs creates it itself; in that case, you should be able to find the values in tooltip-frame-parameters. But with some toolkits, notably with GTK, the tooltip is by default produced by the toolkit, and in that case I think the settings are in the toolkit configuration files, out of Emacs control.