Mercurial > emacs
view lwlib/lwlib-Xlw.h @ 60937:ddcbccff39ce
Optimize image filename extension regexps in
autoload cookies. Associate .x[bp]m with `image-mode-maybe'
in `auto-mode-alist'.
(image-mode): Add `image-toggle-display-text' to local hook
`change-major-mode-hook'. Display the image as an image by
default. Set `cursor-type' and `truncate-lines' if the image
is already displayed. Take into account the current mode (image
or text) in message.
(image-minor-mode): New minor mode.
(image-mode-maybe, image-toggle-display-text): New functions.
(image-toggle-display): Use called-interactively-p.
Let-bind `inhibit-read-only' to t.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Fri, 25 Mar 2005 19:57:21 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 e16f43875a48 |
line wrap: on
line source
#ifndef LWLIB_XLW_H #define LWLIB_XLW_H #include "lwlib-int.h" extern widget_creation_entry xlw_creation_table []; extern widget_creation_function xlw_create_dialog; Boolean lw_lucid_widget_p __P ((Widget widget)); void xlw_update_one_widget __P ((widget_instance* instance, Widget widget, widget_value* val, Boolean deep_p)); void xlw_update_one_value __P ((widget_instance* instance, Widget widget, widget_value* val)); void xlw_destroy_instance __P ((widget_instance* instance)); void xlw_pop_instance __P ((widget_instance* instance, Boolean up)); void xlw_popup_menu __P ((Widget widget, XEvent * event)); #endif /* LWLIB_XLW_H */ /* arch-tag: e5b1511d-8992-4dad-b947-a2440d8f10a2 (do not change this comment) */