ATTACH(nged)
Opens a display window.
π«Ά ATTACH(nged): a BRL-CAD User Commands page, but make it group-chat π
πΈ NAME πΈ
attach β Opens a display window. Slay, thatβs the whole assignment π
β¨ SYNOPSIS β¨
attach [-d display_string] [-i init_script] [-n name] [-t is_toplevel] [-W width] [-N height] [-S square_size] [win_type]
π DESCRIPTION π
This command is used to open a display window, bestie. The set of supported window types includes X and ogl. The synopsis has this exact flag lineup: -d display_string, -i init_script, -n name, -t is_toplevel, -W width, -N height, -S square_size, plus the optional [win_type].
π¨ Important vibe check:attachno longer releases previously attached display windows (i.e., multiple attaches are supported). So yes, you can stack them. To destroy a display window, use thereleasecommand. Periodt.
π EXAMPLES π
These examples demonstrate the use of the attach command to open ogl and X display windows. Iconic behavior, honestly.
Example 1. Opening an ogl display window
mged> attach ogl
Opens an ogl display window named .dm_ogl0 (assuming this is the first ogl display window opened using the default naming scheme). First one ate π
mged> attach ogl
Opens an ogl display window named .dm_ogl1. Number two said βIβm also main character energyβ β¨
mged> attach -n myOgl -W 720 -N 486 ogl
Opens a 720 x 486 OpenGL display window named myOgl. Custom name, custom size, fully that girl π
mged> attach -n myX -d remote_host:0 -i myInitX
Opens an X display window named myX on remote_host that is initialized by myInit. myInit might contain user-specified bindings like those found in the default bindings. Remote-host realness π¦
mged> toplevel.t
A top-level window named .t was created.
mged> attach -t 0 -S 800 -n .t.ogl ogl
Opens a 800 x 800 OpenGL display window named .t.ogl that is not a top-level window. Lowkey nested, highkey iconic π
mged> button .t.dismiss -text Dismiss -command "release .t.ogl; destroy .t"
Creates a button that dismisses the display manager, etc. A little dismiss button with main character energy π
mged> pack .t.ogl -expand 1 -fill both
Packs the display manager inside .t.
mged> pack .t.dismiss
Packs the Dismiss button inside .t.
mged> attach
Lists the help message that includes the valid display types. When in doubt, ask the help message, bestie π«Ά
π AUTHOR π
BRL-CAD Team. Kings, queens, and legends of the manual-page world π
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. If something is giving broken, tell the team, not the group chat π
This page is brought to you by BRL-CAD, filed under the ATTACH(nged) manual label. Bye bestie, stay hydrated and keep those display windows iconic ππ¦
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms