1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-18 03:50:25 +01:00

* Added details MVC files.

* Change of katalog file organization.
 * Small bugfixes.
 * Code clean up.
 * Added README file.
This commit is contained in:
2008-03-24 09:15:05 +00:00
parent 2a1cb3c1ba
commit bc4f329d15
14 changed files with 3095 additions and 2223 deletions

View File

@@ -22,9 +22,10 @@
# -------------------------------------------------------------------------
from gtkmvc import View
import os.path
import utils.globals
from gtkmvc import View
from v_details import DetailsView
class MainView(View):
"""This handles only the graphical representation of the
@@ -33,6 +34,13 @@ class MainView(View):
GLADE = os.path.join(utils.globals.GLADE_DIR, "main.glade")
def __init__(self, ctrl):
View.__init__(self, ctrl, self.GLADE)
self.details = None
return
def create_sub_view(self, details_ctrl):
"""attach sub view"""
self.details = DetailsView(details_ctrl, False)
vpan = self['vpaned1']
vpan.add2(self.details.get_top_widget())
return
pass # end of class