forked from AuroraMiddleware/gtk
Delete.
2001-03-14 Havoc Pennington <hp@redhat.com> * gtk/gtkdata.h, gtk/gtkdata.c: Delete. * gtk/gtk.h: remove gtkdata.h * gtk/Makefile.am: remove gtkdata * gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy" not "disconnect" on the adjustments. * gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not GtkData * gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject not GtkData * configure.in: handle case where X render exists, but Pango lacks Xft support. 2001-03-14 Havoc Pennington <hp@redhat.com> * Makefile.am (gdk-pixbuf-marshal.c): Use different temporary file from gdk-pixbuf-marshal.h, fixes parallel makes. 2001-03-14 Havoc Pennington <hp@redhat.com> * gtk/gtk-docs.sgml: remove gtkdata, gtktreemodelsimple * gtk/gtk.types: remove gtk_data_get_type
This commit is contained in:
parent
549537e6de
commit
872efdd9a5
20
ChangeLog
20
ChangeLog
@ -1,3 +1,23 @@
|
||||
2001-03-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkdata.h, gtk/gtkdata.c: Delete.
|
||||
|
||||
* gtk/gtk.h: remove gtkdata.h
|
||||
|
||||
* gtk/Makefile.am: remove gtkdata
|
||||
|
||||
* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
|
||||
not "disconnect" on the adjustments.
|
||||
|
||||
* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
|
||||
GtkData
|
||||
|
||||
* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
|
||||
not GtkData
|
||||
|
||||
* configure.in: handle case where X render exists, but Pango lacks
|
||||
Xft support.
|
||||
|
||||
2001-03-15 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.[ch]:
|
||||
|
@ -1,3 +1,23 @@
|
||||
2001-03-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkdata.h, gtk/gtkdata.c: Delete.
|
||||
|
||||
* gtk/gtk.h: remove gtkdata.h
|
||||
|
||||
* gtk/Makefile.am: remove gtkdata
|
||||
|
||||
* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
|
||||
not "disconnect" on the adjustments.
|
||||
|
||||
* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
|
||||
GtkData
|
||||
|
||||
* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
|
||||
not GtkData
|
||||
|
||||
* configure.in: handle case where X render exists, but Pango lacks
|
||||
Xft support.
|
||||
|
||||
2001-03-15 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.[ch]:
|
||||
|
@ -1,3 +1,23 @@
|
||||
2001-03-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkdata.h, gtk/gtkdata.c: Delete.
|
||||
|
||||
* gtk/gtk.h: remove gtkdata.h
|
||||
|
||||
* gtk/Makefile.am: remove gtkdata
|
||||
|
||||
* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
|
||||
not "disconnect" on the adjustments.
|
||||
|
||||
* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
|
||||
GtkData
|
||||
|
||||
* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
|
||||
not GtkData
|
||||
|
||||
* configure.in: handle case where X render exists, but Pango lacks
|
||||
Xft support.
|
||||
|
||||
2001-03-15 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.[ch]:
|
||||
|
@ -1,3 +1,23 @@
|
||||
2001-03-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkdata.h, gtk/gtkdata.c: Delete.
|
||||
|
||||
* gtk/gtk.h: remove gtkdata.h
|
||||
|
||||
* gtk/Makefile.am: remove gtkdata
|
||||
|
||||
* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
|
||||
not "disconnect" on the adjustments.
|
||||
|
||||
* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
|
||||
GtkData
|
||||
|
||||
* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
|
||||
not GtkData
|
||||
|
||||
* configure.in: handle case where X render exists, but Pango lacks
|
||||
Xft support.
|
||||
|
||||
2001-03-15 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.[ch]:
|
||||
|
@ -1,3 +1,23 @@
|
||||
2001-03-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkdata.h, gtk/gtkdata.c: Delete.
|
||||
|
||||
* gtk/gtk.h: remove gtkdata.h
|
||||
|
||||
* gtk/Makefile.am: remove gtkdata
|
||||
|
||||
* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
|
||||
not "disconnect" on the adjustments.
|
||||
|
||||
* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
|
||||
GtkData
|
||||
|
||||
* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
|
||||
not GtkData
|
||||
|
||||
* configure.in: handle case where X render exists, but Pango lacks
|
||||
Xft support.
|
||||
|
||||
2001-03-15 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.[ch]:
|
||||
|
@ -1,3 +1,23 @@
|
||||
2001-03-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkdata.h, gtk/gtkdata.c: Delete.
|
||||
|
||||
* gtk/gtk.h: remove gtkdata.h
|
||||
|
||||
* gtk/Makefile.am: remove gtkdata
|
||||
|
||||
* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
|
||||
not "disconnect" on the adjustments.
|
||||
|
||||
* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
|
||||
GtkData
|
||||
|
||||
* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
|
||||
not GtkData
|
||||
|
||||
* configure.in: handle case where X render exists, but Pango lacks
|
||||
Xft support.
|
||||
|
||||
2001-03-15 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.[ch]:
|
||||
|
@ -1,3 +1,23 @@
|
||||
2001-03-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkdata.h, gtk/gtkdata.c: Delete.
|
||||
|
||||
* gtk/gtk.h: remove gtkdata.h
|
||||
|
||||
* gtk/Makefile.am: remove gtkdata
|
||||
|
||||
* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
|
||||
not "disconnect" on the adjustments.
|
||||
|
||||
* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
|
||||
GtkData
|
||||
|
||||
* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
|
||||
not GtkData
|
||||
|
||||
* configure.in: handle case where X render exists, but Pango lacks
|
||||
Xft support.
|
||||
|
||||
2001-03-15 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.[ch]:
|
||||
|
@ -440,6 +440,12 @@ if test "x$gdktarget" = "xx11"; then
|
||||
AC_CHECK_LIB(Xft, XftFontOpen, have_xft=true, :, -lXrender -lXext $X_LIBS $FREETYPE_LIBS)
|
||||
,:,-lXext $X_LIBS)
|
||||
|
||||
## be sure we also have Pango built with xft support
|
||||
if ! $PKG_CONFIG --exists pangoxft ; then
|
||||
have_xft=false
|
||||
AC_MSG_WARN([X render extension found, but Pango lacks Xft support])
|
||||
fi
|
||||
|
||||
if $have_xft = 'true' ; then
|
||||
X_LIBS="-lXft -lXrender -lXext $FREETYPE_LIBS $X_LIBS"
|
||||
AC_DEFINE(HAVE_XFT)
|
||||
@ -447,7 +453,7 @@ if test "x$gdktarget" = "xx11"; then
|
||||
fi
|
||||
|
||||
AC_SUBST(XFT_LIBS)
|
||||
AM_CONDITIONAL(HAVE_XFT, $have_xft)
|
||||
AM_CONDITIONAL(HAVE_XFT, $have_xft)
|
||||
|
||||
# Check for XIM support.
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-03-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtk-docs.sgml: remove gtkdata, gtktreemodelsimple
|
||||
|
||||
* gtk/gtk.types: remove gtk_data_get_type
|
||||
|
||||
Wed Mar 7 23:58:53 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/tmpl/gtkwidget.sgml: Document ::hierarchy-changed.
|
||||
|
@ -1,2 +1,7 @@
|
||||
GObject
|
||||
GdkDrawable
|
||||
GdkWindow
|
||||
GdkDrawableImplX11
|
||||
GdkWindowImplX11
|
||||
GdkColormap
|
||||
GdkPixbufLoader
|
||||
|
@ -96,6 +96,187 @@ device. It has the following fields:
|
||||
which describe what key press events are generated
|
||||
for each macro button.
|
||||
|
||||
<!-- ##### 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.
|
||||
|
||||
<!-- ##### ENUM GdkPixbufAlphaMode ##### -->
|
||||
<para>
|
||||
|
||||
@ -235,6 +416,161 @@ device. It has the following fields:
|
||||
@num_colors:
|
||||
@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 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.
|
||||
|
||||
<!-- ##### FUNCTION gdk_input_list_devices ##### -->
|
||||
<para>
|
||||
Lists all available input devices, along with their
|
||||
|
@ -17,227 +17,3 @@ of how internationalized text input works in GTK+.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### 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>
|
||||
|
||||
|
||||
<!-- ##### 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_destroy ##### -->
|
||||
<para>
|
||||
Destroys the input context.
|
||||
</para>
|
||||
|
||||
@ic: a #GdkIC.
|
||||
|
||||
|
||||
<!-- ##### 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_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_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.
|
||||
|
||||
|
||||
<!-- ##### 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:
|
||||
|
||||
<!-- ##### 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_attr_destroy ##### -->
|
||||
<para>
|
||||
Destroys the given #GdkICAttr struct, freeing the allocated memory.
|
||||
</para>
|
||||
|
||||
@attr: a #GdkICAttr struct.
|
||||
|
||||
|
||||
|
@ -86,128 +86,3 @@ global input method.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### 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.
|
||||
|
||||
<!-- ##### 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_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_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.
|
||||
|
||||
|
||||
<!-- ##### 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_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>
|
||||
|
||||
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
<!entity GtkContainer SYSTEM "sgml/gtkcontainer.sgml">
|
||||
<!entity GtkCTree SYSTEM "sgml/gtkctree.sgml">
|
||||
<!entity GtkCurve SYSTEM "sgml/gtkcurve.sgml">
|
||||
<!entity GtkData SYSTEM "sgml/gtkdata.sgml">
|
||||
<!entity GtkDialog SYSTEM "sgml/gtkdialog.sgml">
|
||||
<!entity GtkDrawingArea SYSTEM "sgml/gtkdrawingarea.sgml">
|
||||
<!entity gtk-GtkEditable SYSTEM "sgml/gtkeditable.sgml">
|
||||
@ -100,7 +99,6 @@
|
||||
<!entity gtk-GtkTreeStore SYSTEM "sgml/gtktreestore.sgml">
|
||||
<!entity gtk-GtkTreeViewColumn SYSTEM "sgml/gtktreeviewcolumn.sgml">
|
||||
<!entity gtk-GtkTreeView SYSTEM "sgml/gtktreeview.sgml">
|
||||
<!entity gtk-GtkTreeModelSimple SYSTEM "sgml/gtktreemodelsimple.sgml">
|
||||
<!entity gtk-GtkCellRenderer SYSTEM "sgml/gtkcellrenderer.sgml">
|
||||
<!entity gtk-GtkCellRendererPixbuf SYSTEM "sgml/gtkcellrendererpixbuf.sgml">
|
||||
<!entity gtk-GtkCellRendererText SYSTEM "sgml/gtkcellrenderertext.sgml">
|
||||
|
@ -96,12 +96,11 @@ GObject
|
||||
GtkPreview
|
||||
GtkProgress
|
||||
GtkProgressBar
|
||||
GtkData
|
||||
GtkAdjustment
|
||||
GtkTooltips
|
||||
GtkAdjustment
|
||||
GtkIMContext
|
||||
GtkIMMulticontext
|
||||
GtkItemFactory
|
||||
GtkTooltips
|
||||
GtkTextBuffer
|
||||
GtkTextTag
|
||||
GtkTextTagTable
|
||||
|
@ -19,7 +19,6 @@ gtk_combo_get_type
|
||||
gtk_container_get_type
|
||||
gtk_ctree_get_type
|
||||
gtk_curve_get_type
|
||||
gtk_data_get_type
|
||||
gtk_dialog_get_type
|
||||
gtk_drawing_area_get_type
|
||||
gtk_entry_get_type
|
||||
|
@ -247,6 +247,20 @@ Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
|
||||
|
||||
@a:
|
||||
|
||||
<!-- ##### STRUCT GtkData ##### -->
|
||||
<para>
|
||||
The #GtkData-struct struct contains no public fields.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SIGNAL GtkData::disconnect ##### -->
|
||||
<para>
|
||||
Emitted to notify any views on the #GtkData object to disconnect from it,
|
||||
possibly because the #GtkData object is about to be destroyed.
|
||||
</para>
|
||||
|
||||
@data: the object which received the signal.
|
||||
|
||||
<!-- ##### SIGNAL GtkEditable::activate ##### -->
|
||||
<para>
|
||||
Indicates that the user has activated the widget
|
||||
|
@ -22,17 +22,3 @@ before the #GtkData is destroyed.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### STRUCT GtkData ##### -->
|
||||
<para>
|
||||
The #GtkData-struct struct contains no public fields.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SIGNAL GtkData::disconnect ##### -->
|
||||
<para>
|
||||
Emitted to notify any views on the #GtkData object to disconnect from it,
|
||||
possibly because the #GtkData object is about to be destroyed.
|
||||
</para>
|
||||
|
||||
@data: the object which received the signal.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* Makefile.am (gdk-pixbuf-marshal.c): Use different temporary file
|
||||
from gdk-pixbuf-marshal.h, fixes parallel makes.
|
||||
|
||||
Thu Mar 1 04:01:57 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* test-gdk-pixbuf.c: fixed includes.
|
||||
|
@ -241,6 +241,6 @@ gdk-pixbuf-marshal.h: gdk-pixbuf-marshal.list
|
||||
|
||||
gdk-pixbuf-marshal.c: gdk-pixbuf-marshal.list
|
||||
cd $(srcdir) \
|
||||
&& glib-genmarshal --prefix=gdk_pixbuf_marshal gdk-pixbuf-marshal.list --body >> xgen-gmh \
|
||||
&& (cmp -s xgen-gmh gdk-pixbuf-marshal.c || cp xgen-gmh gdk-pixbuf-marshal.c) \
|
||||
&& rm -f xgen-gmh xgen-gmh~
|
||||
&& glib-genmarshal --prefix=gdk_pixbuf_marshal gdk-pixbuf-marshal.list --body >> xgen-gmc \
|
||||
&& (cmp -s xgen-gmc gdk-pixbuf-marshal.c || cp xgen-gmc gdk-pixbuf-marshal.c) \
|
||||
&& rm -f xgen-gmc xgen-gmc~
|
||||
|
@ -79,7 +79,6 @@ gtk_public_h_sources = @STRIP_BEGIN@ \
|
||||
gtkcellrenderertextpixbuf.h \
|
||||
gtkcellrenderertoggle.h \
|
||||
gtkcellrendererpixbuf.h \
|
||||
gtkdata.h \
|
||||
gtkdebug.h \
|
||||
gtkdialog.h \
|
||||
gtkdnd.h \
|
||||
@ -238,7 +237,6 @@ gtk_c_sources = @STRIP_BEGIN@ \
|
||||
gtkcontainer.c \
|
||||
gtkctree.c \
|
||||
gtkcurve.c \
|
||||
gtkdata.c \
|
||||
gtkdialog.c \
|
||||
gtkdnd.c \
|
||||
gtkdrawingarea.c \
|
||||
|
@ -58,7 +58,6 @@
|
||||
#include <gtk/gtkcontainer.h>
|
||||
#include <gtk/gtkctree.h>
|
||||
#include <gtk/gtkcurve.h>
|
||||
#include <gtk/gtkdata.h>
|
||||
#include <gtk/gtkdialog.h>
|
||||
#include <gtk/gtkdnd.h>
|
||||
#include <gtk/gtkdrawingarea.h>
|
||||
|
@ -61,7 +61,7 @@ gtk_adjustment_get_type (void)
|
||||
(GtkClassInitFunc) NULL,
|
||||
};
|
||||
|
||||
adjustment_type = gtk_type_unique (GTK_TYPE_DATA, &adjustment_info);
|
||||
adjustment_type = gtk_type_unique (GTK_TYPE_OBJECT, &adjustment_info);
|
||||
}
|
||||
|
||||
return adjustment_type;
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
#include <gtk/gtkdata.h>
|
||||
#include <gtk/gtkobject.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -50,7 +50,7 @@ typedef struct _GtkAdjustmentClass GtkAdjustmentClass;
|
||||
|
||||
struct _GtkAdjustment
|
||||
{
|
||||
GtkData data;
|
||||
GtkObject parent_instance;
|
||||
|
||||
gfloat lower;
|
||||
gfloat upper;
|
||||
@ -62,7 +62,7 @@ struct _GtkAdjustment
|
||||
|
||||
struct _GtkAdjustmentClass
|
||||
{
|
||||
GtkDataClass parent_class;
|
||||
GtkObjectClass parent_class;
|
||||
|
||||
void (* changed) (GtkAdjustment *adjustment);
|
||||
void (* value_changed) (GtkAdjustment *adjustment);
|
||||
|
@ -1,83 +0,0 @@
|
||||
/* GTK - The GIMP Toolkit
|
||||
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
|
||||
* file for a list of people on the GTK+ Team. See the ChangeLog
|
||||
* files for a list of changes. These files are distributed with
|
||||
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
||||
*/
|
||||
|
||||
#include "gtkdata.h"
|
||||
#include "gtksignal.h"
|
||||
|
||||
|
||||
enum {
|
||||
DISCONNECT,
|
||||
LAST_SIGNAL
|
||||
};
|
||||
|
||||
|
||||
static void gtk_data_class_init (GtkDataClass *klass);
|
||||
|
||||
|
||||
static guint data_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
|
||||
GtkType
|
||||
gtk_data_get_type (void)
|
||||
{
|
||||
static GtkType data_type = 0;
|
||||
|
||||
if (!data_type)
|
||||
{
|
||||
static const GtkTypeInfo data_info =
|
||||
{
|
||||
"GtkData",
|
||||
sizeof (GtkData),
|
||||
sizeof (GtkDataClass),
|
||||
(GtkClassInitFunc) gtk_data_class_init,
|
||||
(GtkObjectInitFunc) NULL,
|
||||
/* reserved_1 */ NULL,
|
||||
/* reserved_2 */ NULL,
|
||||
(GtkClassInitFunc) NULL,
|
||||
};
|
||||
|
||||
data_type = gtk_type_unique (gtk_object_get_type (), &data_info);
|
||||
}
|
||||
|
||||
return data_type;
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_data_class_init (GtkDataClass *class)
|
||||
{
|
||||
GtkObjectClass *object_class;
|
||||
|
||||
object_class = (GtkObjectClass*) class;
|
||||
|
||||
data_signals[DISCONNECT] =
|
||||
gtk_signal_new ("disconnect",
|
||||
GTK_RUN_FIRST,
|
||||
GTK_CLASS_TYPE (object_class),
|
||||
GTK_SIGNAL_OFFSET (GtkDataClass, disconnect),
|
||||
gtk_marshal_VOID__VOID,
|
||||
GTK_TYPE_NONE, 0);
|
||||
}
|
||||
|
@ -1,72 +0,0 @@
|
||||
/* GTK - The GIMP Toolkit
|
||||
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
|
||||
* file for a list of people on the GTK+ Team. See the ChangeLog
|
||||
* files for a list of changes. These files are distributed with
|
||||
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
||||
*/
|
||||
|
||||
#ifndef __GTK_DATA_H__
|
||||
#define __GTK_DATA_H__
|
||||
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
#include <gtk/gtkobject.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#define GTK_TYPE_DATA (gtk_data_get_type ())
|
||||
#define GTK_DATA(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_DATA, GtkData))
|
||||
#define GTK_DATA_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_DATA, GtkDataClass))
|
||||
#define GTK_IS_DATA(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_DATA))
|
||||
#define GTK_IS_DATA_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DATA))
|
||||
#define GTK_DATA_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_DATA, GtkDataClass))
|
||||
|
||||
|
||||
typedef struct _GtkData GtkData;
|
||||
typedef struct _GtkDataClass GtkDataClass;
|
||||
|
||||
struct _GtkData
|
||||
{
|
||||
GtkObject object;
|
||||
};
|
||||
|
||||
struct _GtkDataClass
|
||||
{
|
||||
GtkObjectClass parent_class;
|
||||
|
||||
void (* disconnect) (GtkData *data);
|
||||
};
|
||||
|
||||
|
||||
GtkType gtk_data_get_type (void) G_GNUC_CONST;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#endif /* __GTK_DATA_H__ */
|
@ -217,9 +217,6 @@ static void gtk_text_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation *allocation);
|
||||
static void gtk_text_adjustment (GtkAdjustment *adjustment,
|
||||
GtkText *text);
|
||||
static void gtk_text_disconnect (GtkAdjustment *adjustment,
|
||||
GtkText *text);
|
||||
|
||||
static void gtk_text_insert_text (GtkOldEditable *old_editable,
|
||||
const gchar *new_text,
|
||||
gint new_text_length,
|
||||
@ -239,6 +236,9 @@ static void gtk_text_set_selection (GtkOldEditable *old_editable,
|
||||
static void gtk_text_real_set_editable (GtkOldEditable *old_editable,
|
||||
gboolean is_editable);
|
||||
|
||||
static void gtk_text_adjustment_destroyed (GtkAdjustment *adjustment,
|
||||
GtkText *text);
|
||||
|
||||
/* Event handlers */
|
||||
static gint gtk_text_expose (GtkWidget *widget,
|
||||
GdkEventExpose *event);
|
||||
@ -844,8 +844,8 @@ gtk_text_set_adjustments (GtkText *text,
|
||||
gtk_signal_connect (GTK_OBJECT (text->hadj), "value_changed",
|
||||
(GtkSignalFunc) gtk_text_adjustment,
|
||||
text);
|
||||
gtk_signal_connect (GTK_OBJECT (text->hadj), "disconnect",
|
||||
(GtkSignalFunc) gtk_text_disconnect,
|
||||
gtk_signal_connect (GTK_OBJECT (text->hadj), "destroy",
|
||||
(GtkSignalFunc) gtk_text_adjustment_destroyed,
|
||||
text);
|
||||
gtk_text_adjustment (hadj, text);
|
||||
}
|
||||
@ -862,8 +862,8 @@ gtk_text_set_adjustments (GtkText *text,
|
||||
gtk_signal_connect (GTK_OBJECT (text->vadj), "value_changed",
|
||||
(GtkSignalFunc) gtk_text_adjustment,
|
||||
text);
|
||||
gtk_signal_connect (GTK_OBJECT (text->vadj), "disconnect",
|
||||
(GtkSignalFunc) gtk_text_disconnect,
|
||||
gtk_signal_connect (GTK_OBJECT (text->vadj), "destroy",
|
||||
(GtkSignalFunc) gtk_text_adjustment_destroyed,
|
||||
text);
|
||||
gtk_text_adjustment (vadj, text);
|
||||
}
|
||||
@ -2194,8 +2194,8 @@ gtk_text_adjustment (GtkAdjustment *adjustment,
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_text_disconnect (GtkAdjustment *adjustment,
|
||||
GtkText *text)
|
||||
gtk_text_adjustment_destroyed (GtkAdjustment *adjustment,
|
||||
GtkText *text)
|
||||
{
|
||||
g_return_if_fail (adjustment != NULL);
|
||||
g_return_if_fail (GTK_IS_ADJUSTMENT (adjustment));
|
||||
|
@ -62,7 +62,7 @@ static gint gtk_tooltips_timeout (gpointer data);
|
||||
static gint gtk_tooltips_paint_window (GtkTooltips *tooltips);
|
||||
static void gtk_tooltips_draw_tips (GtkTooltips *tooltips);
|
||||
|
||||
static GtkDataClass *parent_class;
|
||||
static GtkObjectClass *parent_class;
|
||||
static const gchar *tooltips_data_key = "_GtkTooltipsData";
|
||||
|
||||
GtkType
|
||||
@ -84,7 +84,7 @@ gtk_tooltips_get_type (void)
|
||||
(GtkClassInitFunc) NULL,
|
||||
};
|
||||
|
||||
tooltips_type = gtk_type_unique (GTK_TYPE_DATA, &tooltips_info);
|
||||
tooltips_type = gtk_type_unique (GTK_TYPE_OBJECT, &tooltips_info);
|
||||
}
|
||||
|
||||
return tooltips_type;
|
||||
@ -96,7 +96,7 @@ gtk_tooltips_class_init (GtkTooltipsClass *class)
|
||||
GtkObjectClass *object_class;
|
||||
|
||||
object_class = (GtkObjectClass*) class;
|
||||
parent_class = gtk_type_class (GTK_TYPE_DATA);
|
||||
parent_class = gtk_type_class (GTK_TYPE_OBJECT);
|
||||
|
||||
object_class->destroy = gtk_tooltips_destroy;
|
||||
}
|
||||
|
@ -28,7 +28,7 @@
|
||||
#define __GTK_TOOLTIPS_H__
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
#include <gtk/gtkdata.h>
|
||||
#include <gtk/gtkobject.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -58,7 +58,7 @@ struct _GtkTooltipsData
|
||||
|
||||
struct _GtkTooltips
|
||||
{
|
||||
GtkData data;
|
||||
GtkObject parent_instance;
|
||||
|
||||
GtkWidget *tip_window;
|
||||
GtkWidget *tip_label;
|
||||
@ -74,7 +74,7 @@ struct _GtkTooltips
|
||||
|
||||
struct _GtkTooltipsClass
|
||||
{
|
||||
GtkDataClass parent_class;
|
||||
GtkObjectClass parent_class;
|
||||
};
|
||||
|
||||
GtkType gtk_tooltips_get_type (void) G_GNUC_CONST;
|
||||
|
Loading…
Reference in New Issue
Block a user