gdk-sharp2.10.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Controls the keyboard/mouse pointer grabs and a set of GdkScreens. objects purpose are two fold:To grab/ungrab keyboard focus and mouse pointerTo manage and provide information about the (s) available for this objects are the GDK representation of the X Display which can be described as a workstation consisting of a keyboard a pointing device (such as a mouse) and one or more screens. It is used to open and keep track of various objects currently instanciated by the application. It is also used to grab and release the keyboard and the mouse pointer.GLib.ObjectMethodGdk.DisplayOpens the default display specified by the command line arguments or the environment variables, setting it as the default display, it it was already set, then its just returned.A that is the default display just opened.Global.ParseArgs should be called first.
This method is internal and shouldn't be used in any application.
MethodGdk.DisplayOpens a display.
a - the name of the display to open
a , or null if the display could not be opened.To be addedMethodSystem.VoidAppends the given event onto the front of the event queue for display.
a to be appended onto the front of the event queue.
To be addedMethodSystem.VoidAdds a filter to be called when X ClientMessage events are received.
a representing the type of ClientMessage events to receive.
a to call to process the event.
To be addedMethodSystem.BooleanTest if the pointer is grabbed.a that is true if an active X pointer grab is in effect.To be addedMethodSystem.VoidEmits a short beep.To be addedMethodGdk.EventGets a copy of the first in the display's event queue, without removing the event from the queue. (Note that this function will not get more events from the windowing system. It only checks the events that have already been moved to the GDK event queue.)a copy of the first on the event queue, or null if no events are in the queue.To be addedMethodSystem.VoidCloses the connection windowing system for the given display, and cleans up associated resources.To be addedMethodGdk.ScreenReturns a screen object for one of the screens of the display.
a representing the screen number
a To be addedMethodGdk.DisplayPointerHooks
a the previous table
This function allows for hooking into the operation of
getting the current location of the pointer on a
particular display. This is only useful for such
low-level tools as an event recorder. Applications
should never have any reason to use this facility.
MethodSystem.VoidRelease any keyboard grab.
a representing a a timestap.
To be addedMethodSystem.VoidRelease any pointer grab.
a representing a a timestap.
To be addedMethodSystem.VoidTo be addedTo be addedConstructorInternal constructor
a This is not typically used by C# code.PropertyGdk.DisplayGet the default for the display. the default object for display.To be addedPropertySystem.StringThe name of the displayA representing the
display name.PropertySystem.UInt32Sets the double-click timeout.a , or null if there is no default display.Sets the double click time (two clicks within this
time interval count as a double click). Applications
should NOT set this, it is a global user-configured
setting.PropertyGdk.ScreenThe default screen..The screen represending the DefaultScreen.To be addedPropertyGdk.DeviceReturns the core pointer device for the given display.The core pointer for the display.To be addedPropertyGdk.EventTo be added.To be addedPropertySystem.Int32To be addeda To be addedEventGdk.ClosedHandlerThis event is emitted when the connect to the windowing system is closed.None.GLib.Signal("closed")MethodSystem.VoidGets the current location of the pointer and the
current modifier mask for a given display.
a
a
a
a NoneMethodGdk.WindowObtains the window underneath the mouse pointer.
a
a a Obtains the window underneath the mouse pointer,
returning the location of that window in win_x, win_y for
screen. Returns NULL if the window under the mouse pointer is
not known to GDK (for example, belongs to another application).PropertyGLib.GTypeGets the current location of the pointer and the current modifier mask for a given display.a To be addedMethodSystem.VoidDefault handler for the event.
a Override this method in a subclass to provide a default handler for the event.ConstructorProtected Constructor.
a Chain to this constructor if you have manually registered a native value for your subclass.System.ObsoleteMethodGdk.Device[]Returns the list of available input devices attached to the display.a To be addedConstructorTo be addedTo be addedMethodSystem.VoidTo be added
a
a
a
a To be addedMethodSystem.VoidTo be added
a
a To be addedMethodSystem.VoidTo be added
a
a
a To be addedMethodSystem.VoidTo be added
a
a
a To be addedPropertyGdk.WindowTo be addeda To be addedPropertySystem.UInt32To be addeda To be addedPropertySystem.UInt32To be addeda To be addedMethodSystem.VoidTo be added
a
a To be addedMethodSystem.BooleanTo be addeda To be addedMethodSystem.VoidTo be addedTo be addedMethodSystem.BooleanTo be addeda To be addedMethodSystem.BooleanTo be added
a a To be addedMethodSystem.VoidTo be added
a
a
a
a To be addedMethodSystem.BooleanTo be addeda To be addedMethodSystem.BooleanTo be addeda To be addedMethodSystem.Void
Screen to reposition pointer onto.
X coordinate of pointer destination.
Y coordinate of pointer destination.
Warps the mouse pointer to a coordinate on a Screen.When grabs are in effect, the pointer will only be moved as far as the grab allows. Warping the pointer creates events as if the mouse were instantaneously moved to the destination by the user.PropertySystem.BooleanIndicates if input shapes are supported.If input shapes are supported, , otherwise .Use to alter the input shape if support is indicated.PropertySystem.BooleanIndicates if shaped windows are supported.If shaped windows are supported, , otherwise .Use to alter the shape if support is indicated.