<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _create_textrotation_button(self):
 """Create text rotation toggle button"""


        iconnames = ["TextRotate270", "TextRotate0", "TextRotate90",
                     "TextRotate180"]
        bmplist = [icons[iconname] for iconname in iconnames]

        self.rotation_tb = _widgets.BitmapToggleButton(self, bmplist)
        self.rotation_tb.SetToolTipString(_(u"Cell text rotation"))
        self.Bind(wx.EVT_BUTTON, self.OnRotate, self.rotation_tb)
        self.AddControl(self.rotation_tb)