MCPcopy Create free account
hub / github.com/GNOME/gjs / connect

Method connect

gi/object.cpp:2938–2944  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2936}
2937
2938bool ObjectBase::connect(JSContext* cx, unsigned argc, JS::Value* vp) {
2939 GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv);
2940 if (!priv->check_is_instance(cx, "connect to signals"))
2941 return false;
2942
2943 return priv->to_instance()->connect_impl(cx, args, false);
2944}
2945
2946bool ObjectBase::connect_after(JSContext* cx, unsigned argc, JS::Value* vp) {
2947 GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv);

Callers

nothing calls this directly

Calls 3

check_is_instanceMethod · 0.80
connect_implMethod · 0.80
to_instanceMethod · 0.80

Tested by

no test coverage detected