tool edit gladevcp insert axis question

More
17 Apr 2013 12:43 #32823 by cmorley
did you add an 'emc_stat" object?
then you add a hal_action
then a button then must select a related action for that button.

Chris M

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

More
17 Apr 2013 19:49 - 18 Apr 2013 04:37 #32836 by jlviloria
Because in my gcode_view cursor does not appear if I have it enabled? please help.


How do I display the name of my program, instead of G code.

edit.py
import hal_glib
import gladevcp
import os
import sys
import pygtk
pygtk.require("2.0")
import gtk.gladevcp
import gtk
import gladevcp.makepins
from gladevcp.gladebuilder import GladeBuilder
import hal_widgets
import gobject




class HandlerClass:


def on_hal_status_file_loaded(self,widget,filename):
self.widgets.gcode_tab.set_text(name)
self.builder.get.object('gcode_tab').set_tex(_("Program loaded: %s"%filename))

def __init__(self, halcomp,builder,useropts):
self.halcomp = halcomp
self.builder = builder
self.nhits = 0



def get_handlers(halcomp,builder,useropts):
return [HandlerClass(halcomp,builder,useropts)]



thanks


jorge Viloria
Attachments:
Last edit: 18 Apr 2013 04:37 by jlviloria.

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

Moderators: HansU
Time to create page: 0.066 seconds
Powered by Kunena Forum