C# Class Filezoo, filezoo

Inheritance: DrawingArea
Afficher le fichier Open project: kig/filezoo Class Usage Examples

Méthodes publiques

Свойство Type Description
ActiveColor Color
BreadcrumbFontFamily string
BreadcrumbFontSize double
BreadcrumbMarginLeft double
BreadcrumbMarginRight double
BreadcrumbMarginTop double
Cancelled bool
CurrentDirEntry FSEntry,
CurrentDirPath string
FileInfoFontFamily string
FileNameFontFamily string
FilesMarginBottom double
FilesMarginLeft double
FilesMarginRight double
FilesMarginTop double
Height uint
InActiveColor Color
Prefixes string>.Dictionary
QuitAfterFirstFrame bool
Renderer FSDraw
Selection bool>.Dictionary
SizeField SizeHandler
SizeFields SizeHandler[]
SizeLabel string
SortDirection SortingDirection
SortField SortHandler
SortFields SortHandler[]
SortLabel string
ToolbarLabelFontFamily string
ToolbarLabelFontSize double
ToolbarTitleFontFamily string
ToolbarTitleFontSize double
ToolbarY double
Width uint
ZoomInSpeed double
ZoomOutSpeed double
Zoomer IZoomer

Méthodes publiques

Méthode Description
CheckUpdates ( object source, ElapsedEventArgs e ) : void
CheckZoomNavigation ( Context cr, uint width, uint height ) : void
ClearSelection ( ) : void
Click ( Context cr, uint width, uint height, double x, double y ) : void
ClickCurrentDir ( Context cr, uint width, uint height, double x, double y ) : void
ContextClick ( uint width, uint height, double x, double y ) : void
CopySelection ( string targetPath ) : void
CopySelectionTo ( string targetPath ) : void
CutSelection ( string targetPath ) : void
DragDataToCreateFileMenu ( string target, byte data ) : void
DragDataToFileMenu ( string targetFile, byte data ) : void
DragURIMenu ( string sources, string target ) : void
DrawBackground ( Context cr, uint width, uint height ) : void
DrawBreadcrumb ( Context cr, uint width ) : void
DrawClear ( Context cr, uint width, uint height ) : void
DrawCurrentDir ( Context cr, Rectangle targetBox ) : void
DrawFrame ( Context cr ) : void
DrawMainView ( Context cr, uint width, uint height ) : void
DrawSizeBar ( Context cr ) : void
DrawSortBar ( Context cr ) : void
DrawToolbars ( Context cr, uint width, uint height ) : void
Filezoo ( string dirname ) : System
FindHit ( uint width, uint height, double x, double y, double minHeight ) : ClickHit,
FindHits ( uint width, uint height, double x, double y ) : List
GetSelectionData ( ) : string
GoToParent ( ) : void
HandleSelectionData ( SelectionData sd, Gdk action, string targetPath ) : void
LongMonitor ( object source, ElapsedEventArgs ev ) : void
MoveSelectionTo ( string targetPath ) : void
OpenFile ( string path ) : void
PanBy ( Context cr, uint width, uint height, double dx, double dy ) : void
PasteSelection ( string targetPath ) : void
PreDrawCallback ( ) : void
RequestPreDraw ( ) : void
ResetZoom ( ) : void
SetClipboard ( string items ) : void
SetCurrentDir ( string dirname ) : void
SetCurrentDir ( string dirname, bool resetZoom ) : void
SetCursor ( Gdk state ) : void
ToggleSelection ( string path ) : void
ToggleSpan ( FSEntry start, FSEntry end ) : void
TrashSelection ( ) : void
UpdateLayout ( ) : void
ZoomAway ( Context cr, uint width, uint height, double x, double y ) : void
ZoomBy ( Context cr, uint width, uint height, double x, double y, double factor ) : void
ZoomToward ( Context cr, uint width, uint height, double x, double y ) : void
copyUris ( string uris, string targetPath ) : void
moveUris ( string uris, string targetPath ) : void

Méthodes protégées

Méthode Description
OnButtonPressEvent ( Gdk e ) : bool
OnButtonReleaseEvent ( Gdk e ) : bool
OnExposeEvent ( Gdk e ) : bool
OnMotionNotifyEvent ( Gdk e ) : bool
OnScrollEvent ( Gdk e ) : bool

Private Methods

Méthode Description
CheckRedraw ( ) : bool
ClickBreadcrumb ( Context cr, uint width, double x, double y ) : bool
ClickSizeBar ( Context cr, double x, double y ) : bool
ClickSortBar ( Context cr, double x, double y ) : bool
DrawEffects ( Context cr, uint w, uint h ) : bool
Transform ( Context cr, uint width, uint height ) : Rectangle
cosScale ( double n ) : double

Method Details

CheckUpdates() public méthode

public CheckUpdates ( object source, ElapsedEventArgs e ) : void
source object
e ElapsedEventArgs
Résultat void

CheckZoomNavigation() public méthode

public CheckZoomNavigation ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Résultat void

ClearSelection() public méthode

public ClearSelection ( ) : void
Résultat void

Click() public méthode

public Click ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
Résultat void

ClickCurrentDir() public méthode

public ClickCurrentDir ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
Résultat void

ContextClick() public méthode

public ContextClick ( uint width, uint height, double x, double y ) : void
width uint
height uint
x double
y double
Résultat void

CopySelection() public méthode

public CopySelection ( string targetPath ) : void
targetPath string
Résultat void

CopySelectionTo() public méthode

public CopySelectionTo ( string targetPath ) : void
targetPath string
Résultat void

CutSelection() public méthode

public CutSelection ( string targetPath ) : void
targetPath string
Résultat void

DragDataToCreateFileMenu() public méthode

public DragDataToCreateFileMenu ( string target, byte data ) : void
target string
data byte
Résultat void

DragDataToFileMenu() public méthode

public DragDataToFileMenu ( string targetFile, byte data ) : void
targetFile string
data byte
Résultat void

DragURIMenu() public méthode

public DragURIMenu ( string sources, string target ) : void
sources string
target string
Résultat void

DrawBackground() public méthode

public DrawBackground ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Résultat void

DrawBreadcrumb() public méthode

public DrawBreadcrumb ( Context cr, uint width ) : void
cr Context
width uint
Résultat void

DrawClear() public méthode

public DrawClear ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Résultat void

DrawCurrentDir() public méthode

public DrawCurrentDir ( Context cr, Rectangle targetBox ) : void
cr Context
targetBox Rectangle
Résultat void

DrawFrame() public méthode

public DrawFrame ( Context cr ) : void
cr Context
Résultat void

DrawMainView() public méthode

public DrawMainView ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Résultat void

DrawSizeBar() public méthode

public DrawSizeBar ( Context cr ) : void
cr Context
Résultat void

DrawSortBar() public méthode

public DrawSortBar ( Context cr ) : void
cr Context
Résultat void

DrawToolbars() public méthode

public DrawToolbars ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
Résultat void

Filezoo() public méthode

public Filezoo ( string dirname ) : System
dirname string
Résultat System

FindHit() public méthode

public FindHit ( uint width, uint height, double x, double y, double minHeight ) : ClickHit,
width uint
height uint
x double
y double
minHeight double
Résultat ClickHit,

FindHits() public méthode

public FindHits ( uint width, uint height, double x, double y ) : List
width uint
height uint
x double
y double
Résultat List

GetSelectionData() public méthode

public GetSelectionData ( ) : string
Résultat string

GoToParent() public méthode

public GoToParent ( ) : void
Résultat void

HandleSelectionData() public méthode

public HandleSelectionData ( SelectionData sd, Gdk action, string targetPath ) : void
sd SelectionData
action Gdk
targetPath string
Résultat void

LongMonitor() public méthode

public LongMonitor ( object source, ElapsedEventArgs ev ) : void
source object
ev ElapsedEventArgs
Résultat void

MoveSelectionTo() public méthode

public MoveSelectionTo ( string targetPath ) : void
targetPath string
Résultat void

OnButtonPressEvent() protected méthode

protected OnButtonPressEvent ( Gdk e ) : bool
e Gdk
Résultat bool

OnButtonReleaseEvent() protected méthode

protected OnButtonReleaseEvent ( Gdk e ) : bool
e Gdk
Résultat bool

OnExposeEvent() protected méthode

protected OnExposeEvent ( Gdk e ) : bool
e Gdk
Résultat bool

OnMotionNotifyEvent() protected méthode

protected OnMotionNotifyEvent ( Gdk e ) : bool
e Gdk
Résultat bool

OnScrollEvent() protected méthode

protected OnScrollEvent ( Gdk e ) : bool
e Gdk
Résultat bool

OpenFile() public méthode

public OpenFile ( string path ) : void
path string
Résultat void

PanBy() public méthode

public PanBy ( Context cr, uint width, uint height, double dx, double dy ) : void
cr Context
width uint
height uint
dx double
dy double
Résultat void

PasteSelection() public méthode

public PasteSelection ( string targetPath ) : void
targetPath string
Résultat void

PreDrawCallback() public méthode

public PreDrawCallback ( ) : void
Résultat void

RequestPreDraw() public méthode

public RequestPreDraw ( ) : void
Résultat void

ResetZoom() public méthode

public ResetZoom ( ) : void
Résultat void

SetClipboard() public méthode

public SetClipboard ( string items ) : void
items string
Résultat void

SetCurrentDir() public méthode

public SetCurrentDir ( string dirname ) : void
dirname string
Résultat void

SetCurrentDir() public méthode

public SetCurrentDir ( string dirname, bool resetZoom ) : void
dirname string
resetZoom bool
Résultat void

SetCursor() public méthode

public SetCursor ( Gdk state ) : void
state Gdk
Résultat void

ToggleSelection() public méthode

public ToggleSelection ( string path ) : void
path string
Résultat void

ToggleSpan() public méthode

public ToggleSpan ( FSEntry start, FSEntry end ) : void
start FSEntry
end FSEntry
Résultat void

TrashSelection() public méthode

public TrashSelection ( ) : void
Résultat void

UpdateLayout() public méthode

public UpdateLayout ( ) : void
Résultat void

ZoomAway() public méthode

public ZoomAway ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
Résultat void

ZoomBy() public méthode

public ZoomBy ( Context cr, uint width, uint height, double x, double y, double factor ) : void
cr Context
width uint
height uint
x double
y double
factor double
Résultat void

ZoomToward() public méthode

public ZoomToward ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
Résultat void

copyUris() public méthode

public copyUris ( string uris, string targetPath ) : void
uris string
targetPath string
Résultat void

moveUris() public méthode

public moveUris ( string uris, string targetPath ) : void
uris string
targetPath string
Résultat void

Property Details

ActiveColor public_oe property

public Color ActiveColor
Résultat Color

BreadcrumbFontFamily public_oe property

public string BreadcrumbFontFamily
Résultat string

BreadcrumbFontSize public_oe property

public double BreadcrumbFontSize
Résultat double

BreadcrumbMarginLeft public_oe property

public double BreadcrumbMarginLeft
Résultat double

BreadcrumbMarginRight public_oe property

public double BreadcrumbMarginRight
Résultat double

BreadcrumbMarginTop public_oe property

public double BreadcrumbMarginTop
Résultat double

Cancelled public_oe property

public bool Cancelled
Résultat bool

CurrentDirEntry public_oe property

public FSEntry, CurrentDirEntry
Résultat FSEntry,

CurrentDirPath public_oe property

public string CurrentDirPath
Résultat string

FileInfoFontFamily public_oe property

public string FileInfoFontFamily
Résultat string

FileNameFontFamily public_oe property

public string FileNameFontFamily
Résultat string

FilesMarginBottom public_oe property

public double FilesMarginBottom
Résultat double

FilesMarginLeft public_oe property

public double FilesMarginLeft
Résultat double

FilesMarginRight public_oe property

public double FilesMarginRight
Résultat double

FilesMarginTop public_oe property

public double FilesMarginTop
Résultat double

Height public_oe property

public uint Height
Résultat uint

InActiveColor public_oe property

public Color InActiveColor
Résultat Color

Prefixes public_oe property

public Dictionary Prefixes
Résultat string>.Dictionary

QuitAfterFirstFrame public_oe property

public bool QuitAfterFirstFrame
Résultat bool

Renderer public_oe property

public FSDraw Renderer
Résultat FSDraw

Selection public_oe property

public Dictionary Selection
Résultat bool>.Dictionary

SizeField public_oe property

public SizeHandler SizeField
Résultat SizeHandler

SizeFields public_oe property

public SizeHandler[] SizeFields
Résultat SizeHandler[]

SizeLabel public_oe property

public string SizeLabel
Résultat string

SortDirection public_oe property

public SortingDirection SortDirection
Résultat SortingDirection

SortField public_oe property

public SortHandler SortField
Résultat SortHandler

SortFields public_oe property

public SortHandler[] SortFields
Résultat SortHandler[]

SortLabel public_oe property

public string SortLabel
Résultat string

ToolbarLabelFontFamily public_oe property

public string ToolbarLabelFontFamily
Résultat string

ToolbarLabelFontSize public_oe property

public double ToolbarLabelFontSize
Résultat double

ToolbarTitleFontFamily public_oe property

public string ToolbarTitleFontFamily
Résultat string

ToolbarTitleFontSize public_oe property

public double ToolbarTitleFontSize
Résultat double

ToolbarY public_oe property

public double ToolbarY
Résultat double

Width public_oe property

public uint Width
Résultat uint

ZoomInSpeed public_oe property

public double ZoomInSpeed
Résultat double

ZoomOutSpeed public_oe property

public double ZoomOutSpeed
Résultat double

Zoomer public_oe property

public IZoomer Zoomer
Résultat IZoomer