Mercurial > emacs
view leim/CXTERM-DIC/QJ-b5.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: BIG5 AUTOSELECT: YES PROMPT: º~¦r¿é¤J::¥þ¨¤:: # 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 ¡@ ! ¡I " ¡² \043 ¡ $ ¢L % ¢H & ¡® ' ¡¬ ( ¡] ) ¡^ * ¡Î + ¡Ï , ¡A - ¡Ð . ¡D / ¡þ 0 ¢¯ 1 ¢° 2 ¢± 3 ¢² 4 ¢³ 5 ¢´ 6 ¢µ 7 ¢¶ 8 ¢· 9 ¢¸ : ¡G ; ¡F < ¡q = ¡× > ¡r ? ¡H @ ¢I 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 ¢è [ ¡i \134 ¢@ ] ¡j ^ ¡s _ ¡Z ` ¡« a ¢é b ¢ê c ¢ë d ¢ì e ¢í f ¢î g ¢ï h ¢ð i ¢ñ j ¢ò k ¢ó l ¢ô m ¢õ n ¢ö o ¢÷ p ¢ø q ¢ù r ¢ú s ¢û t ¢ü u ¢ý v ¢þ w £@ x £A y £B z £C { ¡a | ¡U } ¡b ~ ¡ã # arch-tag: 5c41662d-6b85-467f-a977-ba80a6bd9f2c