<HTML> <STYLE> <!-- A{textdecoration:none} --> </STYLE> <STYLE type="text/css"> A:link, A:visited, A:active { text-decoration: none; } </STYLE> <HEAD> <TITLE>IDirectFBWindow [DirectFB Reference Manual]</TITLE> </HEAD> <BODY bgcolor=#F8F4D8 link=#2369E0 vlink=#2369E0 text=#232323> <TABLE width=100% bgcolor=#C0B090 border=0 cellspacing=0 cellpadding=5> <TR><TD width=30%> <A href="http://www.directfb.org"><IMG border=0 src="dfb_logo-alpha.png"></A> </TD><TD align=right> <A href="index.html"><FONT size=+3 color=#203040>Reference Manual - 1.4.11</FONT></A> </TD></TR> <TR><TD colspan=2 align=center bgcolor=#284460> <TABLE border=0 cellspacing=0 cellpadding=0> <TR><TD nowrap align=right width=50%> <BIG><FONT color=#D0D0D0><A href="index.html"> <FONT color=#D0D0D0>DirectFB Interfaces</FONT></A> </FONT></BIG> </TD><TD nowrap align=left width=50%> <BIG><FONT color=#E09040> IDirectFBWindow</FONT></BIG> </TD></TR> </TABLE> </TD></TR> </TABLE> <P> <i>No summary yet...</i> </P><P> <CENTER><TABLE width=93% border=1 rules=groups cellpadding=4 cellspacing=2> <THEAD> <TR><TH colspan=3>Methods of IDirectFBWindow</TH></TR> </THEAD> <TBODY> <TR><TD valign=top> <B><SMALL>Retrieving information </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GetID.html"> <B>GetID</B></A> </TD><TD valign=top> Get the unique window ID. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GetPosition.html"> <B>GetPosition</B></A> </TD><TD valign=top> Get the current position of this window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GetSize.html"> <B>GetSize</B></A> </TD><TD valign=top> Get the size of the window in pixels. </TD></TR> <TR><TD valign=top> <B><SMALL>Close & Destroy </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_Close.html"> <B>Close</B></A> </TD><TD valign=top> Send a close message to the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_Destroy.html"> <B>Destroy</B></A> </TD><TD valign=top> Destroys the window and sends a destruction message. </TD></TR> <TR><TD valign=top> <B><SMALL>Surface & Scaling </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GetSurface.html"> <B>GetSurface</B></A> </TD><TD valign=top> Get an interface to the backing store surface. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_ResizeSurface.html"> <B>ResizeSurface</B></A> </TD><TD valign=top> Resize the surface of a scalable window. </TD></TR> <TR><TD valign=top> <B><SMALL>Events </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_CreateEventBuffer.html"> <B>CreateEventBuffer</B></A> </TD><TD valign=top> Create an event buffer for this window and attach it. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_AttachEventBuffer.html"> <B>AttachEventBuffer</B></A> </TD><TD valign=top> Attach an existing event buffer to this window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_DetachEventBuffer.html"> <B>DetachEventBuffer</B></A> </TD><TD valign=top> Detach an event buffer from this window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_EnableEvents.html"> <B>EnableEvents</B></A> </TD><TD valign=top> Enable specific events to be sent to the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_DisableEvents.html"> <B>DisableEvents</B></A> </TD><TD valign=top> Disable specific events from being sent to the window. </TD></TR> <TR><TD valign=top> <B><SMALL>Options </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetOptions.html"> <B>SetOptions</B></A> </TD><TD valign=top> Set options controlling appearance and behaviour of the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GetOptions.html"> <B>GetOptions</B></A> </TD><TD valign=top> Get options controlling appearance and behaviour of the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetColor.html"> <B>SetColor</B></A> </TD><TD valign=top> Set the window color, or colorises the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetColorKey.html"> <B>SetColorKey</B></A> </TD><TD valign=top> Set the window color key. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetColorKeyIndex.html"> <B>SetColorKeyIndex</B></A> </TD><TD valign=top> Set the window color key (indexed). </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetOpacity.html"> <B>SetOpacity</B></A> </TD><TD valign=top> Set the window's global opacity factor. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetOpaqueRegion.html"> <B>SetOpaqueRegion</B></A> </TD><TD valign=top> Disable alpha channel blending for one region of the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GetOpacity.html"> <B>GetOpacity</B></A> </TD><TD valign=top> Get the current opacity factor of this window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetCursorShape.html"> <B>SetCursorShape</B></A> </TD><TD valign=top> Bind a cursor shape to this window. </TD></TR> <TR><TD valign=top> <B><SMALL>Position and Size </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_Move.html"> <B>Move</B></A> </TD><TD valign=top> Move the window by the specified distance. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_MoveTo.html"> <B>MoveTo</B></A> </TD><TD valign=top> Move the window to the specified coordinates. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_Resize.html"> <B>Resize</B></A> </TD><TD valign=top> Resize the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetBounds.html"> <B>SetBounds</B></A> </TD><TD valign=top> Set position and size in one step. </TD></TR> <TR><TD valign=top> <B><SMALL>Stacking </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetStackingClass.html"> <B>SetStackingClass</B></A> </TD><TD valign=top> Put the window into a specific stacking class. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_Raise.html"> <B>Raise</B></A> </TD><TD valign=top> Raise the window by one within the window stack. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_Lower.html"> <B>Lower</B></A> </TD><TD valign=top> Lower the window by one within the window stack. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_RaiseToTop.html"> <B>RaiseToTop</B></A> </TD><TD valign=top> Put the window on the top of the window stack. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_LowerToBottom.html"> <B>LowerToBottom</B></A> </TD><TD valign=top> Send a window to the bottom of the window stack. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_PutAtop.html"> <B>PutAtop</B></A> </TD><TD valign=top> Put a window on top of another window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_PutBelow.html"> <B>PutBelow</B></A> </TD><TD valign=top> Put a window below another window. </TD></TR> <TR><TD valign=top> <B><SMALL>Binding </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_Bind.html"> <B>Bind</B></A> </TD><TD valign=top> Bind a window at the specified position of this window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_Unbind.html"> <B>Unbind</B></A> </TD><TD valign=top> Unbind a window from this window. </TD></TR> <TR><TD valign=top> <B><SMALL>Focus handling </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_RequestFocus.html"> <B>RequestFocus</B></A> </TD><TD valign=top> Pass the focus to this window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GrabKeyboard.html"> <B>GrabKeyboard</B></A> </TD><TD valign=top> Grab the keyboard, i.e. all following keyboard events are sent to this window ignoring the focus. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_UngrabKeyboard.html"> <B>UngrabKeyboard</B></A> </TD><TD valign=top> Ungrab the keyboard, i.e. switch to standard key event dispatching. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GrabPointer.html"> <B>GrabPointer</B></A> </TD><TD valign=top> Grab the pointer, i.e. all following mouse events are sent to this window ignoring the focus. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_UngrabPointer.html"> <B>UngrabPointer</B></A> </TD><TD valign=top> Ungrab the pointer, i.e. switch to standard mouse event dispatching. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GrabKey.html"> <B>GrabKey</B></A> </TD><TD valign=top> Grab a specific key, i.e. all following events of this key are sent to this window ignoring the focus. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_UngrabKey.html"> <B>UngrabKey</B></A> </TD><TD valign=top> Ungrab a specific key, i.e. switch to standard key event dispatching. </TD></TR> <TR><TD valign=top> <B><SMALL>Key selection </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetKeySelection.html"> <B>SetKeySelection</B></A> </TD><TD valign=top> Selects a mode for filtering keys while being focused. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GrabUnselectedKeys.html"> <B>GrabUnselectedKeys</B></A> </TD><TD valign=top> Grab all unselected (filtered out) keys. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_UngrabUnselectedKeys.html"> <B>UngrabUnselectedKeys</B></A> </TD><TD valign=top> Release the grab of unselected (filtered out) keys. </TD></TR> <TR><TD valign=top> <B><SMALL>Advanced Geometry </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetSrcGeometry.html"> <B>SetSrcGeometry</B></A> </TD><TD valign=top> Set area of surface to be shown in window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetDstGeometry.html"> <B>SetDstGeometry</B></A> </TD><TD valign=top> Set destination location of window within its bounds. </TD></TR> <TR><TD valign=top> <B><SMALL>Properties </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetProperty.html"> <B>SetProperty</B></A> </TD><TD valign=top> Set property controlling appearance and behaviour of the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GetProperty.html"> <B>GetProperty</B></A> </TD><TD valign=top> Get property controlling appearance and behaviour of the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_RemoveProperty.html"> <B>RemoveProperty</B></A> </TD><TD valign=top> Remove property controlling appearance and behaviour of the window. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetRotation.html"> <B>SetRotation</B></A> </TD><TD valign=top> Set window rotation. </TD></TR> <TR><TD valign=top> <B><SMALL>Association </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetAssociation.html"> <B>SetAssociation</B></A> </TD><TD valign=top> Change the window association. </TD></TR> <TR><TD valign=top> <B><SMALL>Application ID </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetApplicationID.html"> <B>SetApplicationID</B></A> </TD><TD valign=top> Set application ID. </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_GetApplicationID.html"> <B>GetApplicationID</B></A> </TD><TD valign=top> Get current application ID. </TD></TR> <TR><TD valign=top> <B><SMALL>Updates </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_BeginUpdates.html"> <B>BeginUpdates</B></A> </TD><TD valign=top> Signal start of window content updates. </TD></TR> <TR><TD valign=top> <B><SMALL>Events </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SendEvent.html"> <B>SendEvent</B></A> </TD><TD valign=top> Send event </TD></TR> <TR><TD valign=top> <B><SMALL>Cursor </SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetCursorFlags.html"> <B>SetCursorFlags</B></A> </TD><TD valign=top> Set cursor flags (active when in focus). </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetCursorResolution.html"> <B>SetCursorResolution</B></A> </TD><TD valign=top> Set cursor resolution (coordinate space for cursor within window). </TD></TR> <TR><TD valign=top> <B><SMALL></SMALL></B> </TD><TD valign=top> <A href="IDirectFBWindow_SetCursorPosition.html"> <B>SetCursorPosition</B></A> </TD><TD valign=top> Set cursor position within window coordinates (surface or cursor resolution). </TD></TR> </TBODY> </TABLE></CENTER> </P> <TABLE width=100% bgcolor=#E0E8F0 border=0 cellspacing=1 cellpadding=3> <TR><TD width=100> <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"> <img alt="Creative Commons License" style="border-width:0" border="0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" /> </a> </TD><TD> This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"> Creative Commons Attribution-Share Alike 3.0 License</a> </TD></TR> </TABLE> </BODY> </HTML>