projects
/
cl-gtk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fca774d
)
Add :from-string and :from-file initargs for GtkBuilder
author
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Sat, 13 Jun 2009 19:26:41 +0000
(23:26 +0400)
committer
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Sat, 13 Jun 2009 19:26:41 +0000
(23:26 +0400)
gtk/gtk.builder.lisp
patch
|
blob
|
history
diff --git
a/gtk/gtk.builder.lisp
b/gtk/gtk.builder.lisp
index
bcc06d5
..
123078f
100644
(file)
--- 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)))