|
|
Class: FilenameWidgetWithHistory
Object
|
+--GraphicsContext
|
+--DeviceGraphicsContext
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--FilenameWidgetWithHistory
- Package:
- stx:libwidg2
- Category:
- Views-Interactors
- Version:
- rev:
1.13
date: 2009/05/20 07:17:51
- user: cg
- file: FilenameWidgetWithHistory.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
- Author:
- Claus Gittinger
A Filename InputField with history-list and a browse-button, which opens a file dialog.
ComboBoxView
FilenameEditField
FilenameComboBoxView
accessing
-
dialogTitle: something
-
set the dialogs title
-
directoriesOnly: aBoolean
-
if true, directories are selectable only.
If both filesOnly and directoriesOnly are false, which is the default,
anything is selectable.
-
filesOnly: aBoolean
-
if true, files are selectable only.
If both filesOnly and directoriesOnly are false, which is the default,
anything is selectable.
-
historyList
-
-
historyList: aList
-
set the history - useful when two or more such fields shall share a common history
-
initialDirectoryHolder
-
can be used to force the file-dialog into some initial directory
-
model
-
-
model: aFilenameHolder
-
accessing-channels
-
enableChannel: aValueHolder
-
accessing-editField attributes
-
acceptIfUnchanged: aBoolean
-
-
acceptOnLeave: aBoolean
-
-
acceptOnLostFocus: aBoolean
-
-
acceptOnPointerLeave: aBoolean
-
-
acceptOnReturn: aBoolean
-
-
acceptOnTab: aBoolean
-
-
contents: aString
-
-
immediateAccept: aBoolean
-
-
maxChars: aBoolean
-
-
readOnly: aBoolean
-
initialization
-
initialize
-
queries
-
preferredExtent
-
If I have an explicit preferredExtent..
user actions
-
browseForDestinationDirectory
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
browseForFileOrDirectory
-
|top b|
top := StandardSystemView new.
top extent:(300 @ 200).
b := FilenameWidgetWithHistory in:top.
b origin:(0.0 @ 0.0) corner:(1.0 @ 0.0).
b bottomInset:(b preferredExtent y negated).
top open.
|
|