fr:code:windows:colordialog
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
fr:code:windows:colordialog [2012/04/24 15:17] – wismerheal | fr: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 | + | Définit si le canal alpha doit être visible. |
=== Syntaxe === | === Syntaxe === | ||
Ligne 188: | Ligne 188: | ||
=== Arguments === | === Arguments === | ||
- | - showAlphaChannel - (boolean) | + | - showAlphaChannel - (boolean) |
- | === Returns | + | === Renvoi |
- | * (ColorDialog) | + | * (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: | + | - color - ([[en: |
- | === Returns | + | === Renvoi |
- | * (ColorDialog) | + | * (ColorDialog) |
==== show ==== | ==== show ==== | ||
- | Show the window. (non-blocking) | + | Montre la fenêtre. (non bloquant) |
- | Use the [[# | + | Utilise l' |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.show(); | myObject.show(); | ||
</ | </ | ||
- | === Returns | + | === Renvoi |
- | * (ColorDialog) | + | * (ColorDialog) |
==== showModal ==== | ==== showModal ==== | ||
- | Show the window. (blocking) | + | Montre la fenêtre. (bloquant) |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.showModal(); | myObject.showModal(); | ||
</ | </ | ||
- | === Returns | + | === Renvoi |
- | * (integer) | + | * (integer) |
==== color ==== | ==== color ==== | ||
- | Returns the current color. | + | Renvoi la couleur actuelle. |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.color(); | myObject.color(); | ||
</ | </ | ||
- | === Returns | + | === Renvoi |
- | * ([[en: | + | * ([[en: |
- | ===== 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) | + | - result - (integer) |
=== Example === | === Example === | ||
Ligne 266: | Ligne 266: | ||
==== onColorSelected ==== | ==== onColorSelected ==== | ||
- | Called when a color has been selected. | + | Appelé quand une couleur |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.onColorSelected = function(color) {}; | myObject.onColorSelected = function(color) {}; | ||
Ligne 274: | Ligne 274: | ||
=== Arguments === | === Arguments === | ||
- | - color - ([[en: | + | - color - ([[en: |
=== 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: | + | - color - ([[en: |
=== Example === | === Example === | ||
Ligne 306: | Ligne 306: | ||
==== title ==== | ==== title ==== | ||
- | The window' | + | Le titre de la fenêtre. (string) |
==== position ==== | ==== position ==== | ||
- | The window' | + | La position |
==== 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' | + | 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)