hazzy - Another touchscreen GUI

More
9 years 1 week ago #100803 by cmorley
It's not required to use GLADE:
Code:
import gtk from gladevcp import HAL_DRO window = gtk.Dialog("My dialog", None, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) for num,axis in enumerate('xyz'): dro = HAL_DRO() dro.set_property("joint_number", num) window.vbox.pack_start(dro, False, False, 2) window.connect("destroy", gtk.main_quit) window.show_all() response = window.run() if response == gtk.RESPONSE_ACCEPT: print "ok" else: print "cancel"



All you need to do is build your widgets.
GLADE is just easier faster if you are not a programmer.

Chris M

Please Log in or Create an account to join the conversation.

More
9 years 1 week ago #100804 by KCJ
Replied by KCJ on topic hazzy - Another touchscreen GUI
Thanks Chris! I did not know that was possible.
It does look like I am duplicating effort ...

Please Log in or Create an account to join the conversation.

More
9 years 1 week ago - 9 years 1 week ago #100805 by cmorley

kcj wrote: I really appreciate the work that has gone into Gscreen (and its derivatives like Gmoccapy), but my feeling is that it is more of a set of building blocks that a developer can use to build a new screen, rather than a complete interface that can be quickly and easily customized and configured by the typical LinuxCNC user.


Actually Gmoccapy was a skin for Gscreen in the beginning.
Gscreen is not a screen as per say, it's an infrostructure. Screens are skins that Gscreen displays.
It is possible to build a basic functional screen with just GLADEVCP widgets. see the docs for an example.
You can add python code to it to do custom things and all of the built in examples do use python code.
By adding more custom widgets to gladevcp, one could build a much more sophisticated screen with just widgets.

gladeVCP was not built with using it without GLADE in mind, so it's not optimized for that but that is just code to be added.

It just seems so wasteful of effort and talent to build another screen mechanism - many people have spent a lots of time on gladevcp and gscreen to do mostly what you want! Just build your custom widgets and help with the gtk3 conversion would be miles ahead.

Chris M
Last edit: 9 years 1 week ago by cmorley.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #107204 by RothMetalWorks
I see it's been a while since this post was last updated. I'm working on setting up a lathe & I really liked what I saw of this GUI. Is it still being developed? I'd really like to use it if it is usable.

Thanks!

Mike
The following user(s) said Thank You: KCJ

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #107205 by KCJ
Replied by KCJ on topic hazzy - Another touchscreen GUI
I do plan to continue developing hazzy, but at the moment I am concentrating on other things. It is not far from a usable state, however there are a couple of somewhat daunting issues that I need to find solutions for. Hopefully I will have the time and energy to tackle them in the not too distant future!

Stay tuned and try to ignore all the static :)
The following user(s) said Thank You: persei8

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #107354 by persei8
Are you still updating to GitHub? The newest updates I can find are about 8 months old and I see on youtube that you've added several other features.

Please Log in or Create an account to join the conversation.

Time to create page: 0.272 seconds
Powered by Kunena Forum