Commits

Herbert Breunung committed e660ca0

some initial default global config

  • Participants
  • Parent commits ee2ff2e

Comments (0)

Files changed (2)

File lib/Kephra/App/Window.pm

     $sizer{'main'}->Add( $statusbar,        0, &Wx::wxGROW);
     $win->SetSizer( $sizer{'main'} );
 print Kephra::API::widget('main_window'), " $win\n";
+
     $win->SetMenuBar( Kephra::App::Bar::Menu::get() );
     $win->GetMenuBar->SetAcceleratorTable( Wx::AcceleratorTable->new() );
     

File lib/Kephra/Config/Default.pm

 
 package Kephra::Config::Default;
 
-sub global {}
+sub global {
+	return {  about => {
+			version => 0,
+		},
+		app => {
+			window => '',
+			doc_bar => '',
+		},
+		document => {
+			
+		},
+		editor => {
+			
+		},
+		file => {
+			open => {},
+			save => {},
+			session => {},
+			project => {},
+		},
+	}
+}
 sub commandlist {}
 sub localisation {}
 sub mainmenu {}