Outils pour utilisateurs

Outils du site


fr:code:windows:colordialog

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
fr:code:windows:colordialog [2012/04/24 15:17] wismerhealfr:code:windows:colordialog [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1
Ligne 180: Ligne 180:
  
 ==== showAlphaChannel ==== ==== showAlphaChannel ====
-Définit si le cannal alpha doit être visible.+Définit si le canal alpha doit être visible.
  
 === Syntaxe === === Syntaxe ===
Ligne 188: Ligne 188:
  
 === Arguments === === Arguments ===
-  - showAlphaChannel - (boolean) the alpha channel visibility status+  - showAlphaChannel - (boolean) le statut de visibilité du canal alpha
  
-=== Returns === +=== Renvoi === 
-  * (ColorDialog) this ColorDialog+  * (ColorDialog) ce "ColorDialog"
  
 ==== setColor ==== ==== setColor ====
-Sets the current color.+Définit la couleur actuelle.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setColor(color); myObject.setColor(color);
Ligne 202: Ligne 202:
  
 === Arguments === === Arguments ===
-  - color - ([[en:code:core:color|Color]]) the current color+  - color - ([[en:code:core:color|Color]]) la couleur actuelle
  
-=== Returns === +=== Renvoi === 
-  * (ColorDialog) this ColorDialog+  * (ColorDialog) ce "ColorDialog"
  
 ==== show ==== ==== show ====
-Show the window. (non-blocking+Montre la fenêtre. (non bloquant
-Use the [[#onclosed|OnClosed]] event to know when the window has been closed.+Utilise l'évènement [[#onclosed|OnClosed]] pour savoir quand la fenêtre a été fermé.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.show(); myObject.show();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (ColorDialog) this ColorDialog+  * (ColorDialog) ce "ColorDialog"
  
 ==== showModal ==== ==== showModal ====
-Show the window. (blocking)+Montre la fenêtre. (bloquant)
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.showModal(); myObject.showModal();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (integer) the window result (0 means that it has been canceled)+  * (integer) le résultat de la fenêtre (0 signifie que cela a été annulé)
  
 ==== color ==== ==== color ====
-Returns the current color.+Renvoi la couleur actuelle.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.color(); myObject.color();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * ([[en:code:core:color|Color]]) the current color+  * ([[en:code:core:color|Color]]) la couleur actuelle
  
-===== Events =====+===== Évènements =====
  
 ==== onClosed ==== ==== onClosed ====
-Called when the window is closed.+Appelé quand la fenêtre est fermée.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.onClosed = function(result) {}; myObject.onClosed = function(result) {};
Ligne 252: Ligne 252:
  
 === Arguments === === Arguments ===
-  - result - (integer) the window result (0 means that it has been canceled)+  - result - (integer) le résultat de la fenêtre (0 signifie que cela a été annulé)
  
 === Example === === Example ===
Ligne 266: Ligne 266:
  
 ==== onColorSelected ==== ==== onColorSelected ====
-Called when color has been selected.+Appelé quand une couleur été sélectionnée.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.onColorSelected = function(color) {}; myObject.onColorSelected = function(color) {};
Ligne 274: Ligne 274:
  
 === Arguments === === Arguments ===
-  - color - ([[en:code:core:color|Color]]) the selected color+  - color - ([[en:code:core:color|Color]]) la couleur sélectionnée
  
 === Example === === Example ===
Ligne 285: Ligne 285:
  
 ==== onColorChanged ==== ==== onColorChanged ====
-Called when the current color has been changed.+Appelé quand la couleur actuelle a été changé.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.onColorChanged = function(color) {}; myObject.onColorChanged = function(color) {};
Ligne 293: Ligne 293:
  
 === Arguments === === Arguments ===
-  - color - ([[en:code:core:color|Color]]) the current color+  - color - ([[en:code:core:color|Color]]) la couleur actuelle
  
 === Example === === Example ===
Ligne 306: Ligne 306:
  
 ==== title ==== ==== title ====
-The window's title. (string)+Le titre de la fenêtre. (string)
  
 ==== position ==== ==== position ====
-The window'position. ([[en:code:core:point|Point]])+La position de la fenêtre. ([[en:code:core:point|Point]])
  
 ==== opacity ==== ==== opacity ====
-The window's opacity. (float)+L'opacité de la fenêtre. (float)
  
 ==== enabled ==== ==== enabled ====
-The window's enabled status. (boolean)+Le statut d'activité de la fenêtre. (boolean)
  
 ==== visible ==== ==== visible ====
-The window's visible status. (boolean)+Le statut de visibilité de la fenêtre. (boolean)
fr/code/windows/colordialog.1335280651.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)