mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
Deprecate. (#68183)
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) * gtk/gtkscale.h (gtk_scale_value_width): Remove useless compatibility macro. (#67730) * gtk/changes-2.0.sgml: Details about GtkRange and subclasses rewrite. (#67730)
This commit is contained in:
parent
5b96321c3a
commit
226b2fa14b
@ -1,3 +1,10 @@
|
|||||||
|
2002-01-15 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
|
||||||
|
|
||||||
|
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
|
||||||
|
compatibility macro. (#67730)
|
||||||
|
|
||||||
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in: Fix typo in --help output.
|
* configure.in: Fix typo in --help output.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2002-01-15 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
|
||||||
|
|
||||||
|
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
|
||||||
|
compatibility macro. (#67730)
|
||||||
|
|
||||||
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in: Fix typo in --help output.
|
* configure.in: Fix typo in --help output.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2002-01-15 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
|
||||||
|
|
||||||
|
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
|
||||||
|
compatibility macro. (#67730)
|
||||||
|
|
||||||
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in: Fix typo in --help output.
|
* configure.in: Fix typo in --help output.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2002-01-15 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
|
||||||
|
|
||||||
|
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
|
||||||
|
compatibility macro. (#67730)
|
||||||
|
|
||||||
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in: Fix typo in --help output.
|
* configure.in: Fix typo in --help output.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2002-01-15 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
|
||||||
|
|
||||||
|
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
|
||||||
|
compatibility macro. (#67730)
|
||||||
|
|
||||||
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in: Fix typo in --help output.
|
* configure.in: Fix typo in --help output.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2002-01-15 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
|
||||||
|
|
||||||
|
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
|
||||||
|
compatibility macro. (#67730)
|
||||||
|
|
||||||
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in: Fix typo in --help output.
|
* configure.in: Fix typo in --help output.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2002-01-15 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
|
||||||
|
|
||||||
|
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
|
||||||
|
compatibility macro. (#67730)
|
||||||
|
|
||||||
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in: Fix typo in --help output.
|
* configure.in: Fix typo in --help output.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-15 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gtk/changes-2.0.sgml: Details about GtkRange and subclasses
|
||||||
|
rewrite. (#67730)
|
||||||
|
|
||||||
2002-01-14 Matthias Clasen <matthiasc@poet.de>
|
2002-01-14 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
* gtk/running.sgml: Add ids to some elements to make them
|
* gtk/running.sgml: Add ids to some elements to make them
|
||||||
|
@ -689,6 +689,70 @@ In GTK+ 1.2, if an event handler returned <literal>TRUE</literal> it prevented
|
|||||||
how to subclass the old version of <structname>GtkRange</structname>, you
|
how to subclass the old version of <structname>GtkRange</structname>, you
|
||||||
have our respect). Also, <literal>GtkTroughType</literal> is gone.
|
have our respect). Also, <literal>GtkTroughType</literal> is gone.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
Here are some notable changes:
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<literal>stepper_size</literal> style property is the height for
|
||||||
|
vertical ranges, width for horizontal; the other dimension matches
|
||||||
|
the trough size.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Added the ability to do NeXT-style steppers (and several other styles
|
||||||
|
that don't make any sense).
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Added <literal>min_slider_length</literal>,
|
||||||
|
<literal>fixed_slider_length</literal> properties to
|
||||||
|
<structname>GtkScrollbar</structname>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Cleaned some private (or at least useless) functions out of
|
||||||
|
<filename>gtkscale.h</filename>, e.g.
|
||||||
|
<function>gtk_scale_value_width</literal>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Moved bindings from subclasses to <structname>GtkScale</structname>,
|
||||||
|
even arrow keys, since blind users don't know scale orientation.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Changed <literal>move_slider</literal> action signal to use new
|
||||||
|
<structname>GtkScrollType</structname>, remove
|
||||||
|
<structname>GtkTroughType</structname> argument.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Digits rounds the values a range will input to the given
|
||||||
|
number of decimals, but will not try to force adjustment
|
||||||
|
values set by other controllers. That is, we no longer
|
||||||
|
modify <literal>adjustment->value</literal> inside a
|
||||||
|
<literal>value_changed</literal> handler.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Added getters for <structname>GtkScale</structname> setters.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Middle-click begins a slider drag.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -162,6 +162,7 @@ typedef enum
|
|||||||
GTK_JUSTIFY_FILL
|
GTK_JUSTIFY_FILL
|
||||||
} GtkJustification;
|
} GtkJustification;
|
||||||
|
|
||||||
|
#ifndef GTK_DISABLE_DEPRECATED
|
||||||
/* GtkPatternSpec match types */
|
/* GtkPatternSpec match types */
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
@ -172,6 +173,7 @@ typedef enum
|
|||||||
GTK_MATCH_EXACT, /* "AAAAA" */
|
GTK_MATCH_EXACT, /* "AAAAA" */
|
||||||
GTK_MATCH_LAST
|
GTK_MATCH_LAST
|
||||||
} GtkMatchType;
|
} GtkMatchType;
|
||||||
|
#endif /* GTK_DISABLE_DEPRECATED */
|
||||||
|
|
||||||
/* Menu keyboard movement types */
|
/* Menu keyboard movement types */
|
||||||
typedef enum
|
typedef enum
|
||||||
|
@ -86,10 +86,6 @@ void _gtk_scale_get_value_size (GtkScale *scale,
|
|||||||
gchar *_gtk_scale_format_value (GtkScale *scale,
|
gchar *_gtk_scale_format_value (GtkScale *scale,
|
||||||
gdouble value);
|
gdouble value);
|
||||||
|
|
||||||
#ifndef GTK_DISABLE_DEPRECATED
|
|
||||||
#define gtk_scale_value_width gtk_scale_get_value_width
|
|
||||||
#endif /* GTK_DISABLE_DEPRECATED */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
Loading…
Reference in New Issue
Block a user