[mcclim-cvs] CVS mcclim

dlichteblau dlichteblau at common-lisp.net
Sun Nov 12 13:46:08 UTC 2006


Update of /project/mcclim/cvsroot/mcclim
In directory clnet:/tmp/cvs-serv29396

Modified Files:
	NEWS 
Log Message:

"Maybe later"

Implement native context menus by injecting a callback for invocation in
the event loop, instead of popping them up in frame-manager-menu-choose,
which GTK+ does not like at all.

	* gtk-ffi.lisp (g_idle_add): New declaration.

	* frame-manager.lisp (FRAME-MANAGER-MENU-CHOOSE): Enable this
	definition.  Call `gtk_menu_popup' through INVOKE-LATER.
	Recognize context-menu-cancelled-event.  Remove unused variables.

	* gadgets.lisp (CONTEXT-MENU-CANCELLED-EVENT): New class.
	(DESTRUCTURE-MC-MENU-ITEM): Assume type :ITEM if the plist doesn't
	specify otherwise.  (MAKE-CONTEXT-MENU): Install a handler for
	signal `deactivate'.
	
	* event.lisp (*LAST-SEEN-BUTTON*): New variable.
	(BUTTON-HANDLER): Record the last button that got pressed.
	(POPUP-DEACTIVATED-HANDLER): New callback.  (INVOKE-LATER,
	IDLE-FUNCTION, *LATER-TABLE*, *LATER-COUNTER*): New definitions.


--- /project/mcclim/cvsroot/mcclim/NEWS	2006/11/12 11:46:09	1.3
+++ /project/mcclim/cvsroot/mcclim/NEWS	2006/11/12 13:46:08	1.4
@@ -3,6 +3,7 @@
 ** backend improvements: Gtkairo
 *** Double buffering is now supported (fixes disappearing widgets on Windows).
 *** X errors no longer terminate the lisp process.
+*** Native implementation of context menus.
 
 * Changes in mcclim-0.9.3 "All Souls' Day" relative to 0.9.2:
 ** backend improvement: The Null backend now registers itself in the




More information about the Mcclim-cvs mailing list