diff options
author | Cristian Garcia <cristian99garcia@gmail.com> | 2013-07-13 13:24:13 (GMT) |
---|---|---|
committer | Cristian Garcia <cristian99garcia@gmail.com> | 2013-07-13 13:24:13 (GMT) |
commit | acbff555fb220746c530405833f0452274744ce4 (patch) | |
tree | f0388bac09f7291377c024b28a41f8c486aace8d | |
parent | 859254e1fcf24b8348d1f76764ab9f7ea73eb72c (diff) |
Comentado nuevas funciones
-rw-r--r-- | CristianEdit/CristianEdit.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CristianEdit/CristianEdit.py b/CristianEdit/CristianEdit.py index 80865c7..4f409c6 100644 --- a/CristianEdit/CristianEdit.py +++ b/CristianEdit/CristianEdit.py @@ -118,7 +118,9 @@ class CristianEdit(Gtk.Plug): self.show_all() def pre_actualizar_widgets(self, widget, vbox=None, pagina=None): - + """Obtiene un View, y llama a la función + 'actualizar_widgets' pasandole ese view como parámetro""" + if vbox and type(vbox) != str: scrolled = vbox.get_children()[0] view = scrolled.get_children()[0] @@ -129,6 +131,8 @@ class CristianEdit(Gtk.Plug): self.actualizar_widgets(view=view) def actualizar_widgets(self, view=None): + """Sensitiva los widgets, según si + su acción se puede realizar o no""" if view == None: view = self.get_view() |