2001-03-07 14:49:21 +00:00
|
|
|
<!-- ##### SECTION ./tmpl/color_contexts.sgml:Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
The #GdkColorContext type is used for allocating groups of colors.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
It is now deprecated in favor of the gdk_colormap_*() functions described in
|
|
|
|
the <link linkend="gdk-Colormaps-and-Colors">Colormaps and Colors</link>
|
|
|
|
section.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/color_contexts.sgml:See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/color_contexts.sgml:Short_Description ##### -->
|
|
|
|
routines for allocating colors (deprecated).
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/color_contexts.sgml:Title ##### -->
|
|
|
|
Color Contexts
|
|
|
|
|
|
|
|
|
2001-03-23 22:21:06 +00:00
|
|
|
<!-- ##### SECTION ./tmpl/input_contexts.sgml:Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
A #GdkIC input context is used for each user interface element which supports
|
|
|
|
internationalized text input. See the
|
|
|
|
<link linkend="gdk-Input-Methods">Input Methods</link> section for an overview
|
|
|
|
of how internationalized text input works in GTK+.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/input_contexts.sgml:See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/input_contexts.sgml:Short_Description ##### -->
|
|
|
|
internationalized text input properties.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/input_contexts.sgml:Title ##### -->
|
|
|
|
Input Contexts
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/input_methods.sgml:Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
Input Methods provide a way for complex character sets to be used in GTK+.
|
|
|
|
Languages such as Chinese, Japanese, and Korean (often abbreviated to CJK)
|
|
|
|
use a large number of ideographs, making it impossible to support all
|
|
|
|
characters with a simple keyboard. Instead, text is usually
|
|
|
|
<emphasis>pre-edited</emphasis> using a phonetic alphabet and then
|
|
|
|
<emphasis>composed</emphasis> to form the ideographs.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
GTK+ makes use of the input method mechanism provided by the X Windows
|
|
|
|
platform. When a GTK+ application is started, it opens a connection to the
|
|
|
|
input method appropriate for the current locale (if any).
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Widgets which handle textual input, such as #GtkEntry, need to do a number of
|
|
|
|
things to support internationalized text input:
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>When the widget is realized:</term>
|
|
|
|
<listitem><para>Check if an input method is being used with gdk_im_ready().
|
|
|
|
If it is, create a new <link linkend="gdk-Input-Contexts">Input Context</link>
|
|
|
|
using gdk_ic_new(). Find out which events the
|
|
|
|
<link linkend="gdk-Input-Contexts">Input Context</link> needs to receive
|
|
|
|
with gdk_ic_get_events(), and make sure that the widget's window receives
|
|
|
|
these events using gdk_window_set_events().
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>When the widget's size, state or cursor position changes:</term>
|
|
|
|
<listitem><para>
|
|
|
|
Update the appropriate
|
|
|
|
<link linkend="gdk-Input-Contexts">Input Context</link> attributes
|
|
|
|
using gdk_ic_set_attr().
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>When the keyboard focus enters or leaves the widget:</term>
|
|
|
|
<listitem><para>
|
|
|
|
Call gdk_im_begin() or gdk_im_end() to start or finish editing the text.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>When the widget receives a key_press event:</term>
|
|
|
|
<listitem><para>
|
|
|
|
The <structfield>string</structfield> and <structfield>length</structfield>
|
|
|
|
fields of the #GdkEventKey struct should be used to insert the composed text
|
|
|
|
into the widget.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>When the widget is unrealized:</term>
|
|
|
|
<listitem><para>
|
|
|
|
Destroy the <link linkend="gdk-Input-Contexts">Input Context</link>.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
See the XLib reference manual for more detailed information on input methods,
|
|
|
|
and the #GtkEntry and #GtkText widgets for some example code.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/input_methods.sgml:See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><link linkend="gdk-Input-Contexts">Input Contexts</link></term>
|
|
|
|
<listitem><para>
|
|
|
|
Used for each widget that handles internationalized text input using the
|
|
|
|
global input method.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/input_methods.sgml:Short_Description ##### -->
|
|
|
|
support for internationalized text input.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION ./tmpl/input_methods.sgml:Title ##### -->
|
|
|
|
Input Methods
|
|
|
|
|
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
<!-- ##### MACRO GDK_CORE_POINTER ##### -->
|
|
|
|
<para>
|
|
|
|
This macro contains an integer value representing
|
|
|
|
the device ID for the core pointer device.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
<!-- ##### MACRO GDK_GC_X11 ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@object:
|
|
|
|
|
|
|
|
<!-- ##### MACRO GDK_GC_X11_GET_CLASS ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@obj:
|
|
|
|
|
2001-10-13 05:52:14 +00:00
|
|
|
<!-- ##### MACRO GDK_WINDOWING_NANOX ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-03-07 14:49:21 +00:00
|
|
|
<!-- ##### STRUCT GdkColorContext ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@visual:
|
|
|
|
@colormap:
|
|
|
|
@num_colors:
|
|
|
|
@max_colors:
|
|
|
|
@num_allocated:
|
|
|
|
@mode:
|
|
|
|
@need_to_free_colormap:
|
|
|
|
@std_cmap_atom:
|
|
|
|
@clut:
|
|
|
|
@cmap:
|
|
|
|
@color_hash:
|
|
|
|
@palette:
|
|
|
|
@num_palette:
|
|
|
|
@fast_dither:
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GdkColorContextDither ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@fast_rgb:
|
|
|
|
@fast_err:
|
|
|
|
@fast_erg:
|
|
|
|
@fast_erb:
|
|
|
|
|
|
|
|
<!-- ##### ENUM GdkColorContextMode ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@GDK_CC_MODE_UNDEFINED:
|
|
|
|
@GDK_CC_MODE_BW:
|
|
|
|
@GDK_CC_MODE_STD_CMAP:
|
|
|
|
@GDK_CC_MODE_TRUE:
|
|
|
|
@GDK_CC_MODE_MY_GRAY:
|
|
|
|
@GDK_CC_MODE_PALETTE:
|
|
|
|
|
2001-12-23 22:55:17 +00:00
|
|
|
<!-- ##### STRUCT GdkDeviceClass ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2000-09-07 18:17:06 +00:00
|
|
|
<!-- ##### STRUCT GdkDeviceInfo ##### -->
|
|
|
|
<para>
|
|
|
|
The #GdkDeviceInfo structure contains information about a
|
|
|
|
device. It has the following fields:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@deviceid: a unique integer ID for this device.
|
|
|
|
@name: the human-readable name for the device.
|
|
|
|
@source: the type of device.
|
|
|
|
@mode: a value indicating whether the device is enabled and
|
|
|
|
how the device coordinates map to the screen.
|
|
|
|
@has_cursor: if %TRUE, a cursor will be displayed indicating
|
|
|
|
the current on-screen location to the user. Otherwise,
|
|
|
|
the application is responsible for drawing a cursor
|
|
|
|
itself.
|
|
|
|
@num_axes: the number of axes for this device.
|
|
|
|
@axes: a pointer to an array of GdkAxisUse values which
|
|
|
|
give the mapping of axes onto the possible valuators
|
|
|
|
for a GDK device.
|
|
|
|
@num_keys: the number of macro buttons.
|
|
|
|
@keys: a pointer to an array of #GdkDeviceKey structures
|
|
|
|
which describe what key press events are generated
|
|
|
|
for each macro button.
|
|
|
|
|
2001-12-23 22:55:17 +00:00
|
|
|
<!-- ##### STRUCT GdkDrawableClass ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GdkGCClass ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-03-15 19:02:23 +00:00
|
|
|
<!-- ##### STRUCT GdkIC ##### -->
|
|
|
|
<para>
|
|
|
|
The #GdkIC struct is an opaque structure representing an input context
|
|
|
|
for use with the global <link linkend="gdk-Input-Methods">Input Method</link>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GdkICAttr ##### -->
|
|
|
|
<para>
|
|
|
|
The #GdkICAttr struct is used when getting and setting attributes of the
|
|
|
|
input context. It is used together with a #GdkICAttributesType mask which
|
|
|
|
specifies which of the fields are being set or returned.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@style: the pre-edit and status style. This attribute is required when
|
|
|
|
creating the #GdkIC, and cannot be changed.
|
|
|
|
@client_window: the #GdkWindow in which the input method will display its
|
|
|
|
pre-edit and status areas or create subwindows.
|
|
|
|
The preedit_area and status_area attributes are specified relative to this
|
|
|
|
window. This attribute is required when creating the #GdkIC, and cannot be
|
|
|
|
changed.
|
|
|
|
@focus_window: the #GdkWindow which is to be used when editing text.
|
|
|
|
gdk_im_begin() sets this attribute before starting the text input process,
|
|
|
|
so it is normally not necessary to set it elsewhere.
|
|
|
|
@filter_events: the mask of events that the input method requires.
|
|
|
|
See the gdk_ic_get_events() function. This attribute is read-only and is
|
|
|
|
never changed.
|
|
|
|
@spot_location: the position of the insertion cursor, for use with the
|
|
|
|
%GDK_IM_PREEDIT_POSITION style. The y coordinate specifies the baseline of
|
|
|
|
the text.
|
|
|
|
@line_spacing: the line spacing to be used in the pre-edit and status areas
|
|
|
|
when displaying multi-line text.
|
|
|
|
@cursor: the cursor to use in the input method's windows.
|
|
|
|
If this attribute isn't set it is determined by the input method.
|
|
|
|
@preedit_fontset: the font to use for the pre-edit area.
|
|
|
|
If this attribute isn't set it is determined by the input method.
|
|
|
|
@preedit_area: the area in which the input method will display pre-editing
|
|
|
|
data, used for the %GDK_IM_PREEDIT_POSITION and %GDK_IM_PREEDIT_AREA styles.
|
|
|
|
@preedit_area_needed: the area that the input method requests for displaying
|
|
|
|
pre-editing data, used for the %GDK_IM_PREEDIT_POSITION and
|
|
|
|
%GDK_IM_PREEDIT_AREA styles.
|
|
|
|
@preedit_foreground: the foreground color to use for the pre-edit area.
|
|
|
|
This color must already be allocated in the preedit_colormap.
|
|
|
|
If this attribute isn't set it is determined by the input method.
|
|
|
|
@preedit_background: the background color to use for the pre-edit area.
|
|
|
|
This color must already be allocated in the preedit_colormap.
|
|
|
|
If this attribute isn't set it is determined by the input method.
|
|
|
|
@preedit_pixmap: the background pixmap to use for the pre-edit area.
|
|
|
|
If this attribute isn't set it is determined by the input method.
|
|
|
|
@preedit_colormap: the colormap the input method should use to allocate colors.
|
|
|
|
The default value is the colormap of client_window.
|
|
|
|
@status_fontset: the font to use for the status area.
|
|
|
|
If this attribute isn't set it is determined by the input method.
|
|
|
|
@status_area: the are that the input method will display status information in.
|
|
|
|
This is used for the %GDK_IM_STATUS_AREA style.
|
|
|
|
@status_area_needed: the size that the input method requests for displaying
|
|
|
|
status information, for the %GDK_IM_STATUS_AREA style.
|
|
|
|
@status_foreground: the foreground color to use for the status area.
|
|
|
|
This color must already be allocated in the status_colormap.
|
|
|
|
If this attribute isn't set it is determined by the input method.
|
|
|
|
@status_background: the background color to use for the status area.
|
|
|
|
This color must already be allocated in the status_colormap.
|
|
|
|
If this attribute isn't set it is determined by the input method.
|
|
|
|
@status_pixmap: the background pixmap to use for the status area.
|
|
|
|
If this attribute isn't set it is determined by the input method.
|
|
|
|
@status_colormap: the colormap the input method should use to allocate colors.
|
|
|
|
The default value is the colormap of client_window.
|
|
|
|
|
|
|
|
<!-- ##### ENUM GdkICAttributesType ##### -->
|
|
|
|
<para>
|
|
|
|
The #GdkICAttributesType contains a set of bit-flags which are used to
|
|
|
|
specify which of the attributes in a #GdkICAttr are being set or returned.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
It also contains several combinations of the flags which specify required
|
|
|
|
attributes for the various styles:
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>%GDK_IC_ALL_REQ:</term>
|
|
|
|
<listitem><para>
|
|
|
|
the set of attributes required for all styles.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>%GDK_IC_PREEDIT_AREA_REQ:</term>
|
|
|
|
<listitem><para>
|
|
|
|
the set of additional attributes required for the
|
|
|
|
%GDK_IM_PREEDIT_AREA pre-edit style.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>%GDK_IC_PREEDIT_POSITION_REQ:</term>
|
|
|
|
<listitem><para>
|
|
|
|
the set of additional attributes required for the
|
|
|
|
%GDK_IM_PREEDIT_POSITION pre-edit style.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>%GDK_IC_STATUS_AREA_REQ:</term>
|
|
|
|
<listitem><para>
|
|
|
|
the set of additional attributes required for the
|
|
|
|
%GDK_IM_STATUS_AREA status style.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@GDK_IC_STYLE:
|
|
|
|
@GDK_IC_CLIENT_WINDOW:
|
|
|
|
@GDK_IC_FOCUS_WINDOW:
|
|
|
|
@GDK_IC_FILTER_EVENTS:
|
|
|
|
@GDK_IC_SPOT_LOCATION:
|
|
|
|
@GDK_IC_LINE_SPACING:
|
|
|
|
@GDK_IC_CURSOR:
|
|
|
|
@GDK_IC_PREEDIT_FONTSET:
|
|
|
|
@GDK_IC_PREEDIT_AREA:
|
|
|
|
@GDK_IC_PREEDIT_AREA_NEEDED:
|
|
|
|
@GDK_IC_PREEDIT_FOREGROUND:
|
|
|
|
@GDK_IC_PREEDIT_BACKGROUND:
|
|
|
|
@GDK_IC_PREEDIT_PIXMAP:
|
|
|
|
@GDK_IC_PREEDIT_COLORMAP:
|
|
|
|
@GDK_IC_STATUS_FONTSET:
|
|
|
|
@GDK_IC_STATUS_AREA:
|
|
|
|
@GDK_IC_STATUS_AREA_NEEDED:
|
|
|
|
@GDK_IC_STATUS_FOREGROUND:
|
|
|
|
@GDK_IC_STATUS_BACKGROUND:
|
|
|
|
@GDK_IC_STATUS_PIXMAP:
|
|
|
|
@GDK_IC_STATUS_COLORMAP:
|
|
|
|
@GDK_IC_ALL_REQ:
|
|
|
|
@GDK_IC_PREEDIT_AREA_REQ:
|
|
|
|
@GDK_IC_PREEDIT_POSITION_REQ:
|
|
|
|
@GDK_IC_STATUS_AREA_REQ:
|
|
|
|
|
|
|
|
<!-- ##### ENUM GdkIMStyle ##### -->
|
|
|
|
<para>
|
|
|
|
A set of bit-flags used to specify the input method styles which are supported
|
|
|
|
or which are currently in use. The flags can be divided into 2 groups, the
|
|
|
|
pre-edit flags and the status flags.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The pre-edit flags specify how pre-editing data is displayed.
|
|
|
|
For example, this could display the text being typed in the phonetic
|
|
|
|
alphabet before it is composed and inserted as an ideograph.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The status flags specify how status information is displayed.
|
|
|
|
The status information can be thought of as an extension of the
|
|
|
|
standard keyboard mode indicators, such as the Caps Lock indicator.
|
|
|
|
</para>
|
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
The %GDK_IM_PREEDIT_CALLBACKS and %GDK_IM_STATUS_CALLBACKS styles are not
|
|
|
|
currently supported in GTK+.
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
|
|
|
@GDK_IM_PREEDIT_AREA: The application provides the input method with an area
|
|
|
|
in which to perform <emphasis>off-the-spot</emphasis> pre-editing.
|
|
|
|
@GDK_IM_PREEDIT_CALLBACKS: The application registers a number of callback
|
|
|
|
functions which are used to display pre-editing data.
|
|
|
|
@GDK_IM_PREEDIT_POSITION: The application provides the input method with the
|
|
|
|
position of the insertion cursor, for <emphasis>over-the-spot</emphasis>
|
|
|
|
pre-editing. The input method creates its own window over the widget to
|
|
|
|
display the pre-editing data.
|
|
|
|
@GDK_IM_PREEDIT_NOTHING: The input method uses the root X window to perform
|
|
|
|
pre-editing, so the application does not need to do anything.
|
|
|
|
@GDK_IM_PREEDIT_NONE: No pre-editing is done by the input method, or no
|
|
|
|
pre-editing data needs to be displayed.
|
|
|
|
@GDK_IM_PREEDIT_MASK: A bit-mask containing all the pre-edit flags.
|
|
|
|
@GDK_IM_STATUS_AREA: The application provides the input method with an area
|
|
|
|
in which to display status information.
|
|
|
|
@GDK_IM_STATUS_CALLBACKS: The applications registers a number of callback
|
|
|
|
functions which are used to display status information.
|
|
|
|
@GDK_IM_STATUS_NOTHING: The input method uses the root X window to display
|
|
|
|
status information, so the application does not need to do anything.
|
|
|
|
@GDK_IM_STATUS_NONE: The input method does not display status information.
|
|
|
|
@GDK_IM_STATUS_MASK: A bit-mask containing all the status flags.
|
|
|
|
|
2001-12-23 22:55:17 +00:00
|
|
|
<!-- ##### STRUCT GdkKeyInfo ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@keycode:
|
|
|
|
@group:
|
|
|
|
@level:
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GdkKeymapClass ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
<!-- ##### ENUM GdkPixbufAlphaMode ##### -->
|
2000-09-07 18:17:06 +00:00
|
|
|
<para>
|
2001-02-12 17:50:13 +00:00
|
|
|
|
doh, this was broken beyond believe.
Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
* gtk/gtkbox.c: change property types from (u)long to (u)int for
::position and ::padding.
* gtk/gtkcontainer.c: make ::border_width an INT property.
* gtk/gtkpacker.c: make ::position an INT property.
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
guard against NULL h/v scrollbars, since this is used at construction
time.
* gtk/gtkclist.[hc]: nuked gtk_clist_construct(), implemented
internal gtk_clist_constructor().
* gtk/gtkctree.[hc]: nuked gtk_ctree_construct(), implemented
gtk_ctree_constructor().
* gtk/gtkprogressbar.c (gtk_progress_bar_class_init): property
::pulse_step should use ARG_PULSE_STEP, not ARG_FRACTION.
* docs/reference/Makefile.am: fun stuff, disabled docs generation
again, gtk-scan.c needs to introspec paramspecs, not GtkAgs.
* gtk/gtkwidget.[hc]:
removed gtk_widget_setv(), gtk_widget_getv(), gtk_widget_newv()
and gtk_widget_get().
(gtk_widget_new): use g_object_new_valist().
(gtk_widget_set): use g_object_set_valist().
* gtk/gtkobject.[hc]:
removed gtk_object_arg_get_info(), gtk_object_getv(),
gtk_object_query_args(), gtk_object_newv(),
gtk_object_class_add_signals(),
gtk_object_class_user_signal_new(),
gtk_object_class_user_signal_newv(),
gtk_object_arg_set(), gtk_object_arg_get(),
gtk_object_args_collect(),
gtk_object_default_construct(),
gtk_object_constructed(),
GTK_CONSTRUCTED and GTK_OBJECT_CONSTRUCTED().
removed nsignals, signals and n_args members from GtkObjectClass.
(gtk_object_new): use g_object_new_valist().
(gtk_object_set): use g_object_set_valist().
(gtk_object_get): use g_object_get_valist().
* gtk/gtkcompat.h: define gtk_object_default_construct().
* gtk/gtktypeutils.c (gtk_type_new): create constructed objects via
g_object_new().
* gtk/*.c: removed gtk_object_class_add_signals() from class_init()
fucntions, cleaned up method assignments (make sure your structures
are setup properly before calling out). removed all GTK_CONSTRUCTED
hacks ;)
2000-12-13 01:34:41 +00:00
|
|
|
</para>
|
2000-09-07 18:17:06 +00:00
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
@GDK_PIXBUF_ALPHA_BILEVEL:
|
|
|
|
@GDK_PIXBUF_ALPHA_FULL:
|
2000-09-07 18:17:06 +00:00
|
|
|
|
2001-03-07 14:49:21 +00:00
|
|
|
<!-- ##### FUNCTION gdk_color_context_add_palette ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cc:
|
|
|
|
@palette:
|
|
|
|
@num_palette:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_color_context_free ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cc:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_color_context_free_dither ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cc:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_color_context_get_index_from_palette ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</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:
|
|
|
|
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
<!-- ##### VARIABLE gdk_core_pointer ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### VARIABLE gdk_display_name ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2002-10-04 19:46:36 +00:00
|
|
|
<!-- ##### FUNCTION gdk_display_set_sm_client_id ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@display:
|
|
|
|
@sm_client_id:
|
|
|
|
|
2002-09-28 20:03:56 +00:00
|
|
|
<!-- ##### 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 the
|
|
|
|
fonts 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.
|
|
|
|
|
2001-10-03 18:19:48 +00:00
|
|
|
<!-- ##### FUNCTION gdk_get_client_window ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpy:
|
|
|
|
@win:
|
|
|
|
@Returns:
|
|
|
|
|
2002-06-20 23:59:27 +00:00
|
|
|
<!-- ##### FUNCTION gdk_get_default_display ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_get_default_screen ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
2001-03-15 19:02:23 +00:00
|
|
|
<!-- ##### 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 no
|
|
|
|
longer 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 attributes
|
|
|
|
were 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's
|
|
|
|
own event mask and applied using gdk_window_set_events().
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@ic: a #GdkIC.
|
|
|
|
@Returns: the mask of events that the input method needs to function
|
|
|
|
properly.
|
|
|
|
|
|
|
|
<!-- ##### 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 @attr
|
|
|
|
are 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 set
|
|
|
|
when 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 @attr
|
|
|
|
are set.
|
|
|
|
@Returns: a #GdkICAttributesType mask indicating which of the attributes
|
|
|
|
were 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 in
|
|
|
|
the 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 given
|
|
|
|
in @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 the
|
|
|
|
available 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 in
|
|
|
|
the 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 current
|
|
|
|
locale 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_AREA
|
|
|
|
you 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 the
|
|
|
|
best 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 best
|
|
|
|
status style to use. If 0 is used, then the current bit-mask of all allowed
|
|
|
|
styles is returned.
|
|
|
|
@Returns: a bit-mask of all the styles allowed.
|
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
<!-- ##### FUNCTION gdk_input_list_devices ##### -->
|
|
|
|
<para>
|
|
|
|
Lists all available input devices, along with their
|
|
|
|
configuration information.
|
|
|
|
</para>
|
2001-01-09 16:41:17 +00:00
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
@Returns: A #GList of #GdkDeviceInfo structures. This list
|
|
|
|
is internal data of GTK+ and should not be modified
|
|
|
|
or freed.
|
2001-01-09 16:41:17 +00:00
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
<!-- ##### FUNCTION gdk_input_motion_events ##### -->
|
2001-01-09 16:41:17 +00:00
|
|
|
<para>
|
2001-02-12 17:50:13 +00:00
|
|
|
Retrieves the motion history for a given device/window pair.
|
2001-01-09 16:41:17 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
@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.
|
2001-01-09 16:41:17 +00:00
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_input_set_axes ##### -->
|
|
|
|
<para>
|
|
|
|
Sets the mapping of the axes (valuators) of a device
|
|
|
|
onto 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.
|
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
<!-- ##### FUNCTION gdk_input_set_key ##### -->
|
2001-01-31 03:51:14 +00:00
|
|
|
<para>
|
2001-02-12 17:50:13 +00:00
|
|
|
Sets the key event generated when a macro button is pressed.
|
2001-01-31 03:51:14 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
@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.
|
2001-01-31 03:51:14 +00:00
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
<!-- ##### FUNCTION gdk_input_set_mode ##### -->
|
2001-01-31 03:51:14 +00:00
|
|
|
<para>
|
2001-02-12 17:50:13 +00:00
|
|
|
Enables or disables a device, and determines how the
|
|
|
|
device maps onto the screen.
|
2001-01-31 03:51:14 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
@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.
|
2001-01-31 03:51:14 +00:00
|
|
|
|
2000-09-07 18:17:06 +00:00
|
|
|
<!-- ##### FUNCTION gdk_input_set_source ##### -->
|
|
|
|
<para>
|
|
|
|
Sets the source type for a device.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@deviceid: the device to configure
|
|
|
|
@source: the new source type.
|
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
<!-- ##### FUNCTION gdk_input_window_get_pointer ##### -->
|
2001-01-31 03:51:14 +00:00
|
|
|
<para>
|
2001-02-12 17:50:13 +00:00
|
|
|
Returns information about the current position of the pointer
|
|
|
|
within a window, including extended device information.
|
|
|
|
Any of the return parameters may be %NULL, in which case,
|
|
|
|
they will be ignored.
|
2001-01-31 03:51:14 +00:00
|
|
|
</para>
|
|
|
|
|
2001-02-12 17:50:13 +00:00
|
|
|
@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.
|
2001-01-09 16:41:17 +00:00
|
|
|
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
<!-- ##### VARIABLE gdk_leader_window ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2002-06-20 23:59:27 +00:00
|
|
|
<!-- ##### FUNCTION gdk_open_display ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@display_name:
|
|
|
|
@Returns:
|
|
|
|
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
<!-- ##### VARIABLE gdk_progclass ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### VARIABLE gdk_screen ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
Minor documentation fixes
2002-08-10 Soren Sandmann <sandmann@daimi.au.dk>
* docs/reference/gtk/tree_widget.sgml,
docs/reference/gtk/tmpl/gtkdialog.sgml,
docs/reference/gtk/tmpl/gtkentry.sgml,
docs/reference/gtk/tmpl/gtkfilesel.sgml,
docs/reference/gtk/tmpl/gtkfontsel.sgml,
docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
docs/reference/gtk/tmpl/gtktreemodel.sgml,
docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
gtk/gtkwindow.c:
Minor documentation fixes
(#89254, patch from Brett Nash;
#85809, patch from daten@dnetc.org;
#76391, patch from Ross Burton;
#74559, Manuel Clos;
#73569, #72005, Alexey A. Malyshev;
#70061, patch from Dennis Bj"orklund;
#64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
#78932, Vitaly Tishkov, patch from Ross Burton;
#73306)
2002-08-10 09:55:41 +00:00
|
|
|
<!-- ##### FUNCTION gdk_screen_close ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@screen:
|
|
|
|
|
Documentation fixes.
Sun Oct 13 18:50:14 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
gtktreemodel.sgml,gtktable.sgml, gtktable.c:
Documentation fixes.
#85719, #90759, #95169, Owen Taylor;
#89221, Yao Zhang, Matthias Clasen;
#95592, Joost Faassen;
#92637, Vitaly Tishkov;
#94616, Ben Martin;
#94772, sbaillie@bigpond.net.au;
2002-10-13 17:17:14 +00:00
|
|
|
<!-- ##### FUNCTION gdk_screen_get_window_at_pointer ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@screen:
|
|
|
|
@win_x:
|
|
|
|
@win_y:
|
|
|
|
@Returns:
|
|
|
|
|
2002-05-28 22:23:55 +00:00
|
|
|
<!-- ##### FUNCTION gdk_screen_use_virtual_screen ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@screen:
|
|
|
|
@Returns:
|
|
|
|
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
<!-- ##### VARIABLE gdk_selection_property ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2002-06-20 23:59:27 +00:00
|
|
|
<!-- ##### FUNCTION gdk_set_default_display ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@display:
|
|
|
|
|
2002-09-28 20:03:56 +00:00
|
|
|
<!-- ##### FUNCTION gdkx_visual_get_for_screen ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@screen:
|
|
|
|
@xvisualid:
|
|
|
|
@Returns:
|
|
|
|
|