Subversion Repositories basico

Rev

Rev 374 | Rev 386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 374 Rev 385
Line 299... Line 299...
299
        paned.add1(notebook_menuview)
299
        paned.add1(notebook_menuview)
300
        notebook_menuview.show_all()
300
        notebook_menuview.show_all()
301
301
302
        ## Right pane
302
        ## Right pane
303
303
304
        vpaned = self.srvgui.add_widget('gtk_vpaned_visor', Gtk.VPaned())
-
 
305
        vpaned.set_property('margin-bottom', 6)
-
 
306
        vpaned.set_wide_handle(True)
-
 
307
        vpaned.set_position(0)
-
 
-
 
304
        # ~ vpaned = self.srvgui.add_widget('gtk_vpaned_visor', Gtk.VPaned())
-
 
305
        # ~ vpaned.set_property('margin-bottom', 6)
-
 
306
        # ~ vpaned.set_wide_handle(True)
-
 
307
        # ~ vpaned.set_position(0)
308
308
309
        box = Gtk.VBox()
309
        box = Gtk.VBox()
310
        box.set_hexpand(True)
310
        box.set_hexpand(True)
311
311
312
        # Main Stack (up)
312
        # Main Stack (up)
Line 330... Line 330...
330
        ### Settings stack child
330
        ### Settings stack child
331
        stack_child = self.setup_stack_settings()
331
        stack_child = self.setup_stack_settings()
332
        stack_main.add_titled(stack_child, "settings", "Basico Settings")
332
        stack_main.add_titled(stack_child, "settings", "Basico Settings")
333
333
334
334
335
        ## Annotation widget (down)
-
 
336
        boxannotations = self.srvgui.add_widget('gtk_vbox_container_annotations', Gtk.VBox())
-
 
337
        self.srvuif.set_widget_visibility('gtk_vbox_container_annotations', False)
-
 
338
        widget_annotation = self.srvgui.add_widget('widget_annotation', AnnotationWidget(self.controller))
-
 
339
        boxannotations.add(widget_annotation) # <--
-
 
-
 
335
        ## Annotation widget stack child
-
 
336
        stack_child = self.srvgui.add_widget('widget_annotation', AnnotationWidget(self.controller))
-
 
337
        stack_main.add_titled(stack_child, "annotations", "Annotation widget")
-
 
338
        # ~ boxannotations = self.srvgui.add_widget('gtk_vbox_container_annotations', Gtk.VBox())
-
 
339
        # ~ self.srvuif.set_widget_visibility('gtk_vbox_container_annotations', False)
-
 
340
        # ~ widget_annotation = self.srvgui.add_widget('widget_annotation', AnnotationWidget(self.controller))
-
 
341
        # ~ boxannotations.add(widget_annotation) # <--
340
342
341
        vpaned.add1(box)
-
 
342
        vpaned.add2(boxannotations)
-
 
-
 
343
        # ~ vpaned.add1(box)
-
 
344
        # ~ vpaned.add2(boxannotations)
343
345
344
        paned.add2(vpaned)
-
 
-
 
346
        paned.add2(box)
345
        mainbox.pack_start(paned, True, True, 0)
347
        mainbox.pack_start(paned, True, True, 0)
346
348
347
        # Statusbar
349
        # Statusbar
348
        statusbar = self.srvgui.add_widget('widget_statusbar', Statusbar(self.controller))
350
        statusbar = self.srvgui.add_widget('widget_statusbar', Statusbar(self.controller))
349
        mainbox.pack_start(statusbar, False, False, 0)
351
        mainbox.pack_start(statusbar, False, False, 0)