# :stopdoc:
# This file is automatically generated by the WXRuby3 documentation
# generator. Do not alter this file.
# :startdoc:
module Wx
# A file control event holds information about events associated with {Wx::FileCtrl} objects.
# === Events using this class
#
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::FileCtrlEvent} events.
# Event handler methods:
#
# - {Wx::EvtHandler#evt_filectrl_fileactivated}(id, meth = nil, &block): The user activated a file(by double-clicking or pressing Enter)
#
# - {Wx::EvtHandler#evt_filectrl_selectionchanged}(id, meth = nil, &block): The user changed the current selection(by selecting or deselecting a file)
#
# - {Wx::EvtHandler#evt_filectrl_folderchanged}(id, meth = nil, &block): The current folder of the file control has been changed
#
# - {Wx::EvtHandler#evt_filectrl_filterchanged}(id, meth = nil, &block): The current file filter of the file control has been changed
#
# ===
#
# Category: {Wx::Events}
#
class FileCtrlEvent < CommandEvent
# Constructor.
# @param type [Wx::CommandLinkButton::EventType]
# @param evtObject [Wx::Object]
# @param id [Integer]
# @return [Wx::FileCtrlEvent]
def initialize(type, evtObject, id) end
# Returns the current directory.
# In case of a EVT_FILECTRL_FOLDERCHANGED, this method returns the new directory.
# @return [String]
def get_directory; end
alias_method :directory, :get_directory
# Returns the file selected (assuming it is only one file).
# @return [String]
def get_file; end
alias_method :file, :get_file
# Returns the files selected.
# In case of a EVT_FILECTRL_SELECTIONCHANGED, this method returns the files selected after the event.
# @return [Array]
def get_files; end
alias_method :files, :get_files
# Returns the current file filter index.
# For a EVT_FILECTRL_FILTERCHANGED event, this method returns the new file filter index.
# @return [Integer]
def get_filter_index; end
alias_method :filter_index, :get_filter_index
# Sets the files changed by this event.
# @param files [Array]
# @return [void]
def set_files(files) end
alias_method :files=, :set_files
# Sets the directory of this event.
# @param directory [String]
# @return [void]
def set_directory(directory) end
alias_method :directory=, :set_directory
# Sets the filter index changed by this event.
# @param index [Integer]
# @return [void]
def set_filter_index(index) end
alias_method :filter_index=, :set_filter_index
end # FileCtrlEvent
end