MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / LinkTooltip

Method LinkTooltip

Source/Editor/GUI/ToolStripButton.cs:116–123  ·  view source on GitHub ↗

Links the tooltip with input binding info. The text. The input key binding. This tooltip.

(string text, ref Options.InputBinding inputBinding)

Source from the content-addressed store, hash-verified

114 /// <param name="inputBinding">The input key binding.</param>
115 /// <returns>This tooltip.</returns>
116 public ToolStripButton LinkTooltip(string text, ref Options.InputBinding inputBinding)
117 {
118 var input = inputBinding.ToString();
119 if (input.Length != 0)
120 text = $"{text} ({input})";
121 LinkTooltip(text);
122 return this;
123 }
124
125 private void OnClicked()
126 {

Callers 15

PerformCommonSetupMethod · 0.45
OnContextMenuMethod · 0.45
InitMainMenuMethod · 0.45
InitToolstripMethod · 0.45
OnContextMenuMethod · 0.45
OnContextMenuMethod · 0.45
OnContextMenuMethod · 0.45
AddEventsMethod · 0.45
AddPropertiesMethod · 0.45
InitializeMethod · 0.45
ContentWindowMethod · 0.45
EditorOptionsWindowMethod · 0.45

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected