ConnectTool(3U)
π ConnectTool β bestie, it's the connector-connector π
okay so this is ConnectTool(3U) from the InterViews Reference Manual and honestly? she's a whole vibe. let's get into it π«Ά
β¨ NAME β¨
ConnectTool β it's the tool for connecting connectors. that's it. that's the job. no cap. π₯
πΈ SYNOPSIS πΈ
#include <Unidraw/Tools/connect.h>
π¦ DESCRIPTION π¦
okay so picture this: ConnectTool lets the user establish a connection between two connectors, and the way it does that is by direct manipulation. no menus, no typing commands, no nothing β you just do the thing with your hands (or, y'know, your mouse). iconic behaviour honestly π
π PUBLIC OPERATIONS π
ConnectTool(ControlInfo* = nil)β makes you a brand new ConnectTool. fresh out the box, default arg isnil, slay β¨virtual Manipulator* CreateManipulator(Viewer*, Event&, Transformer*)β yeah she's got no description of her own down here, the deets live in theInterpretManipulatorblurb below, keep reading bestie πvirtual void InterpretManipulator(Manipulator*)β okay so here's the tea, and it's actually the tea for both of these functions π:
CreateManipulator is out here doing a vibe check on whether the user clicked on a connector. if they did? she hands the whole manipulator-creation situation off to that connector β delegation, we love to see it. and then InterpretManipulator, in turn, delegates the interpretation to that very same connector. teamwork makes the dream work fr fr π«Ά
but listen. if the user did not click on a connector? CreateManipulator clears the editor's selection and returns a nil value. so like, no connector, no connection, no manipulator, no problem. π
lowkey important: both of these are virtual, so go off if you need to override, iykyk π
π SEE ALSO π
Connector(3U)Tool(3U)
and that's the whole page bestie, no crumbs left π
this one came from the Unidraw crew, dated 24 January 1991, and yeah the footer totally says ConnectTool(3U) again β she contains multitudes π
π¦ where this page comes from
- debian bookworm: ivtools-dev 2.0.11d.a1-1+b4
- debian trixie: ivtools-dev 2.0.11d.a1-3+b4
- ubuntu jammy: ivtools-dev 2.0.11d.a1-1build1
- ubuntu noble: ivtools-dev 2.0.11d.a1-3build1
- ubuntu questing: ivtools-dev 2.0.11d.a1-3build7
- ubuntu resolute: ivtools-dev 2.0.11d.a1-3build9
- ubuntu stonking: ivtools-dev 2.1.1+git.2025.07.26.a1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms