From 9f5fa544c8abf0bd60a02a8f1c408902f5399171 Mon Sep 17 00:00:00 2001 From: Dmitry Kalyanov Date: Sat, 13 Jun 2009 23:26:41 +0400 Subject: [PATCH] Add :from-string and :from-file initargs for GtkBuilder --- gtk/gtk.builder.lisp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk/gtk.builder.lisp b/gtk/gtk.builder.lisp index bcc06d5..123078f 100644 --- a/gtk/gtk.builder.lisp +++ b/gtk/gtk.builder.lisp @@ -114,3 +114,8 @@ ; TODO: gtk_builder_value_from_string_type +(defmethod initialize-instance :after ((builder builder) &key from-file from-string) + (when from-file + (builder-add-from-file builder from-file)) + (when from-string + (builder-add-from-string builder from-string))) -- 1.7.10.4