Tooltips ツールチップ

Creates a tooltip which appears when the mouse is hovered over the meter.マウスをメーターの上に置いたときに表示されるツールチップを作成します。

Optionsオプション

ToolTipTextRequiredToolTipText必須

Text to display. This option provides the content for the tooltip, and is required.表示するテキスト このオプションはツールチップの内容を提供し、必須です。

Values from MeasureName from the meter can be used with %1, %2 etc. as appropriate for various meter types:MeasureNameメーターからの値は、さまざまなメーターの種類に応じて%1%2などで使用できます。

  • String, Line, Image: %1, %2, %3, ...文字列、行、画像: %1%2%3、...
  • Histogram: %1, %2ヒストグラム: %1%2
  • Others: %1その他 %1

Notes:ノート:

To wrap the text on multiple lines, use the #CRLF# variable.テキストを複数行に折り返すには、#CRLF#変数を使用します

There are no text formatting options possible with ToolTipText. The font, colors and sizes are the ones built into the standard tooltip behavior in the Windows operating system.ToolTipTextでは可能なテキストフォーマットオプションはありません。フォント、色、サイズは、Windowsオペレーティングシステムの標準的なツールチップの動作に組み込まれています。

On a String meter, numeric formatting options are forced to AutoScale=1, Scale=1, NumOfDecimals=0, Percentual=0 on the tooltip when values from the meter are used with %1, %2 etc. To have more control over numeric formatting, [SectionVariables] should be used instead. Be sure to use DynamicVariables=1 on the meter when section variables are used.文字列メーターでは、数値の書式設定オプションをすることを余儀なくされているAutoScale=1Scale=1NumOfDecimals=0Percentual=0計からの値を一緒に使用しているツールチップ上で%1%2数値の書式設定をより細かく制御しているためになど、[SectionVariables]代わりに使用する必要があります。DynamicVariables=1セクション変数を使用するときは必ずメーターで使用してください。

ToolTipTitle

Title of the tooltip. Only one line of text can be used.ツールチップのタイトル。1行のテキストしか使用できません。

ToolTipIcon

Specifies the icon to use for the tooltip. This can be the path to an .ico file, or one of the following preset icons:ツールチップに使用するアイコンを指定します。これは、.icoファイルへのパス、または次のプリセットアイコンのいずれかです。

  • Info
  • Warning
  • Error
  • Question
  • Shield

Note: ToolTipTitle must be specified to use ToolTipIcon.注: ToolTipTitle使用するには指定する必要がありますToolTipIcon

ToolTipTypeDefault: 0ToolTipTypeデフォルト: 0

If set to 1, a balloon tooltip is displayed. Otherwise a normal tooltip is displayed.に設定する1と、バルーンツールチップが表示されます。それ以外の場合は、通常のツールチップが表示されます。

ToolTipWidthDefault: 1000ToolTipWidthデフォルト: 1000

Maximum width for the tooltip. When the width is reached, the text will automatically wrap.ツールチップの最大幅。幅に達すると、テキストは自動的に折り返されます。

Note: As a ToolTipTitle cannot be wrapped, do not set this width less than the length of the title, or there could be unexpected results.注:としてToolTipTitleラップすることができない、タイトルの長さよりも、この小さい幅を設定しない、または予期しない結果があるかもしれません。

ToolTipHiddenDefault: 0ToolTipHiddenデフォルト: 0

If set to 1, the tooltip is not displayed.に設定する1と、ツールチップは表示されません。

Note: This option can also be used in the [Rainmeter] section to hide all tooltips in the skin.注:[Rainmeter]セクションでこのオプションを使用して、スキン内のすべてのツールチップを非表示にすることもできます。

Example

[Rainmeter]
Update=1000

[MeasureCPU]
Measure=CPU

[MeasureCPUSpeed]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0
RegValue=~MHz
UpdateDivider=-1

[MeasureCPUName]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0
RegValue=ProcessorNameString
UpdateDivider=-1

[MeasureCPUIdentifier]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0
RegValue=Identifier
UpdateDivider=-1

[MeasureCPUText]
Meter=String
X=0
Y=0
FontFace=Segoe UI
FontColor=255,255,255,255
SolidColor=0,0,0,1
FontSize=12
StringStyle=Bold
StringAlign=Left
AntiAlias=1
Text="CPU Usage:"
ToolTipTitle=CPU Information
ToolTipType=1
ToolTipIcon=INFO
ToolTipText=[MeasureCPUName]#CRLF#[MeasureCPUIdentifier]#CRLF#Running at: [MeasureCPUSpeed] Mhz
DynamicVariables=1

[MeterCPU%]
MeasureName=MeasureCPU
Meter=String
X=140
Y=-2r
FontFace=Segoe UI
FontColor=255,255,255,255
FontSize=14
StringStyle=Bold
StringAlign=Right
AntiAlias=1
NumOfDecimals=0
Percentual=1
Text="%1%"

An example skin demontrating the Tooltip option.ツールチップオプションをデモンストレーションするサンプルスキン。

関連記事

スポンサーリンク

相対配置したインライン要素にz-indexプロパティが効かない

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る