📄 windows.sgml
字号:
<!-- ##### FUNCTION gdk_window_set_child_input_shapes ##### --><para></para>@window: <!-- ##### FUNCTION gdk_window_merge_child_input_shapes ##### --><para></para>@window: <!-- ##### FUNCTION gdk_window_set_static_gravities ##### --><para></para>@window: @use_static: @Returns: <!-- ##### FUNCTION gdk_window_set_hints ##### --><para></para>@window: @x: @y: @min_width: @min_height: @max_width: @max_height: @flags: <!-- ##### FUNCTION gdk_window_set_title ##### --><para></para>@window: @title: <!-- ##### FUNCTION gdk_window_set_background ##### --><para></para>@window: @color: <!-- ##### FUNCTION gdk_window_set_back_pixmap ##### --><para></para>@window: @pixmap: @parent_relative: <!-- ##### MACRO GDK_PARENT_RELATIVE ##### --><para>A special value for <literal>GdkPixmap*</literal> variables, indicatingthat the background pixmap for a window should be inherited from the parentwindow.</para><!-- ##### FUNCTION gdk_window_set_cursor ##### --><para></para>@window: @cursor: <!-- ##### MACRO gdk_window_set_colormap ##### --><para>Deprecated equivalent to gdk_drawable_set_colormap()</para><!-- ##### FUNCTION gdk_window_get_user_data ##### --><para></para>@window: @data: <!-- ##### FUNCTION gdk_window_get_geometry ##### --><para></para>@window: @x: @y: @width: @height: @depth: <!-- ##### FUNCTION gdk_window_set_geometry_hints ##### --><para></para>@window: @geometry: @geom_mask: <!-- ##### FUNCTION gdk_window_set_icon_list ##### --><para></para>@window: @pixbufs: <!-- ##### FUNCTION gdk_window_set_modal_hint ##### --><para></para>@window: @modal: <!-- ##### FUNCTION gdk_window_set_type_hint ##### --><para></para>@window: @hint: <!-- ##### FUNCTION gdk_window_get_type_hint ##### --><para></para>@window: @Returns: <!-- ##### FUNCTION gdk_window_set_skip_taskbar_hint ##### --><para></para>@window: @skips_taskbar: <!-- ##### FUNCTION gdk_window_set_skip_pager_hint ##### --><para></para>@window: @skips_pager: <!-- ##### FUNCTION gdk_window_set_urgency_hint ##### --><para></para>@window: @urgent: <!-- ##### FUNCTION gdk_window_get_position ##### --><para></para>@window: @x: @y: <!-- ##### FUNCTION gdk_window_get_root_origin ##### --><para></para>@window: @x: @y: <!-- ##### FUNCTION gdk_window_get_frame_extents ##### --><para></para>@window: @rect: <!-- ##### MACRO gdk_window_get_size ##### --><para>Deprecated equivalent of gdk_drawable_get_size().</para><!-- ##### MACRO gdk_window_get_visual ##### --><para>Deprecated equivalent of gdk_drawable_get_visual().</para>@Returns: the #GdkVisual of the window<!-- ##### MACRO gdk_window_get_colormap ##### --><para>Deprecated equivalent of gdk_drawable_get_colormap().</para>@Returns: colormap for the window<!-- ##### MACRO gdk_window_get_type ##### --><para>Deprecated equivalent of gdk_drawable_get_type().</para>@Returns: type of drawable<!-- ##### FUNCTION gdk_window_get_origin ##### --><para></para>@window: @x: @y: @Returns: <!-- ##### FUNCTION gdk_window_get_deskrelative_origin ##### --><para></para>@window: @x: @y: @Returns: <!-- ##### FUNCTION gdk_window_get_pointer ##### --><para></para>@window: @x: @y: @mask: @Returns: <!-- ##### ENUM GdkModifierType ##### --><para>A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types. Typical modifier keys are Shift, Control, Meta, Super,Hyper, Alt, Compose, Apple, CapsLock or ShiftLock. </para><para>Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons.</para><para>Since 2.10, GDK recognizes which of the Meta, Super or Hyper keys are mapped to Mod2 - Mod5, and indicates this by setting %GDK_SUPER_MASK, %GDK_HYPER_MASKor %GDK_META_MASK in the state field of key events.</para>@GDK_SHIFT_MASK: the Shift key.@GDK_LOCK_MASK: a Lock key (depending on the modifier mapping of the X server this may either be CapsLock or ShiftLock).@GDK_CONTROL_MASK: the Control key.@GDK_MOD1_MASK: the fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier, but normally it is the Alt key).@GDK_MOD2_MASK: the fifth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).@GDK_MOD3_MASK: the sixth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).@GDK_MOD4_MASK: the seventh modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).@GDK_MOD5_MASK: the eighth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).@GDK_BUTTON1_MASK: the first mouse button.@GDK_BUTTON2_MASK: the second mouse button.@GDK_BUTTON3_MASK: the third mouse button.@GDK_BUTTON4_MASK: the fourth mouse button.@GDK_BUTTON5_MASK: the fifth mouse button.@GDK_SUPER_MASK: the Super modifier. Since 2.10@GDK_HYPER_MASK: the Hyper modifier. Since 2.10@GDK_META_MASK: the Meta modifier. Since 2.10@GDK_RELEASE_MASK: not used in GDK itself. GTK+ uses it to differentiate between (keyval, modifiers) pairs from key press and release events.@GDK_MODIFIER_MASK: a mask covering all modifier types.<!-- ##### FUNCTION gdk_window_get_parent ##### --><para></para>@window: @Returns: <!-- ##### FUNCTION gdk_window_get_toplevel ##### --><para></para>@window: @Returns: <!-- ##### FUNCTION gdk_window_get_children ##### --><para></para>@window: @Returns: <!-- ##### FUNCTION gdk_window_peek_children ##### --><para></para>@window: @Returns: <!-- ##### FUNCTION gdk_window_get_events ##### --><para></para>@window: @Returns: <!-- ##### FUNCTION gdk_window_set_events ##### --><para></para>@window: @event_mask: <!-- ##### FUNCTION gdk_window_set_icon ##### --><para></para>@window: @icon_window: @pixmap: @mask: <!-- ##### FUNCTION gdk_window_set_icon_name ##### --><para></para>@window: @name: <!-- ##### FUNCTION gdk_window_set_transient_for ##### --><para></para>@window: @parent: <!-- ##### FUNCTION gdk_window_set_role ##### --><para></para>@window: @role: <!-- ##### FUNCTION gdk_window_set_startup_id ##### --><para></para>@window: @startup_id: <!-- ##### FUNCTION gdk_window_set_group ##### --><para></para>@window: @leader: <!-- ##### FUNCTION gdk_window_get_group ##### --><para></para>@window: @Returns: <!-- ##### FUNCTION gdk_window_set_decorations ##### --><para></para>@window: @decorations: <!-- ##### FUNCTION gdk_window_get_decorations ##### --><para></para>@window: The window to get the decorations from@decorations: The window decorations will be written here@Returns: %TRUE if the window has decorations set, %FALSE otherwise.<!-- ##### ENUM GdkWMDecoration ##### --><para>These are hints originally defined by the Motif toolkit.The window manager can use them when determining how to decoratethe window. The hint must be set before mapping the window.</para>@GDK_DECOR_ALL: all decorations should be applied.@GDK_DECOR_BORDER: a frame should be drawn around the window.@GDK_DECOR_RESIZEH: the frame should have resize handles.@GDK_DECOR_TITLE: a titlebar should be placed above the window.@GDK_DECOR_MENU: a button for opening a menu should be included.@GDK_DECOR_MINIMIZE: a minimize button should be included.@GDK_DECOR_MAXIMIZE: a maximize button should be included.<!-- ##### FUNCTION gdk_window_set_functions ##### --><para></para>@window: @functions: <!-- ##### ENUM GdkWMFunction ##### --><para>These are hints originally defined by the Motif toolkit.The window manager can use them when determining the functions to offer for the window. The hint must be set before mapping the window.</para>@GDK_FUNC_ALL: all functions should be offered.@GDK_FUNC_RESIZE: the window should be resizable.@GDK_FUNC_MOVE: the window should be movable.@GDK_FUNC_MINIMIZE: the window should be minimizable.@GDK_FUNC_MAXIMIZE: the window should be maximizable.@GDK_FUNC_CLOSE: the window should be closable.<!-- ##### FUNCTION gdk_window_get_toplevels ##### --><para></para>@Returns: <!-- ##### FUNCTION gdk_get_default_root_window ##### --><para></para>@Returns: <!-- ##### STRUCT GdkPointerHooks ##### --><para>A table of pointers to functions for getting quantities related to the current pointer position. GDK has one global table of this type,which can be set using gdk_set_pointer_hooks().</para><para>This is only useful for such low-level tools as an event recorder. Applications should never have any reason to use this facility</para>@get_pointer: Obtains the current pointer position and modifier state. The position is given in coordinates relative to the window containing the pointer, which is returned in @window.@window_at_pointer: Obtains the window underneath the mouse pointer, returning the location of that window in @win_x, @win_y. Returns %NULL if the window under the mouse pointer is not known to GDK (for example, belongs to another application).<!-- ##### FUNCTION gdk_set_pointer_hooks ##### --><para></para>@new_hooks: @Returns: <!--Local variables:mode: sgmlsgml-parent-document: ("../gdk-docs.sgml" "book" "refsect2" "")End:-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -