how to use the Gremlin zoomin() function
- Grotius
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 2407
- Thank you received: 2320
25 Dec 2017 19:00 #103596
by Grotius
how to use the Gremlin zoomin() function was created by Grotius
Hi linuxcnc users,
I was wondering how to make a Zoomin() funcion in my stand alone application.
I already have this :
In glade : 1 button with button handler
In python : def on_zoom_plus_pressed(self, widget, data=None):
In python i have : import Gremlin
The python code for the button i want to use is : self.zoomin()
But this don't work. I don't know how to do this in a simple way.
What i can do is study the Gmocappy part.. but i think someone has a simple solution.
Greetings, Michel
I was wondering how to make a Zoomin() funcion in my stand alone application.
I already have this :
In glade : 1 button with button handler
In python : def on_zoom_plus_pressed(self, widget, data=None):
In python i have : import Gremlin
The python code for the button i want to use is : self.zoomin()
But this don't work. I don't know how to do this in a simple way.
What i can do is study the Gmocappy part.. but i think someone has a simple solution.
Greetings, Michel
Please Log in or Create an account to join the conversation.
- Grotius
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 2407
- Thank you received: 2320
25 Dec 2017 20:55 #103598
by Grotius
Replied by Grotius on topic how to use the Gremlin zoomin() function
Hi,
I solved the problem.
I used a turorial template jt_gremlin.
I solved the problem.
I used a turorial template jt_gremlin.
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds