Mercurial > emacs
view leim/CXTERM-DIC/QJ.tit @ 109604:43eca6c9f493
Use Gtk+ tooltips by default for Gtk+ Emacs.
* lisp/cus-start.el (x-gtk-use-system-tooltips): New variable.
* src/gtkutil.c (hierarchy_ch_cb, qttip_cb, xg_prepare_tooltip)
(xg_show_tooltip, xg_hide_tooltip, xg_free_frame_widgets): New
functions.
(xg_create_frame_widgets): Set ttip_* to 0. Set a dummy tooltip
text so qttip_cb is called. Connect query-tooltip to qttip_cb.
Remove code that is commented out.
* src/gtkutil.h (xg_free_frame_widgets, xg_prepare_tooltip)
(xg_show_tooltip, xg_hide_tooltip): Declare.
* src/xfns.c (x_gtk_use_system_tooltips): New variable.
(Fx_show_tip): If USE_GTK and x_gtk_use_system_tooltips, call
new gtkutil tooltip functions to show the tooltip.
(Fx_hide_tip): Call xg_hide_tooltip.
(syms_of_xfns): Defvar x-gtk-use-system-tooltips.
* src/xterm.c (x_clear_frame): Check FRAME_GTK_WIDGET (f) before
calling gtk_widget_queue_draw.
(x_free_frame_resources): Call xg_free_frame_widgets.
* src/xterm.h (struct x_output): Add ttip_widget, ttip_window and
ttip_lbl.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Sun, 01 Aug 2010 15:57:07 +0200 |
parents | 04f23eb0c0ca |
children | 07774e5c3ff5 f1196eda45a0 ef719132ddfa |
line wrap: on
line source
# HANZI input table for cxterm # To be used by cxterm, convert me to .cit format first # .cit version 2 ENCODE: GB AUTOSELECT: YES PROMPT: ºº×ÖÊäÈë¡ËÈ«½Ç¡Ë # COMMENT Copyright 1991 by Yongguang Zhang. (ygz@cs.purdue.edu) COMMENT Permission to use/modify/copy for any purpose is hereby granted. COMMENT Absolutely no warranties. # define keys VALIDINPUTKEY: \040!"\043$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMN VALIDINPUTKEY: OPQRSTUVWXYZ[\134]^_`abcdefghijklmnopqrstuvwxyz{|}~ # the following line must not be removed BEGINDICTIONARY # \040 ¡¡ ! £¡ " £¢ \043 ££ $ £¤ % £¥ & £¦ ' £§ ( £¨ ) £© * £ª + £« , £¬ - £ . £® / £¯ 0 £° 1 £± 2 £² 3 £³ 4 £´ 5 £µ 6 £¶ 7 £· 8 £¸ 9 £¹ : £º ; £» < £¼ = £½ > £¾ ? £¿ @ £À A £Á B £Â C £Ã D £Ä E £Å F £Æ G £Ç H £È I £É J £Ê K £Ë L £Ì M £Í N £Î O £Ï P £Ð Q £Ñ R £Ò S £Ó T £Ô U £Õ V £Ö W £× X £Ø Y £Ù Z £Ú [ £Û \134 £Ü ] £Ý ^ £Þ _ £ß ` £à a £á b £â c £ã d £ä e £å f £æ g £ç h £è i £é j £ê k £ë l £ì m £í n £î o £ï p £ð q £ñ r £ò s £ó t £ô u £õ v £ö w £÷ x £ø y £ù z £ú { £û | £ü } £ý ~ £þ # arch-tag: 3ee780cd-600a-49e7-a77b-85b898adc205