C# Class Xwt.GtkBackend.WidgetBackend

Show file Open project: mono/xwt Class Usage Examples

Private Properties

Property Type Description
ConvertDragAction DragDropAction
ConvertDragAction Gdk.DragAction
DoDragDataReceived bool
DoDragDrop bool
DoDragMotion bool
DoDragaDataDelete void
FinishDrag void
HandleButtonPressEvent void
HandleButtonReleaseEvent void
HandleDragBegin void
HandleDragDataDelete void
HandleDragFailed void
HandleEnterNotifyEvent void
HandleImCommitEvent void
HandleKeyPressEvent void
HandleKeyReleaseEvent void
HandleLeaveNotifyEvent void
HandleMotionNotifyEvent void
HandleScrollEvent void
HandleTextInputKeyPressEvent void
HandleTextInputKeyReleaseEvent void
HandleTextInserted void
HandleWidgetBoundsChanged void
HandleWidgetDragBegin void
HandleWidgetDragDataGet void
HandleWidgetDragDataReceived void
HandleWidgetDragDrop void
HandleWidgetDragEnd void
HandleWidgetDragLeave void
HandleWidgetDragMotion void
HandleWidgetFocusInEvent void
HandleWidgetFocusOutEvent void
IBackend void
IWidgetBackend void
MarkDestroyed void
NeedsAlignmentWrapper bool
QueryDragData void
RunWhenRealized void
SubscribeCursorEnterLeaveEvent void

Public Methods

Method Description
ConvertToScreenCoordinates ( System.Point widgetCoordinates ) : System.Point
DisableEvent ( object eventId ) : void
Dispose ( ) : void
DragStart ( DragStartData sdata ) : void
EnableEvent ( object eventId ) : void
GetWidget ( IWidgetBackend w ) : Gtk.Widget
GetWidgetWithPlacement ( IWidgetBackend childBackend ) : Gtk.Widget
Initialize ( ) : void
RemoveChildPlacement ( Gtk w ) : void
SetChildPlacement ( IWidgetBackend childBackend ) : void
SetCursor ( CursorType cursor ) : void
SetDragSource ( TransferDataType types, DragDropAction dragAction ) : void
SetDragTarget ( TransferDataType types, DragDropAction dragAction ) : void
SetFocus ( ) : void
SetSizeConstraints ( SizeConstraint widthConstraint, SizeConstraint heightConstraint ) : void
UpdateChildPlacement ( IWidgetBackend childBackend ) : void
UpdateLayout ( ) : void

Protected Methods

Method Description
AllocEventBox ( bool visibleWindow = false ) : void
Dispose ( bool disposing ) : void
GetButtonPressEventArgs ( Gtk args ) : ButtonEventArgs
GetButtonReleaseEventArgs ( Gtk args ) : ButtonEventArgs
GetKeyPressEventArgs ( Gtk args ) : KeyEventArgs
GetKeyReleaseEventArgs ( Gtk args ) : KeyEventArgs
GetMouseMovedEventArgs ( Gtk args ) : MouseMovedEventArgs
GetScrollEventArgs ( Gtk args ) : MouseScrolledEventArgs
OnEnterNotifyEvent ( Gtk args ) : void
OnSetDragSource ( Gdk modifierType, Gtk table, Gdk actions ) : void
OnSetDragStatus ( Gdk context, int x, int y, uint time, Gdk action ) : void
OnSetDragTarget ( Gtk table, Gdk actions ) : void

Private Methods

Method Description
ConvertDragAction ( Gdk dragAction ) : DragDropAction
ConvertDragAction ( DragDropAction dragAction ) : Gdk.DragAction
DoDragDataReceived ( Gdk context, int x, int y, Gtk selectionData, uint info, uint time ) : bool
DoDragDrop ( Gdk context, int x, int y, uint time ) : bool
DoDragMotion ( Gdk context, int x, int y, uint time ) : bool
DoDragaDataDelete ( ) : void
FinishDrag ( bool delete ) : void
HandleButtonPressEvent ( object o, Gtk args ) : void
HandleButtonReleaseEvent ( object o, Gtk args ) : void
HandleDragBegin ( object o, Gtk args ) : void
HandleDragDataDelete ( object o, Gtk args ) : void
HandleDragFailed ( object o, Gtk args ) : void
HandleEnterNotifyEvent ( object o, Gtk args ) : void
HandleImCommitEvent ( object o, Gtk args ) : void
HandleKeyPressEvent ( object o, Gtk args ) : void
HandleKeyReleaseEvent ( object o, Gtk args ) : void
HandleLeaveNotifyEvent ( object o, Gtk args ) : void
HandleMotionNotifyEvent ( object o, Gtk args ) : void
HandleScrollEvent ( object o, Gtk args ) : void
HandleTextInputKeyPressEvent ( object o, Gtk args ) : void
HandleTextInputKeyReleaseEvent ( object o, Gtk args ) : void
HandleTextInserted ( object o, Gtk args ) : void
HandleWidgetBoundsChanged ( object o, Gtk args ) : void
HandleWidgetDragBegin ( object o, Gtk args ) : void
HandleWidgetDragDataGet ( object o, Gtk args ) : void
HandleWidgetDragDataReceived ( object o, Gtk args ) : void
HandleWidgetDragDrop ( object o, Gtk args ) : void
HandleWidgetDragEnd ( object o, Gtk args ) : void
HandleWidgetDragLeave ( object o, Gtk args ) : void
HandleWidgetDragMotion ( object o, Gtk args ) : void
HandleWidgetFocusInEvent ( object o, EventArgs args ) : void
HandleWidgetFocusOutEvent ( object o, Gtk args ) : void
IBackend ( object frontend, Xwt.Backends.ApplicationContext context ) : void
IWidgetBackend ( IWidgetEventSink sink ) : void
MarkDestroyed ( Widget w ) : void
NeedsAlignmentWrapper ( Widget fw ) : bool
QueryDragData ( Gdk ctx, uint time, bool isMotionEvent ) : void
RunWhenRealized ( Action a ) : void
SubscribeCursorEnterLeaveEvent ( ) : void

Method Details

AllocEventBox() protected method

protected AllocEventBox ( bool visibleWindow = false ) : void
visibleWindow bool
return void

ConvertToScreenCoordinates() public method

public ConvertToScreenCoordinates ( System.Point widgetCoordinates ) : System.Point
widgetCoordinates System.Point
return System.Point

DisableEvent() public method

public DisableEvent ( object eventId ) : void
eventId object
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

DragStart() public method

public DragStart ( DragStartData sdata ) : void
sdata Xwt.Backends.DragStartData
return void

EnableEvent() public method

public EnableEvent ( object eventId ) : void
eventId object
return void

GetButtonPressEventArgs() protected method

protected GetButtonPressEventArgs ( Gtk args ) : ButtonEventArgs
args Gtk
return ButtonEventArgs

GetButtonReleaseEventArgs() protected method

protected GetButtonReleaseEventArgs ( Gtk args ) : ButtonEventArgs
args Gtk
return ButtonEventArgs

GetKeyPressEventArgs() protected method

protected GetKeyPressEventArgs ( Gtk args ) : KeyEventArgs
args Gtk
return KeyEventArgs

GetKeyReleaseEventArgs() protected method

protected GetKeyReleaseEventArgs ( Gtk args ) : KeyEventArgs
args Gtk
return KeyEventArgs

GetMouseMovedEventArgs() protected method

protected GetMouseMovedEventArgs ( Gtk args ) : MouseMovedEventArgs
args Gtk
return MouseMovedEventArgs

GetScrollEventArgs() protected method

protected GetScrollEventArgs ( Gtk args ) : MouseScrolledEventArgs
args Gtk
return MouseScrolledEventArgs

GetWidget() public static method

public static GetWidget ( IWidgetBackend w ) : Gtk.Widget
w IWidgetBackend
return Gtk.Widget

GetWidgetWithPlacement() public static method

public static GetWidgetWithPlacement ( IWidgetBackend childBackend ) : Gtk.Widget
childBackend IWidgetBackend
return Gtk.Widget

Initialize() public method

public Initialize ( ) : void
return void

OnEnterNotifyEvent() protected method

protected OnEnterNotifyEvent ( Gtk args ) : void
args Gtk
return void

OnSetDragSource() protected method

protected OnSetDragSource ( Gdk modifierType, Gtk table, Gdk actions ) : void
modifierType Gdk
table Gtk
actions Gdk
return void

OnSetDragStatus() protected method

protected OnSetDragStatus ( Gdk context, int x, int y, uint time, Gdk action ) : void
context Gdk
x int
y int
time uint
action Gdk
return void

OnSetDragTarget() protected method

protected OnSetDragTarget ( Gtk table, Gdk actions ) : void
table Gtk
actions Gdk
return void

RemoveChildPlacement() public static method

public static RemoveChildPlacement ( Gtk w ) : void
w Gtk
return void

SetChildPlacement() public static method

public static SetChildPlacement ( IWidgetBackend childBackend ) : void
childBackend IWidgetBackend
return void

SetCursor() public method

public SetCursor ( CursorType cursor ) : void
cursor CursorType
return void

SetDragSource() public method

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

SetDragTarget() public method

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

SetFocus() public method

public SetFocus ( ) : void
return void

SetSizeConstraints() public method

public SetSizeConstraints ( SizeConstraint widthConstraint, SizeConstraint heightConstraint ) : void
widthConstraint SizeConstraint
heightConstraint SizeConstraint
return void

UpdateChildPlacement() public method

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

UpdateLayout() public method

public UpdateLayout ( ) : void
return void