Creating a GUI
- BigJohnT
-
Topic Author
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7870
- Thank you received: 2125

Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7870
- Thank you received: 2125
Please Log in or Create an account to join the conversation.
- BigJohnT
-
Topic Author
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
Please Log in or Create an account to join the conversation.
- BigJohnT
-
Topic Author
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
hmm if one was to build a DRO widget what would options would we like on it?
hmm if it was slim and long in addition to the axis positions, tool information, current coordinate system, offsets for current coordinate system and G92 to name a few off the top of my head. I really like the back plot to be clean...
Thanks
John
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7870
- Thank you received: 2125

Then if a noobie forgets to name the window the panel will still load. It's one of those things easy to miss but hard to find (when you don't know any better !
John I just love your tutorials !
Your work here will help push us to more users - its the kinda doc work we really need.
Chris
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7870
- Thank you received: 2125
If you are using the gscreen branch you could too.
to see the extra options in the glade editor remember to run the glade editor from a terminal after issuing thr RIP script.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7870
- Thank you received: 2125
gremlin.show_offsets = True
then you'll see the current offsets.
your command will be slightly different based on how you reference gremlin and what you called it.
and of course this is only possible on the gscreen branch
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7870
- Thank you received: 2125
self.builder.get_widget("hal_gremlin1").show_offsets = True
You DO need the builder as self.builder
Please Log in or Create an account to join the conversation.
- BigJohnT
-
Topic Author
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
Might I suggest calling the main window window1 (the default name) rather then ugly camelcase MainWindow
Then if a noobie forgets to name the window the panel will still load. It's one of those things easy to miss but hard to find (when you don't know any better !
John I just love your tutorials !
Your work here will help push us to more users - its the kinda doc work we really need.
Chris
That's a good idea. I'll change it now before I forget.
Thanks
John
Please Log in or Create an account to join the conversation.