;; License along with this library; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-;; $Id: gtk.lisp,v 1.23 2004-12-20 20:00:07 espen Exp $
+;; $Id: gtk.lisp,v 1.24 2004-12-20 22:43:26 espen Exp $
(in-package "GTK")
(y int :out))
+;;; Entry Completion
+
+(def-callback-marshal %entry-completion-match-func
+ (boolean entry-completion string (copy-of tree-iter)))
+
+(defbinding entry-completion-set-match-func (completion function) nil
+ (completion entry-completion)
+ ((callback %entry-completion-match-func) pointer)
+ ((register-callback-function function) unsigned-int)
+ ((callback %destroy-user-data) pointer))
+
+(defbinding entry-completion-complete () nil
+ (completion entry-completion))
+
+#+gtk2.6
+(defbinding entry-completion-insert-prefix () nil
+ (completion entry-completion))
+
+(defbinding entry-completion-insert-action-text () nil
+ (completion entry-completion)
+ (index int)
+ (text string))
+
+(defbinding entry-completion-insert-action-markup () nil
+ (completion entry-completion)
+ (index int)
+ (markup string))
+
+(defbinding entry-completion-delete-action () nil
+ (completion entry-completion)
+ (index int))
+
+
;;; Image
(defbinding image-set-from-file () nil
;; License along with this library; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-;; $Id: gtktypes.lisp,v 1.24 2004-12-20 20:09:53 espen Exp $
+;; $Id: gtktypes.lisp,v 1.25 2004-12-20 22:43:26 espen Exp $
(in-package "GTK")
:reader combo-entry
:type entry)))
+ ("GtkEntryCompletion"
+ :slots
+ ((entry
+ :allocation :virtual
+ :getter "gtk_entry_completion_get_entry"
+ :reader entry-completion-entry
+ :type entry)
+ (minimum-key-length
+ :merge t :unbound -1)
+ #+gtk2.6
+ (text-column
+ :merge t :unbound -1)))
+
("GtkRadioButton"
:slots
((group