C# Class Filezoo, filezoo

Inheritance: DrawingArea
Show file Open project: kig/filezoo Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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

Protected Methods

Method Description
OnButtonPressEvent ( Gdk e ) : bool
OnButtonReleaseEvent ( Gdk e ) : bool
OnExposeEvent ( Gdk e ) : bool
OnMotionNotifyEvent ( Gdk e ) : bool
OnScrollEvent ( Gdk e ) : bool

Private Methods

Method 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 method

public CheckUpdates ( object source, ElapsedEventArgs e ) : void
source object
e ElapsedEventArgs
return void

CheckZoomNavigation() public method

public CheckZoomNavigation ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
return void

ClearSelection() public method

public ClearSelection ( ) : void
return void

Click() public method

public Click ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
return void

ClickCurrentDir() public method

public ClickCurrentDir ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
return void

ContextClick() public method

public ContextClick ( uint width, uint height, double x, double y ) : void
width uint
height uint
x double
y double
return void

CopySelection() public method

public CopySelection ( string targetPath ) : void
targetPath string
return void

CopySelectionTo() public method

public CopySelectionTo ( string targetPath ) : void
targetPath string
return void

CutSelection() public method

public CutSelection ( string targetPath ) : void
targetPath string
return void

DragDataToCreateFileMenu() public method

public DragDataToCreateFileMenu ( string target, byte data ) : void
target string
data byte
return void

DragDataToFileMenu() public method

public DragDataToFileMenu ( string targetFile, byte data ) : void
targetFile string
data byte
return void

DragURIMenu() public method

public DragURIMenu ( string sources, string target ) : void
sources string
target string
return void

DrawBackground() public method

public DrawBackground ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
return void

DrawBreadcrumb() public method

public DrawBreadcrumb ( Context cr, uint width ) : void
cr Context
width uint
return void

DrawClear() public method

public DrawClear ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
return void

DrawCurrentDir() public method

public DrawCurrentDir ( Context cr, Rectangle targetBox ) : void
cr Context
targetBox Rectangle
return void

DrawFrame() public method

public DrawFrame ( Context cr ) : void
cr Context
return void

DrawMainView() public method

public DrawMainView ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
return void

DrawSizeBar() public method

public DrawSizeBar ( Context cr ) : void
cr Context
return void

DrawSortBar() public method

public DrawSortBar ( Context cr ) : void
cr Context
return void

DrawToolbars() public method

public DrawToolbars ( Context cr, uint width, uint height ) : void
cr Context
width uint
height uint
return void

Filezoo() public method

public Filezoo ( string dirname ) : System
dirname string
return System

FindHit() public method

public FindHit ( uint width, uint height, double x, double y, double minHeight ) : ClickHit,
width uint
height uint
x double
y double
minHeight double
return ClickHit,

FindHits() public method

public FindHits ( uint width, uint height, double x, double y ) : List
width uint
height uint
x double
y double
return List

GetSelectionData() public method

public GetSelectionData ( ) : string
return string

GoToParent() public method

public GoToParent ( ) : void
return void

HandleSelectionData() public method

public HandleSelectionData ( SelectionData sd, Gdk action, string targetPath ) : void
sd SelectionData
action Gdk
targetPath string
return void

LongMonitor() public method

public LongMonitor ( object source, ElapsedEventArgs ev ) : void
source object
ev ElapsedEventArgs
return void

MoveSelectionTo() public method

public MoveSelectionTo ( string targetPath ) : void
targetPath string
return void

OnButtonPressEvent() protected method

protected OnButtonPressEvent ( Gdk e ) : bool
e Gdk
return bool

OnButtonReleaseEvent() protected method

protected OnButtonReleaseEvent ( Gdk e ) : bool
e Gdk
return bool

OnExposeEvent() protected method

protected OnExposeEvent ( Gdk e ) : bool
e Gdk
return bool

OnMotionNotifyEvent() protected method

protected OnMotionNotifyEvent ( Gdk e ) : bool
e Gdk
return bool

OnScrollEvent() protected method

protected OnScrollEvent ( Gdk e ) : bool
e Gdk
return bool

OpenFile() public method

public OpenFile ( string path ) : void
path string
return void

PanBy() public method

public PanBy ( Context cr, uint width, uint height, double dx, double dy ) : void
cr Context
width uint
height uint
dx double
dy double
return void

PasteSelection() public method

public PasteSelection ( string targetPath ) : void
targetPath string
return void

PreDrawCallback() public method

public PreDrawCallback ( ) : void
return void

RequestPreDraw() public method

public RequestPreDraw ( ) : void
return void

ResetZoom() public method

public ResetZoom ( ) : void
return void

SetClipboard() public method

public SetClipboard ( string items ) : void
items string
return void

SetCurrentDir() public method

public SetCurrentDir ( string dirname ) : void
dirname string
return void

SetCurrentDir() public method

public SetCurrentDir ( string dirname, bool resetZoom ) : void
dirname string
resetZoom bool
return void

SetCursor() public method

public SetCursor ( Gdk state ) : void
state Gdk
return void

ToggleSelection() public method

public ToggleSelection ( string path ) : void
path string
return void

ToggleSpan() public method

public ToggleSpan ( FSEntry start, FSEntry end ) : void
start FSEntry
end FSEntry
return void

TrashSelection() public method

public TrashSelection ( ) : void
return void

UpdateLayout() public method

public UpdateLayout ( ) : void
return void

ZoomAway() public method

public ZoomAway ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
return void

ZoomBy() public method

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
return void

ZoomToward() public method

public ZoomToward ( Context cr, uint width, uint height, double x, double y ) : void
cr Context
width uint
height uint
x double
y double
return void

copyUris() public method

public copyUris ( string uris, string targetPath ) : void
uris string
targetPath string
return void

moveUris() public method

public moveUris ( string uris, string targetPath ) : void
uris string
targetPath string
return void

Property Details

ActiveColor public property

public Color ActiveColor
return Color

BreadcrumbFontFamily public property

public string BreadcrumbFontFamily
return string

BreadcrumbFontSize public property

public double BreadcrumbFontSize
return double

BreadcrumbMarginLeft public property

public double BreadcrumbMarginLeft
return double

BreadcrumbMarginRight public property

public double BreadcrumbMarginRight
return double

BreadcrumbMarginTop public property

public double BreadcrumbMarginTop
return double

Cancelled public property

public bool Cancelled
return bool

CurrentDirEntry public property

public FSEntry, CurrentDirEntry
return FSEntry,

CurrentDirPath public property

public string CurrentDirPath
return string

FileInfoFontFamily public property

public string FileInfoFontFamily
return string

FileNameFontFamily public property

public string FileNameFontFamily
return string

FilesMarginBottom public property

public double FilesMarginBottom
return double

FilesMarginLeft public property

public double FilesMarginLeft
return double

FilesMarginRight public property

public double FilesMarginRight
return double

FilesMarginTop public property

public double FilesMarginTop
return double

Height public property

public uint Height
return uint

InActiveColor public property

public Color InActiveColor
return Color

Prefixes public property

public Dictionary Prefixes
return string>.Dictionary

QuitAfterFirstFrame public property

public bool QuitAfterFirstFrame
return bool

Renderer public property

public FSDraw Renderer
return FSDraw

Selection public property

public Dictionary Selection
return bool>.Dictionary

SizeField public property

public SizeHandler SizeField
return SizeHandler

SizeFields public property

public SizeHandler[] SizeFields
return SizeHandler[]

SizeLabel public property

public string SizeLabel
return string

SortDirection public property

public SortingDirection SortDirection
return SortingDirection

SortField public property

public SortHandler SortField
return SortHandler

SortFields public property

public SortHandler[] SortFields
return SortHandler[]

SortLabel public property

public string SortLabel
return string

ToolbarLabelFontFamily public property

public string ToolbarLabelFontFamily
return string

ToolbarLabelFontSize public property

public double ToolbarLabelFontSize
return double

ToolbarTitleFontFamily public property

public string ToolbarTitleFontFamily
return string

ToolbarTitleFontSize public property

public double ToolbarTitleFontSize
return double

ToolbarY public property

public double ToolbarY
return double

Width public property

public uint Width
return uint

ZoomInSpeed public property

public double ZoomInSpeed
return double

ZoomOutSpeed public property

public double ZoomOutSpeed
return double

Zoomer public property

public IZoomer Zoomer
return IZoomer