Logo Search packages:      
Sourcecode: nagstamon version File versions  Download package

def Nagstamon::nagstamonGUI::Settings::SelectedServer (   self,
  widget = None,
  event = None 
)

    findout selected server in servers treeview, should NOT return anything because the treeview
    will be displayed buggy if it does

Definition at line 1677 of file nagstamonGUI.py.

01677                                                      :
        """
            findout selected server in servers treeview, should NOT return anything because the treeview
            will be displayed buggy if it does
        """
        try:
            # get path to clicked cell
            path, obj, x, y = self.glade.get_widget("servers_treeview").get_path_at_pos(int(event.x), int(event.y))
            # access content of rendered view model via normal python lists
            self.selected_server = self.glade.get_widget("servers_treeview").get_model()[path[0]][0]
        except:
            pass


    def OK(self, widget):


Generated by  Doxygen 1.6.0   Back to index