The Artima Developer Community
Sponsored Link

Python Answers Forum
problem with activating imported methods

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
zoro

Posts: 1
Nickname: zoro
Registered: May, 2005

problem with activating imported methods Posted: May 17, 2005 10:22 AM
Reply to this message Reply
Advertisement
ello all
>
> 1. i have a problem with activating methods while they are imported from a different file -> it doesn`t work !
> it must be the activation/handler that is wrong ?!
> (dont get the handler from the window ?)
>
> how do i fix it so a signal will be received by the function ?
>
> here is my code that (located in a different file ) :
> def on_NAT_clicked(self, widget, *args):
> #context Window1.on_NAT_clicked {
> #z# getting network configuration :
> text1=commands.getoutput("/sbin/ifconfig")
> self.lbl_ifconfig_status.set_text(text1)
> self.notebook1.set_current_page(0)
> print "on_NAT_clicked called with self.%s" % widget.get_name()
> #context Window1.on_NAT_clicked }
>
> 2.i dont know how to run it with DEBUGGER and see the hendler

Topic: import error Previous Topic   Next Topic Topic: help making sublists

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use