view lwlib/lwlib-Xaw.h @ 53161:779a274d72ed

iswitchb-read-buffer: check that iswitchb-exit is not 'usefirst (set when user presses RETURN to select buffer) before running: ;; This happens for example if the buffer was chosen with the mouse. (setq iswitchb-matches (list iswitchb-final-text))) iswitchb-exit-minibuffer: set iswitchb-exit to 'usefirst. These changes were made to fix the following bug reported by Markus Rost and John Wiegley: Evaluate: (progn (iswitchb-mode 1) (get-buffer-create "12") (get-buffer-create "1") (iswitchb-buffer)) You get prompted in the minibuffer. Type "1". The minibuffer shows iswitch 1{12,1} Hit RET. You find yourself in buffer "1" instead of "12", as you would expect from the documentation. This bug was introduced when iswitchb-read-buffer was updated to allow user to select items from the *Completions* buffer with the mouse.
author Stephen Eglen <stephen@gnu.org>
date Tue, 25 Nov 2003 14:37:44 +0000
parents 695cf19ef79e
children 375f2633d815 e16f43875a48
line wrap: on
line source

#ifndef LWLIB_XAW_H
#define LWLIB_XAW_H

#include "lwlib-int.h"

extern widget_creation_entry xaw_creation_table [];

Widget
xaw_create_dialog __P ((widget_instance*));

Boolean
lw_xaw_widget_p __P ((Widget));

void
xaw_update_one_widget __P ((widget_instance *, Widget, widget_value *, Boolean));

void
xaw_update_one_value __P ((widget_instance *, Widget, widget_value *));

void
xaw_destroy_instance __P ((widget_instance *));

void
xaw_popup_menu __P ((Widget, XEvent *));

void
xaw_pop_instance __P ((widget_instance *, Boolean));

#endif /* LWLIB_XAW_H */

/* arch-tag: 7c0fb4de-afd9-4112-9214-24b663cc1870
   (do not change this comment) */