Commits

Herbert Breunung  committed 53201cb

some more AppPanel API, wrote the rule for it too

  • Participants
  • Parent commits e5a0a34

Comments (0)

Files changed (2)

File lib/Kephra/App/Panel.pm

 }
 
 sub remove {}
-sub show {}
+sub detach {}
+sub show {
+	my ($self, $widget) = @_;
+	$self->{'sizer'}->Show($widget, 1);
+}
+sub hide {
+	my ($self, $widget) = @_;
+	$self->{'sizer'}->Hide($widget);
+}
 
 sub all_widgets { shift->{'widgets'} }
 sub widget_by_nr {

File lib/StyleGuide.pod

 
 lowercase words separated by _ ~~ like_this
 
+routines only to be called inside a module start with one _
+avoid to call these from outside by all means
+
 create not make when we generate something
 
 =head3 Variable Names