code: def _create_alignment_button(self):
          
  
          iconnames = ["AlignTop", "AlignCenter", "AlignBottom"]
          bmplist = [icons[iconname] for iconname in iconnames]
  
          self.alignment_tb = _widgets.BitmapToggleButton(self, bmplist)
          self.alignment_tb.SetToolTipString(_(u"Alignment"))
          self.Bind(wx.EVT_BUTTON, self.OnAlignment, self.alignment_tb)
          self.AddControl(self.alignment_tb)
docs: Creates vertical alignment button