Class TMenuItemToggleFullScreen

Unit

Declaration

type TMenuItemToggleFullScreen = class(TMenuItemChecked)

Description

Menu item that toggles TCastleWindow.FullScreen.

This already has a nice caption, key shortcut (F11 on most platforms, except macOS where it's Command+F11 (on LCL backend) or Ctrl+F11 (on other backends), since the bare F11 is reserved on macOS). And it has a DoClick implementation that takes care of the actual job.

So you can just add it to your menu, and forget about it.

Hierarchy

Overview

Methods

Public constructor Create(const InitialFullScreen: boolean);
Public function DoClick: boolean; override;

Description

Methods

Public constructor Create(const InitialFullScreen: boolean);

This item has no description.

Public function DoClick: boolean; override;

This item has no description. Showing description inherited from TMenuItemChecked.DoClick.

Overriden to handle AutoCheckedToggle. In this class, DoClick still returns false (like in ancestor class).


Generated by PasDoc 0.16.0-snapshot.