def c_creates_button(client):
 objname = (TOBJ_TEMPLATE % client.counter())
 client.objs.append(objname)
 cmds = (('@create %s:%s' % (objname, TOBJ_TYPECLASS)), ('@desc %s = test red button!' % objname))
 return cmds

def c_creates_button ( client ) : objname = ( TOBJ_TEMPLATE % client . counter ( ) ) client . objs . append ( objname ) cmds = ( ( '@create %s:%s' % ( objname , TOBJ_TYPECLASS ) ) , ( '@desc %s = test red button!' % objname ) ) return cmds
creates example button .