Button
Button is view that is clicked to trigger an action.
app.CreateButton(text,w,h,options)Options
- FontAwesome
- Alum
Methods
- id
- Destroy()
- Release()
- SetVisibility( mode )
- GetVisibility()
- Hide()
- Gone()
- Show()
- IsVisible()
- SetPadding( left,top,right,bottom )
- SetMargins( left,top,right,bottom )
- SetBackground( file,options )
- SetBackColor( clr )
- SetBackGradient( colour1,colour2,colour3,options )
- SetBackGradientRadial( x,y,radius,colour1,colour2,colour3,options )
- SetColorFilter( clr,mode )
- AdjustColor( hue,sat,bright,cont )
- SetPosition( left,top,width,height,options )
- SetSize( width,height,options )
- GetWidth( options )
- GetHeight( options )
- GetAbsWidth()
- GetAbsHeight()
- GetLeft( options )
- GetTop( options )
- GetPosition( options )
- SetScale( x,y )
- Focus()
- GetType()
- SetOnTouch( callback )
- SetOnTouchEx( callback )
- SetText( text )
- SetHtml( html )
- GetText()
- SetTextColor( clr )
- SetFontFile( file )
- SetTextShadow( radius,dx,dy,color )
- SetTextSize( size,mode )
- GetTextSize( mode )
- SetStyle( clr1,clr2,radius,strokeClr,strokeWidth,shadow )