Class: Wx::FileHistoryMenuPathStyle

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/file_history.rb

Overview

Styles for the paths shown in FileHistory menus.

The values of this enum determine whether the labels in the menu managed by FileHistory show the full path for the corresponding file or just the base name. The default style is FH_PATH_SHOW_IF_DIFFERENT, i.e. the full path of the file is only shown in the menu if it's different from the path of the first file.

Requires:

  • USE_FILE_HISTORY

Constant Summary collapse

FH_PATH_SHOW_IF_DIFFERENT =

Show the full path if it's different from the path of the first file.

Wx::FileHistoryMenuPathStyle.new(0)
FH_PATH_SHOW_NEVER =

Never show full path, always show just the base file name.

Wx::FileHistoryMenuPathStyle.new(1)
FH_PATH_SHOW_ALWAYS =

Always show the full path for all files.

Wx::FileHistoryMenuPathStyle.new(2)