Hello,
I try to create a dockable application with GDL, but it doesn't works. The code for populate the main application window: private void populate_window () { Gdl.Dock dock; Gtk.HBox hbox; Gdl.DockItem item; Gtk.VBox main_box; Gdl.DockBar dockbar; Gdl.DockLayout layout; main_box = new Gtk.VBox (false, 0); this.add (main_box); main_box.pack_start (this.menu, false, true, 0); main_box.pack_start (this.toolbar, false, true, 0); this.fullscreen_toolbar = new FullscreenToolbar (this); hbox = new Gtk.HBox (false, 0); main_box.pack_start (hbox, true, true, 0); dockbar = new Gdl.DockBar (); dockbar.set_style (Gdl.DockBarStyle.TEXT); hbox.pack_start (dockbar, false, false, 0); dock = new Gdl.Dock (); hbox.pack_start (dock, true, true, 0); layout = new Gdl.DockLayout (dock); item = new Gdl.DockItem ("executables", _("Messages"), Gdl.DockItemBehavior.NORMAL); item.add (this.executables); dock.add_item (item, Gdl.DockPlacement.BOTTOM); item = new Gdl.DockItem ("projects", _("Projects"), Gdl.DockItemBehavior.NORMAL); item.add (this.projects); dock.add_item (item, Gdl.DockPlacement.LEFT); item = new Gdl.DockItem ("documents", _("Documents"), Gdl.DockItemBehavior.NORMAL); item.add (this.documents); dock.add_item (item, Gdl.DockPlacement.CENTER); main_box.pack_start (this.statusbar, false, true, 0); if (!layout.load_from_file ("layout.xml")) { critical ("error!"); Gtk.main_quit (); } } First, the items doesn't dock correctly (projects and document on the left and messages on the right). Seconds, when I move an item, the others doesn't respond. Last, the dockbar doesn't show. The attached file, layout.xml is derived from the ajunta file. Thank's in advance. Regards, -- Nicolas Joseph _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list