| Reference Manual - 1.0.1 | ||
| |||
No summary yet...
| Methods of IDirectFBWindow | ||
|---|---|---|
|
Retrieving information 获取信息 |
GetID |
Get the unique window ID.
获取唯一window 层的ID号. |
| GetPosition |
Get the current position of this window. 获取当前窗口的具体位置. | |
| GetSize |
Get the size of the window in pixels.
获取窗口大小的像素值. | |
|
Event handling 事件处理 | CreateEventBuffer |
Create an event buffer for this window and attach it.
为这个window 创建一个事件buffer |
| AttachEventBuffer |
Attach an existing event buffer to this window.
执行一个存在缓冲区的窗口. | |
| DetachEventBuffer |
Detach an event buffer from this window.
从窗口中释放缓冲区的处理事件. | |
| EnableEvents |
Enable specific events to be sent to the window.
让一些确定要执行的事件发送到窗口去. | |
| DisableEvents |
Disable specific events from being sent to the window.
禁止一些不要用的事件发送到窗口去. | |
|
Surface handling 表层的事件处理 | GetSurface |
Get an interface to the backing store surface.
得到一个背景层的接口. |
|
Appearance and Behaviour 外部与作用 | SetProperty |
Set property controlling appearance and behaviour of the window. 设置窗口的外部控件和状态控件属性. |
| GetProperty |
Get property controlling appearance and behaviour of the window. 获取窗口的外部控件和状态控件属性. | |
| RemoveProperty |
Remove property controlling appearance and behaviour of the window. 删除窗口的外部控件和状态控件属性 . | |
| SetOptions |
Set options controlling appearance and behaviour of the window. 设置窗口的外部控件和状态控件选项 . | |
| GetOptions |
Get options controlling appearance and behaviour of the window. 获取窗口的外部控件和状态控件选项 . | |
| SetColorKey |
Set the window color key. 设置窗口的色彩值 . | |
| SetColorKeyIndex |
Set the window color key (indexed). 设置窗口的色彩值(索引) . | |
| SetOpacity |
Set the window's global opacity factor.
设置窗口的不完全透明参数. | |
| SetOpaqueRegion |
Disable alpha channel blending for one region of the window.
禁用alpha通道,用于合成其它部分的窗口. | |
| GetOpacity |
Get the current opacity factor of this window.
获取当前不完全透明窗口的元素. | |
| SetCursorShape |
Bind a cursor shape to this window.
绑定window的光标形状 | |
|
Focus handling 集中处理 | RequestFocus |
Pass the focus to this window.
通过这个集中点到达这个窗口 |
| GrabKeyboard |
Grab the keyboard, i.e. all following keyboard events are sent to this window ignoring the focus.
获得键盘焦点,即按下键盘焦点触发的事件发送到窗口得到相应的处理 | |
| UngrabKeyboard |
Ungrab the keyboard, i.e. switch to standard key event dispatching. 释放键盘焦点,也就是改变键盘事件处理调整 | |
| GrabPointer |
Grab the pointer, i.e. all following mouse events are sent to this window ignoring the focus.
得到鼠标指针,也就是利用鼠标来控制窗口的触发事件 | |
| UngrabPointer |
Ungrab the pointer, i.e. switch to standard mouse event dispatching. 释放鼠标,也就是释放鼠标控制事件处理 | |
| GrabKey |
Grab a specific key, i.e. all following events of this key are sent to this window ignoring the focus. 获得特定的处理键, 也就是利用特定的键盘键来控制窗口的事件处理 | |
| UngrabKey |
Ungrab a specific key, i.e. switch to standard key event dispatching. 释放特定的处理键,也就是释放特定的处理键控制事件处理 | |
|
Position and Size 位置和大小 | Move |
Move the window by the specified distance. 移动窗口,使他有固定的距离. |
| MoveTo |
Move the window to the specified coordinates.
移动窗口到固定的坐标 | |
| Resize |
Resize the window.
改变窗口大小 | |
|
Stacking 堆置 | SetStackingClass |
Put the window into a specific stacking class.
把窗口叠加固定的空间去 |
| Raise |
Raise the window by one within the window stack.
提升本堆栈的一个这个窗口到上一级 | |
| Lower |
Lower the window by one within the window stack. 降低本堆栈的一个这个窗口到下一级 | |
| RaiseToTop |
Put the window on the top of the window stack.
把窗口移动到堆栈的最高地方去 | |
| LowerToBottom |
Send a window to the bottom of the window stack. 把窗口移动到堆栈的最低地方去 | |
| PutAtop |
Put a window on top of another window. 移动这个窗口到别一个窗口的最上面 | |
| PutBelow |
Put a window below another window.
移动这个窗口到别一个窗口的最低面 | |
|
Closing 关闭 | Close |
Send a close message to the window. 发一个关闭信息给窗口 |
| Destroy |
Destroys the window and sends a destruction message. 释放这个窗口和发出一个毁灭的讯息给窗口 | |
|
Geometry 几何 | SetBounds |
Set position and size in one step.
利用这一步可以设置固定位置和大小 |
|
Scaling 缩小比利 | ResizeSurface |
Resize the surface of a scalable window.
利用可延伸或剥除窗口来重新设定这个表层 |
| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License |