projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce0a9cc
)
src/Palete/Gtk.vala
author
Alan Knowles
<alan@roojs.com>
Sat, 29 Oct 2022 09:18:57 +0000
(17:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 29 Oct 2022 09:18:57 +0000
(17:18 +0800)
src/Palete/Gtk.vala
patch
|
blob
|
history
diff --git
a/src/Palete/Gtk.vala
b/src/Palete/Gtk.vala
index
60443f4
..
c6477c8
100644
(file)
--- a/
src/Palete/Gtk.vala
+++ b/
src/Palete/Gtk.vala
@@
-856,6
+856,14
@@
namespace Palete {
}
+ // is child a Event
+
+
+ var is_event = childcls.inherits.contains("Gtk.EventController") || childcls.implements.contains("Gtk.EventController");
+ if (is_event) {
+ child.set_prop(new JsRender.NodeProp.special("pack", "add_controller"));
+ }
+
// any other combo?
switch(parent.fqn()) {
case "Gtk.Dialog":