@@ -245,20 +245,20 @@ Either modify an existing UI component by running +glade <file>.ui+
245245or start a new one by just running the +glade+ command from the shell.
246246
247247- If LinuxCNC was not installed from a package, the LinuxCNC shell environment needs to be set up with
248- + <linuxcncdir>/scripts/rip-environment+ , otherwise Glade won't find the LinuxCNC-specific widgets.
248+ `source <linuxcncdir>/scripts/rip-environment` , otherwise Glade won't find the LinuxCNC-specific widgets.
249249- When asked for unsaved preferences, just accept the defaults and hit 'Close'.
250- - From 'Toplevel ' (left pane ), pick 'Window ' (first icon ) as top level window, which
251- by default will be named 'window1 '. Do not change this name - GladeVCP relies on it.
252- - In the left tab, scroll down and expand 'HAL Python' and 'VCP Actions' .
253- - add a container like a HAL_Box or a HAL_Table from 'HAL Python' to the frame
254- - pick and place some elements like LED, button, etc. within a container
250+ - From 'Toplevels ' (toolbar ), pick 'GtkWindow ' (first entry ) as top level window. Set 'window1' as ID in the
251+ right pane under the tab 'General '. This naming is important because GladeVCP relies on it.
252+ - From the button with the three dots you can find the LinuxCNC specific widgets .
253+ - Add a container like a HAL_Box or a HAL_Table from 'HAL Python' to the frame.
254+ - Pick and place some elements like LED, button, etc. within a container.
255255
256- This will look like so :
256+ This will look like this :
257257
258258image::images/glade-manual-small.png[]
259259
260260Glade tends to write a lot of messages to the shell window, which
261- mostly can be ignored. Select 'File→ Save as', give it a name like
261+ mostly can be ignored. Select 'File'→' Save as', give it a name like
262262'myui.ui' and make sure it's saved as 'GtkBuilder' file (radio button
263263left bottom corner in Save dialog). GladeVCP will also process the
264264older 'libglade' format correctly but there is no point in using it. The
0 commit comments