C# Class Xwt.Mac.WindowBackend

Inheritance: MonoMac.AppKit.NSWindow, IWindowBackend
Mostra file Open project: mono/xwt Class Usage Examples

Private Properties

Property Type Description
DisableVisibilityEvent void
EnableVisibilityEvent void
HandleDidResize void
IBackend void
IWindowBackend void
IWindowFrameBackend bool
IWindowFrameBackend void
IWindowFrameBackend void
InternalShow void
OnHidden void
OnShouldClose bool
OnShown void
OnWillClose void
RequestClose bool
VisibilityEventsEnabled bool

Public Methods

Method Description
DragStart ( TransferDataSource data, DragDropAction dragAction, object dragImage, double xhot, double yhot ) : void
GetMetrics ( Size &minSize, Size &decorationSize ) : void
Initialize ( IWindowFrameEventSink eventSink ) : void
InitializeBackend ( object frontend, ApplicationContext context ) : void
LayoutContent ( RectangleF frame ) : void
LayoutWindow ( ) : void
ObserveValue ( NSString keyPath, NSObject ofObject, NSDictionary change, IntPtr context ) : void
Present ( ) : void
SetDragSource ( string types, DragDropAction dragAction ) : void
SetDragTarget ( string types, DragDropAction dragAction ) : void
SetFocus ( ) : void
SetIcon ( ImageDescription icon ) : void
SetMainMenu ( IMenuBackend menu ) : void
SetMinSize ( Size s ) : void
SetPadding ( double left, double top, double right, double bottom ) : void
UpdateChildPlacement ( IWidgetBackend childBackend ) : void
WindowBackend ( ) : MonoMac.AppKit
WindowBackend ( IntPtr ptr ) : MonoMac.AppKit

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnBoundsChanged ( ) : void
OnClosed ( ) : void

Private Methods

Method Description
DisableVisibilityEvent ( WindowFrameEvent ev ) : void
EnableVisibilityEvent ( WindowFrameEvent ev ) : void
HandleDidResize ( object sender, EventArgs e ) : void
IBackend ( object eventId ) : void
IWindowBackend ( IWidgetBackend child ) : void
IWindowFrameBackend ( ) : bool
IWindowFrameBackend ( IWindowFrameBackend window ) : void
IWindowFrameBackend ( double x, double y ) : void
InternalShow ( ) : void
OnHidden ( ) : void
OnShouldClose ( NSObject ob ) : bool
OnShown ( ) : void
OnWillClose ( object sender, EventArgs args ) : void
RequestClose ( ) : bool
VisibilityEventsEnabled ( ) : bool

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DragStart() public method

public DragStart ( TransferDataSource data, DragDropAction dragAction, object dragImage, double xhot, double yhot ) : void
data TransferDataSource
dragAction DragDropAction
dragImage object
xhot double
yhot double
return void

GetMetrics() public method

public GetMetrics ( Size &minSize, Size &decorationSize ) : void
minSize System.Drawing.Size
decorationSize System.Drawing.Size
return void

Initialize() public method

public Initialize ( IWindowFrameEventSink eventSink ) : void
eventSink IWindowFrameEventSink
return void

InitializeBackend() public method

public InitializeBackend ( object frontend, ApplicationContext context ) : void
frontend object
context ApplicationContext
return void

LayoutContent() public method

public LayoutContent ( RectangleF frame ) : void
frame System.Drawing.RectangleF
return void

LayoutWindow() public method

public LayoutWindow ( ) : void
return void

ObserveValue() public method

public ObserveValue ( NSString keyPath, NSObject ofObject, NSDictionary change, IntPtr context ) : void
keyPath NSString
ofObject NSObject
change NSDictionary
context IntPtr
return void

OnBoundsChanged() protected method

protected OnBoundsChanged ( ) : void
return void

OnClosed() protected method

protected OnClosed ( ) : void
return void

Present() public method

public Present ( ) : void
return void

SetDragSource() public method

public SetDragSource ( string types, DragDropAction dragAction ) : void
types string
dragAction DragDropAction
return void

SetDragTarget() public method

public SetDragTarget ( string types, DragDropAction dragAction ) : void
types string
dragAction DragDropAction
return void

SetFocus() public method

public SetFocus ( ) : void
return void

SetIcon() public method

public SetIcon ( ImageDescription icon ) : void
icon ImageDescription
return void

SetMainMenu() public method

public SetMainMenu ( IMenuBackend menu ) : void
menu IMenuBackend
return void

SetMinSize() public method

public SetMinSize ( Size s ) : void
s Size
return void

SetPadding() public method

public SetPadding ( double left, double top, double right, double bottom ) : void
left double
top double
right double
bottom double
return void

UpdateChildPlacement() public method

public UpdateChildPlacement ( IWidgetBackend childBackend ) : void
childBackend IWidgetBackend
return void

WindowBackend() public method

public WindowBackend ( ) : MonoMac.AppKit
return MonoMac.AppKit

WindowBackend() public method

public WindowBackend ( IntPtr ptr ) : MonoMac.AppKit
ptr IntPtr
return MonoMac.AppKit