Game Develop Core: gd::FileProperty Class Reference

| Game Develop Core Core library for developing platforms and tools compatible with Game Develop.

- Main Page
- Modules
- Classes

- Class List
- Class Index
- Class Hierarchy

All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
Public Member Functions | List of all members
gd::FileProperty Class Reference
IDE Classes ( Classes to be used to implement a development environment )

Property for wxPropertyGrid displaying its value with a button triggering a file selector. More...

`#include <FileProperty.h>`

Inheritance diagram for gd::FileProperty:
[legend]

## Public Member Functions

| FileProperty (const wxString &label=wxPG_LABEL, const wxString &name=wxPG_LABEL, const wxString &value=wxEmptyString)
virtual bool | DoSetAttribute (const wxString &name, wxVariant &value)
virtual bool | OnButtonClick (wxPropertyGrid *propGrid, wxString &value)

## Detailed Description

Property for wxPropertyGrid displaying its value with a button triggering a file selector.

Compared to wxFileProperty, this class allows to use relative filenames: If a base path is specified ( property->SetAttribute(wxPG_FILE_SHOW_RELATIVE_PATH, myBasePath) ), the value returned by the file selector will be relative to this path.

Supports wxPG_FILE_WILDCARD, wxPG_FILE_SHOW_RELATIVE_PATH, wxPG_FILE_INITIAL_PATH, wxPG_FILE_DIALOG_TITLE attributes.

The documentation for this class was generated from the following files:

- FileProperty.h
- FileProperty.cpp