User Tools

Site Tools


built_in:dialog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
built_in:dialog [2015/02/22 09:07]
octazid [Methods]
built_in:dialog [2018/04/19 23:25] (current)
Line 7: Line 7:
 Some controls use the same methods.\\ Some controls use the same methods.\\
 For examples of the **[[same methods]]** look here. For examples of the **[[same methods]]** look here.
-^Method ^Description ^ +^ Method                          ^ Description                                                   
-|Dialog.AddLayout( layout ) | | +| Dialog.AddLayout( layout )      Adds a Layout                                                 
-|Dialog.Destroy() | +| Dialog.Dismiss()                Dismisses the Dialog                                          
-|Dialog.GetAbsHeight() | | +| Dialog.GetType()                Gets the type of Dialog                                       
-|Dialog.GetAbsWidth() | | +| Dialog.Hide()                   Hides the Dialog                                              
-|Dialog.GetHeight() | | +| Dialog.RemoveLayoutlayout   Removes a Layout                                              
-|Dialog.GetPosition() | +| Dialog.SetOnCancelcallback  Used for setting a callback for when the Dialog is cancelled  | 
-|Dialog.GetType() | +| Dialog.SetOnTouch( callback )   Used for setting a callback for when the Dialog is touched  
-|Dialog.GetVisibility() | +| Dialog.Show()                   Callback to open the Dialog.                                  |
-|Dialog.GetWidth() | +
-|Dialog.Release() | +
-|Dialog.SetBackColorcolor ) | | +
-|Dialog.SetBackGradientcolor1,color2,color3,p4,p5,p6,p7 ) | +
-|Dialog.SetBackGradientRadial( x,y,r,color1,color2,color3,p7  ) | +
-|Dialog.SetBackground( imagefile,options ) | | +
-|Dialog.SetMargins( left,top,right,bottom ) | | +
-|Dialog.SetOnCancel( callback )| |  +
-|Dialog.SetOnTouch( callback ) | | +
-|Dialog.SetPadding( width,height,top,bottom ) | +
-|Dialog.SetPositionleft,top,width,height ) | +
-|Dialog.SetScale( x,y ) | | +
-|Dialog.SetSize( width,height ) | | +
-|Dialog.SetVisibility( HideShow ) | |+
 ===== Options ===== ===== Options =====
-^Options ^ +^ Options     ^ Description  
-|NoChancel+NoCancel  
-|NoTitle|+| NoTitle   | 
 +| NoDim     | Set the background transparent | 
 +===== Sample ===== 
 +[[sample_code:custom_dialog|Custom Yes-No-Dialog]]
built_in/dialog.1424596028.txt.gz · Last modified: 2015/02/22 17:07 (external edit)