📄 gdk-unused.sgml
字号:
</para>@cc: @red: @green: @blue: @failed: @Returns: <!-- ##### FUNCTION gdk_color_context_get_pixel ##### --><para></para>@cc: @red: @green: @blue: @failed: @Returns: <!-- ##### FUNCTION gdk_color_context_get_pixel_from_palette ##### --><para></para>@cc: @red: @green: @blue: @failed: @Returns: <!-- ##### FUNCTION gdk_color_context_get_pixels ##### --><para></para>@cc: @reds: @greens: @blues: @ncolors: @colors: @nallocated: <!-- ##### FUNCTION gdk_color_context_get_pixels_incremental ##### --><para></para>@cc: @reds: @greens: @blues: @ncolors: @used: @colors: @nallocated: <!-- ##### FUNCTION gdk_color_context_init_dither ##### --><para></para>@cc: <!-- ##### FUNCTION gdk_color_context_new ##### --><para></para>@visual: @colormap: @Returns: <!-- ##### FUNCTION gdk_color_context_new_mono ##### --><para></para>@visual: @colormap: @Returns: <!-- ##### FUNCTION gdk_color_context_query_color ##### --><para></para>@cc: @color: @Returns: <!-- ##### FUNCTION gdk_color_context_query_colors ##### --><para></para>@cc: @colors: @num_colors: @Returns: <!-- ##### VARIABLE gdk_core_pointer ##### --><para></para><!-- ##### VARIABLE gdk_display_name ##### --><para></para><!-- ##### FUNCTION gdk_display_set_sm_client_id ##### --><para></para>@display: @sm_client_id: <!-- ##### FUNCTION gdk_font_full_name_free ##### --><para>Frees a full font name obtained from gdk_font_full_name_get().</para>@name: a full font name.<!-- ##### FUNCTION gdk_font_full_name_get ##### --><para>Returns a comma-separated list of XLFDs for thefonts making up a given #GdkFont.</para>@font: a #GdkFont@Returns: a newly-allocated string containing a list of XLFDs, should be freed with gdk_font_full_name_free() when no longer needed.<!-- ##### FUNCTION gdk_get_client_window ##### --><para></para>@dpy: @win: @Returns: <!-- ##### FUNCTION gdk_get_default_display ##### --><para></para>@Returns: <!-- ##### FUNCTION gdk_get_default_screen ##### --><para></para>@Returns: <!-- ##### FUNCTION gdk_ic_attr_destroy ##### --><para>Destroys the given #GdkICAttr struct, freeing the allocated memory.</para>@attr: a #GdkICAttr struct.<!-- ##### FUNCTION gdk_ic_attr_new ##### --><para>Creates a new #GdkICAttr struct, with all fields set to 0.The #GdkICAttr struct should be freed with gdk_ic_attr_destroy() when nolonger needed.</para>@Returns: a new #GdkICAttr struct.<!-- ##### FUNCTION gdk_ic_destroy ##### --><para>Destroys the input context.</para>@ic: a #GdkIC.<!-- ##### FUNCTION gdk_ic_get_attr ##### --><para>Gets attributes of a #GdkIC.</para>@ic: a #GdkIC.@attr: a #GdkICAttr struct to contain the returned attributes.@mask: a #GdkICAttributesType mask specifying which attributes to get.@Returns: a #GdkICAttributesType mask specifying which of the attributeswere not retrieved succesfully.<!-- ##### FUNCTION gdk_ic_get_events ##### --><para>Returns the mask of events that the input method needs to function properly.This is typically called in a widget's realize method after creating the#GdkIC. The returned event mask is then combined with the widget'sown event mask and applied using gdk_window_set_events().</para>@ic: a #GdkIC.@Returns: the mask of events that the input method needs to functionproperly.<!-- ##### FUNCTION gdk_ic_get_style ##### --><para>Returns the pre-edit and status style of the #GdkIC.</para>@ic: a #GdkIC.@Returns: the pre-edit and status style of the #GdkIC.<!-- ##### FUNCTION gdk_ic_new ##### --><para>Creates a new #GdkIC using the given attributes.</para>@attr: a #GdkICAttr struct containing attributes to use for the input context.@mask: a #GdkICAttributesType mask specifying which of the attributes in @attrare set.@Returns: a new #GdkIC.<!-- ##### FUNCTION gdk_ic_set_attr ##### --><para>Sets attributes of the #GdkIC.</para><para>Note that the GDK_IC_STYLE and GDK_IC_CLIENT_WINDOW attributes can only be setwhen creating the #GdkIC, and the GDK_IC_FILTER_EVENTS attribute is read-only.</para>@ic: a #GdkIC.@attr: a #GdkICAttr struct containing attributes to use for the input context.@mask: a #GdkICAttributesType mask specifying which of the attributes in @attrare set.@Returns: a #GdkICAttributesType mask indicating which of the attributeswere not set successfully.<!-- ##### FUNCTION gdk_im_begin ##### --><para>Starts editing, using the given input context and #GdkWindow.This should be called when the widget receives the input focus, typically inthe widget's focus_in_event method.</para>@ic: a #GdkIC.@window: the #GdkWindow which will be receiving the key press events.<!-- ##### FUNCTION gdk_im_decide_style ##### --><para>Decides which input method style should be used, by comparing the styles givenin @supported_style with those of the available input method.</para>@supported_style: styles which are supported by the widget.@Returns: the best style in @supported_style that is also supported by theavailable input method.<!-- ##### FUNCTION gdk_im_end ##### --><para>Stops editing using the input method.This should be called when the widget loses the input focus, typically inthe widget's focus_out_event method.</para><!-- ##### FUNCTION gdk_im_ready ##### --><para>Checks if an input method is to be used for the current locale.If GTK+ has been compiled without support for input methods, or the currentlocale doesn't need an input method, then this will return FALSE.</para>@Returns: TRUE if an input method is available and should be used.<!-- ##### FUNCTION gdk_im_set_best_style ##### --><para>Sets the best pre-edit and/or status style which should be used.This will affect the style chosen in gdk_im_decide_style().</para><para>The order of the pre-edit styles is (from worst to best):%GDK_IM_PREEDIT_NONE, %GDK_IM_PREEDIT_NOTHING, %GDK_IM_PREEDIT_AREA,%GDK_IM_PREEDIT_POSITION, %GDK_IM_PREEDIT_CALLBACKS.The order of the status styles is:%GDK_IM_STATUS_NONE, %GDK_IM_STATUS_NOTHING, %GDK_IM_STATUS_AREA,%GDK_IM_STATUS_CALLBACKS.</para><para>So, for example, to set the best allowed pre-edit style to %GDK_IM_PREEDIT_AREAyou would do this:<informalexample><programlisting> gdk_im_set_best_style (GDK_IM_PREEDIT_AREA);</programlisting></informalexample>Or to set the best allowed pre-edit style to %GDK_IM_PREEDIT_POSITION and thebest allowed status style to %GDK_IM_STATUS_NOTHING you can do this:<informalexample><programlisting> gdk_im_set_best_style (GDK_IM_PREEDIT_POSITION | GDK_IM_STATUS_NOTHING);</programlisting></informalexample></para>@best_allowed_style: a bit-mask with the best pre-edit style and/or the beststatus style to use. If 0 is used, then the current bit-mask of all allowedstyles is returned.@Returns: a bit-mask of all the styles allowed.<!-- ##### FUNCTION gdk_input_list_devices ##### --><para>Lists all available input devices, along with theirconfiguration information.</para>@Returns: A #GList of #GdkDeviceInfo structures. This list is internal data of GTK+ and should not be modified or freed.<!-- ##### FUNCTION gdk_input_motion_events ##### --><para>Retrieves the motion history for a given device/window pair.</para>@window: a #GdkWindow.@deviceid: the device for which to retrieve motion history.@start: the start time.@stop: the stop time.@nevents_return: location to store the number of events returned.@Returns: a newly allocated array containing all the events from @start to @stop. This array should be freed with g_free() when you are finished using it.<!-- ##### FUNCTION gdk_input_set_axes ##### --><para>Sets the mapping of the axes (valuators) of a deviceonto the predefined valuator types that GTK+ understands.</para>@deviceid: the device to configure.@axes: an array of GdkAxisUse. This length of this array must match the number of axes for the device.<!-- ##### FUNCTION gdk_input_set_key ##### --><para>Sets the key event generated when a macro button is pressed.</para>@deviceid: the device to configure.@index_: the index of the macro button.@keyval: the key value for the #GdkKeypressEvent to generate. (a value of 0 means no event will be generated.)@modifiers: the modifier field for the generated #GdkKeyPressEvent.<!-- ##### FUNCTION gdk_input_set_mode ##### --><para>Enables or disables a device, and determines how thedevice maps onto the screen.</para>@deviceid: the device to configure.@mode: the new mode.@Returns: %TRUE if the device supports the given mode, otherwise %FALSE and the device's mode is unchanged.<!-- ##### FUNCTION gdk_input_set_source ##### --><para>Sets the source type for a device.</para>@deviceid: the device to configure@source: the new source type.<!-- ##### FUNCTION gdk_input_window_get_pointer ##### --><para>Returns information about the current position of the pointerwithin a window, including extended device information.Any of the return parameters may be %NULL, in which case,they will be ignored.</para>@window: a #GdkWindow.@deviceid: a device ID.@x: location to store current x postion.@y: location to store current y postion.@pressure: location to store current pressure.@xtilt: location to store current tilt in the x direction.@ytilt: location to store current tilt in the y direction.@mask: location to store the current modifier state.<!-- ##### VARIABLE gdk_leader_window ##### --><para></para><!-- ##### FUNCTION gdk_open_display ##### --><para></para>@display_name: @Returns: <!-- ##### FUNCTION gdk_pixbuf_set_as_cairo_source ##### --><para></para>@pixbuf: @cr: @pixbuf_x: @pixbuf_y: <!-- ##### VARIABLE gdk_progclass ##### --><para></para><!-- ##### VARIABLE gdk_screen ##### --><para></para><!-- ##### FUNCTION gdk_screen_close ##### --><para></para>@screen: <!-- ##### FUNCTION gdk_screen_get_window_at_pointer ##### --><para></para>@screen: @win_x: @win_y: @Returns: <!-- ##### FUNCTION gdk_screen_use_virtual_screen ##### --><para></para>@screen: @Returns: <!-- ##### VARIABLE gdk_selection_property ##### --><para></para><!-- ##### FUNCTION gdk_set_default_display ##### --><para></para>@display: <!-- ##### FUNCTION gdkx_visual_get_for_screen ##### --><para></para>@screen: @xvisualid: @Returns:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -