#NEWLINE# def add_widget( self , item ) : #NEWLINE# #INDENT# if isinstance ( self , ActionSeparator ) : #NEWLINE# #INDENT# super ( ActionGroup , self ) . add_widget ( item ) #NEWLINE# return #NEWLINE# #UNINDENT# if ( not isinstance ( item , ActionItem ) ) : #NEWLINE# #INDENT# raise ActionBarException ( 'ActionGroup only accepts ActionItem' ) #NEWLINE# #UNINDENT# self . list_action_item . append ( item )