Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
203e5edc
Commit
203e5edc
authored
Dec 16, 2004
by
Matthias Clasen
Browse files
2.6.0
parent
fc027b1e
Changes
180
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
203e5edc
2004
-
12
-
16
Matthias
Clasen
<
mclasen
@
redhat
.
com
>
*
===
Released
2.6.0
===
2004
-
12
-
16
Matthias
Clasen
<
mclasen
@
redhat
.
com
>
*
gtk
/
gtkfilechooserbutton
.
c
(
dialog_response_cb
):
Only
unblock
the
handlers
...
...
ChangeLog.pre-2-10
View file @
203e5edc
2004
-
12
-
16
Matthias
Clasen
<
mclasen
@
redhat
.
com
>
*
===
Released
2.6.0
===
2004
-
12
-
16
Matthias
Clasen
<
mclasen
@
redhat
.
com
>
*
gtk
/
gtkfilechooserbutton
.
c
(
dialog_response_cb
):
Only
unblock
the
handlers
...
...
ChangeLog.pre-2-6
View file @
203e5edc
2004
-
12
-
16
Matthias
Clasen
<
mclasen
@
redhat
.
com
>
*
===
Released
2.6.0
===
2004
-
12
-
16
Matthias
Clasen
<
mclasen
@
redhat
.
com
>
*
gtk
/
gtkfilechooserbutton
.
c
(
dialog_response_cb
):
Only
unblock
the
handlers
...
...
ChangeLog.pre-2-8
View file @
203e5edc
2004
-
12
-
16
Matthias
Clasen
<
mclasen
@
redhat
.
com
>
*
===
Released
2.6.0
===
2004
-
12
-
16
Matthias
Clasen
<
mclasen
@
redhat
.
com
>
*
gtk
/
gtkfilechooserbutton
.
c
(
dialog_response_cb
):
Only
unblock
the
handlers
...
...
INSTALL
View file @
203e5edc
...
...
@@ -18,8 +18,8 @@ GTK+ requires the following packages:
Simple install procedure
========================
% gzip -cd gtk+-2.
5.6
.tar.gz | tar xvf - # unpack the sources
% cd gtk+-2.
5.6
# change to the toplevel directory
% gzip -cd gtk+-2.
6.0
.tar.gz | tar xvf - # unpack the sources
% cd gtk+-2.
6.0
# change to the toplevel directory
% ./configure # run the `configure' script
% make # build GTK
[ Become root if necessary ]
...
...
NEWS
View file @
203e5edc
...
...
@@ -117,7 +117,7 @@ Overview of Changes from GTK+ 2.5.6 to GTK+ 2.6.0
* Bug fixes [Kazuki IWAMOTO, Damon Chaplin, Matthias, Christian,
Michael Natterer, Jonathan Blandford, Manish Singh, John Finlay,
Robert Ögren, Mariano Suárez-Alvarez, Marco Pesenti Gritti,
Tommi Komulainen, R. McFarland]
Tommi Komulainen, R. McFarland
, Jorn Baayen, Dennis Cranston
]
* Documentation improvements [Matthias, Jay Camp, Paolo Borelli,
David Lodge]
* New and improved translations (bg,nb,no,nso,pt_BR,zh_CN)
...
...
README
View file @
203e5edc
General Information
===================
This is GTK+ version 2.
5.6
. GTK+ is a multi-platform toolkit for
This is GTK+ version 2.
6.0
. GTK+ is a multi-platform toolkit for
creating graphical user interfaces. Offering a complete set of widgets,
GTK+ is suitable for projects ranging from small one-off projects to
complete application suites.
...
...
@@ -28,81 +28,86 @@ See the file 'INSTALL'
Release notes
=============
* GTK+ 2.6 supports clipboard persistency. To make use of this feature,
a clipboard manager following the specification at
http://www.freedesktop.org/wiki/Standards/clipboard-manager-spec
must be running. A sample implementation of such a clipboard manager
is available at
http://people.imendio.com/andersca/archives/clipboard-manager-0.3.tar.gz
Applications can use the function gdk_display_supports_clipboard_persistence()
to find out if clipboard persistence is available.
* Notification on clipboard ownership changes via GdkOwnerChange events
requires the XFIXES X extension. Applications can use the function
gdk_display_supports_selection_notification() to find out if ownerchip
change notification is available.
* The icon theme code in GTK+ 2.6 follows the freedesktop.org icon theme
specification. Setting the XDG_DATA_DIRS environtment variable may be
necessary if your icons aren't installed in the default location
/usr/share/icons.
* The icon theme code in GTK+ 2.6 can make use of mmap()able cache files
to avoid a lot of disk searching overhead. GTK+ includes a utility named
gtk-update-icon-cache to generate these cache files. For further details,
see the gtk-update-icon-cache man page or the GTK+ documentation.
* To reduce code size and improve efficiency, GTK+, when compiled
with the GNU toolchain, has separate internal and external entry
points for exported functions. The internal names, which begin with
IA__, may be seen when debugging a GTK+ program.
* The following functions have been deprecated in GTK+ 2.6:
gdk_pango_context_set_colormap
gtk_cell_renderer_editing_canceled
* The new GtkFileChooser widget emphasizes simplicity and thus does
not provide a navigation entry by default when opening files.
Experienced command line users will likely want to make heavy use of
the location dialog brought up by the Control-L key shortcut.
* As compared to GTK+-1.2, the default configuration of GTK+-2 has been
stream-lined to reduce confusion on the part of new users or users
coming from other environments. Users used to older versions of
GTK+ may want to make some adjustments to the default configuration.
- Emacs keybindings such as Control-A and Control-E to move to the
ends of lines are not enabled by default in the editing widgets. To
turn on Emacs keybindings, add the line:
gtk-key-theme-name = "Emacs"
To your ~/.gtkrc-2.0
- Editing of menu accelerators by pressing an accelerator over the
menu item is disabled by default. To enable, it, add:
gtk-can-change-accels = 1
to your ~/.gtkrc-2.0
- To improve useability for keyboard operation, GTK+ now selects the
contents of an entry when tabbing into it or when it is focused on
initial window map. To disable this behavior, add:
gtk-entry-select-on-focus = 0
to your ~/.gtkrc-2.0
* The GTK+ libraries use an '_' prefix to indicate private symbols that
must not be used by applications. On some platforms, symbols beginning
with prefixes such as _gtk, _gdk, and _pango will be exported
from the library, on others not. In no case can applications
use these private symbols.
* GTK+-2.4 now requires version 2 of Xft; old fashioned core X
fonts are no longer supported.
* There is a bug in the Xft library in XFree86-4.1 and possibly previous
versions that causes random crashes when using the Pango Xft
backend. If you want to use Xft fonts, you should upgrade to
at least XFree86-4.2.
* The gdk_pixbuf_xlib library included in the contrib/ directory of GTK+
is provided on a as-is basis and has not been tested at all. No
guarantees about the degree of workingness or about future
use these private symbols. In addition to that, GTK+ 2.6 makes several
symbols private which were not in any installed header files and
were never intended to be exported.
* The gdk_pixbuf_xlib library included in the contrib/ directory
and the framebuffer GDK backend included in the gdk/linux-fb directory
of GTK+ are provided on an as-is basis and have not been tested at all.
No guarantees about the degree of workingness or about future
compatibility are provided.
* While efforts have been made to make gdk-pixbuf robust against
invalid images, using gdk-pixbuf to load untrusted data
is not recommended, due to the likelyhood that there are
additional problems where an invalid image could cause
gdk-pixbuf to crash or worse.
* The assumption of GLib and GTK+ by default is that filenames on the
filesystem are encoded in UTF-8 rather than the encoding of the locale;
* On Unix, the assumption of GLib and GTK+ by default is that filenames on
the filesystem are encoded in UTF-8 rather than the encoding of the locale;
the GTK+ developers consider that having filenames whose interpretation
depends on the current locale is fundamentally a bad idea.
If you have filenames encoded in the encoding of your locale, then
you
may want to set the G_FILENAME_ENCODING environment variable:
If you have filenames encoded in the encoding of your locale, then
you
may want to set the G_FILENAME_ENCODING environment variable:
G_FILENAME_ENCODING=@local
export G_FILENAME_ENCODING
(Earlier versions of GLib
-
2.x required a different environment variable
(Earlier versions of GLib
2.x required a different environment variable
setting; G_BROKEN_FILENAMES=1 to achieve the same effect; this
is still supported, but G_FILENAME_ENCODING is preferred.)
Best integration of GTK+
-
2.
4
with the environment is achieved by
Best integration of GTK+
2.
6
with the environment is achieved by
using a UTF-8 locale.
On Windows, filenames passed to GTK+ should always be in UTF-8, as
in GLib 2.6. This is different than in previous versions of GTK+
where the system codepage was used. As in GLib, for DLL ABI
stability, applications built against previous versions of GTK+ will
use entry points providing the old semantics.
When compiling against GTK+ 2.6, applications intended to be
portable to Windows must take the UTF-8 file name encoding into
consideration, and use the gstdio wrappers to access files whose
names have been constructed from strings returned from GTK+ or GLib.
How to report bugs
==================
...
...
@@ -122,10 +127,10 @@ In the bug report please include:
* How to reproduce the bug.
If you can reproduce it with the test
gtk program that is built in the
gtk/ subdirectory
, that w
ill
be most convenient.
Otherwise,
please
include a short test program that exhibits the behavior.
As a
last
resort, you can also provide a pointer to a larger piece of software
If you can reproduce it with
one of
the test
s or demos built with GTK+,
such as demos/gtk-demo/gtk-demo
, that w
ould
be most convenient. Otherwise,
please
include a short test program that exhibits the behavior. As a
last
resort, you can also provide a pointer to a larger piece of software
that can be downloaded.
* If the bug was a crash, the exact text that was printed out when the
...
...
@@ -147,7 +152,7 @@ Otherwise, enter a new bug report that describes the patch, and attach
the patch to that bug report.
Bug reports containing patches should include the PATCH keyword in their
keyword fields. If the patch adds to or changes the GTK programming
keyword fields. If the patch adds to or changes the GTK
+
programming
interface, the API keyword should also be included.
Patches should be in unified diff form. (The -u option to GNU diff.)
README.in
View file @
203e5edc
...
...
@@ -30,29 +30,32 @@ Release notes
* GTK+ 2.6 supports clipboard persistency. To make use of this feature,
a clipboard manager following the specification at
http://www.freedesktop.org/wiki/Standards
_2f
clipboard
_2d
manager
_2d
spec
http://www.freedesktop.org/wiki/Standards
/
clipboard
-
manager
-
spec
must be running. A sample implementation of such a clipboard manager
is available at
http://people.imendio.com/andersca/archives/clipboard-manager-0.3.tar.gz
Applications can use the function gdk_display_supports_clipboard_persistence()
to find out if clipboard persistence is available.
* The icon theme code in GTK+ 2.6 follows the icon theme specification.
Therefore, icon themes are looked for in $HOME/.icons, $XDG_DATA_HOME/icons,
$XDG_DATA_DIRS/icons and /usr/share/pixmaps.
* Notification on clipboard ownership changes via GdkOwnerChange events
requires the XFIXES X extension. Applications can use the function
gdk_display_supports_selection_notification() to find out if ownerchip
change notification is available.
* The icon theme code in GTK+ 2.6 follows the freedesktop.org icon theme
specification. Setting the XDG_DATA_DIRS environtment variable may be
necessary if your icons aren't installed in the default location
/usr/share/icons.
* The icon theme code in GTK+ 2.6 can make use of mmap()able cache files
to avoid a lot of disk searching overhead. GTK+ includes a utility named
gtk-update-icon-cache to generate these cache files. For further details,
see the gtk-update-icon-cache man page or the GTK+ documentation.
* GTK+ uses a technique involving macros for reducing the amount of PLT
redirections which has the side effect that the names of internally used
GLib functions are prefixed with IA__. The g_return_if_fail() macros
strip this prefix away, but it will show up e.g. in a debugger.
* The linux framebuffer GDK backend included in the gdk/linux-fb of GTK+
is provided on a as-is basis and has not been tested at all. No
guarantees about the degree of workingness or about future
compatibility are provided.
* To reduce code size and improve efficiency, GTK+, when compiled
with the GNU toolchain, has separate internal and external entry
points for exported functions. The internal names, which begin with
IA__, may be seen when debugging a GTK+ program.
* The following functions have been deprecated in GTK+ 2.6:
gdk_pango_context_set_colormap
...
...
@@ -71,19 +74,19 @@ Release notes
symbols private which were not in any installed header files and
were never intended to be exported.
* The gdk_pixbuf_xlib library included in the contrib/ directory of GTK+
is provided on a as-is basis and has not been tested at all. No
guarantees about the degree of workingness or about future
* The gdk_pixbuf_xlib library included in the contrib/ directory
and the framebuffer GDK backend included in the gdk/linux-fb directory
of GTK+ are provided on an as-is basis and have not been tested at all.
No guarantees about the degree of workingness or about future
compatibility are provided.
*
T
he assumption of GLib and GTK+ by default is that filenames on
the
filesystem are encoded in UTF-8 rather than the encoding of the locale;
*
On Unix, t
he assumption of GLib and GTK+ by default is that filenames on
the
filesystem are encoded in UTF-8 rather than the encoding of the locale;
the GTK+ developers consider that having filenames whose interpretation
depends on the current locale is fundamentally a bad idea.
On Unix, if you have filenames encoded in the encoding of your
locale, then you may want to set the G_FILENAME_ENCODING environment
variable:
If you have filenames encoded in the encoding of your locale, then you
may want to set the G_FILENAME_ENCODING environment variable:
G_FILENAME_ENCODING=@local
export G_FILENAME_ENCODING
...
...
@@ -94,17 +97,16 @@ Release notes
Best integration of GTK+ 2.6 with the environment is achieved by
using a UTF-8 locale.
On Windows, filenames passed to GTK+ should always be in UTF-8,
like
On Windows, filenames passed to GTK+ should always be in UTF-8,
as
in GLib 2.6. This is different than in previous versions of GTK+
where the system codepage was used.
Like
in GLib, for DLL ABI
where the system codepage was used.
As
in GLib, for DLL ABI
stability, applications built against previous versions of GTK+ will
use entry points providing the old semantics.
When compiling against GTK+ 2.6, applications intended to be
portable to Windows must take the UTF-8 file name encoding into
consideration, and for instance use the gstdio wrappers to access
files whose names have been constructed from strings returned from
GTK+ or GLib.
consideration, and use the gstdio wrappers to access files whose
names have been constructed from strings returned from GTK+ or GLib.
How to report bugs
==================
...
...
@@ -125,10 +127,10 @@ In the bug report please include:
* How to reproduce the bug.
If you can reproduce it with the test
gtk program that is built in the
gtk/ subdirectory
, that w
ill
be most convenient.
Otherwise,
please
include a short test program that exhibits the behavior.
As a
last
resort, you can also provide a pointer to a larger piece of software
If you can reproduce it with
one of
the test
s or demos built with GTK+,
such as demos/gtk-demo/gtk-demo
, that w
ould
be most convenient. Otherwise,
please
include a short test program that exhibits the behavior. As a
last
resort, you can also provide a pointer to a larger piece of software
that can be downloaded.
* If the bug was a crash, the exact text that was printed out when the
...
...
contrib/gdk-pixbuf-xlib/ChangeLog
View file @
203e5edc
2004-12-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.0 ===
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.5.6 ===
...
...
docs/reference/ChangeLog
View file @
203e5edc
2004-12-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.0 ===
2004-12-15 Matthias Clasen <mclasen@redhat.com>
* gdk/tmpl/drawing.sgml: Document GdkTrapezoid.
...
...
docs/reference/gdk/tmpl/drawing.sgml
View file @
203e5edc
...
...
@@ -303,15 +303,10 @@ The trapezoids used here have parallel, horizontal top and
bottom edges.
</para>
@x1: the x coordinate of the start point.
@y1: the y coordinate of the start point.
@x2: the x coordinate of the end point.
@y2: the y coordinate of the end point.
@y1: the y coordinate of the top edge
@x11: the x coordinate of the top left corner
@x21: the x coordinate of the top right corner
@y2: the y coordinate of the
bottom edge
@y2: the y coordinate of the
end point.
@x12: the x coordinate of the bottom left corner
@x22: the x coordinate of the bottom right corner
...
...
docs/reference/gtk/tmpl/gtkbutton.sgml
View file @
203e5edc
...
...
@@ -77,6 +77,11 @@ mouse cursor is.
</para>
<!-- ##### ARG GtkButton:image ##### -->
<para>
</para>
<!-- ##### ARG GtkButton:label ##### -->
<para>
...
...
docs/reference/gtk/tmpl/gtkcellrenderer.sgml
View file @
203e5edc
...
...
@@ -230,6 +230,15 @@ it cannot be individually modified.
@cell:
<!-- ##### FUNCTION gtk_cell_renderer_stop_editing ##### -->
<para>
</para>
@cell:
@canceled:
<!-- ##### FUNCTION gtk_cell_renderer_get_fixed_size ##### -->
<para>
...
...
docs/reference/gtk/tmpl/gtkcellrenderertext.sgml
View file @
203e5edc
...
...
@@ -232,6 +232,11 @@ the #GtkCellRendererText allows to edit its text using an entry.
</para>
<!-- ##### ARG GtkCellRendererText:width-chars ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_cell_renderer_text_new ##### -->
<para>
...
...
docs/reference/gtk/tmpl/gtkdialog.sgml
View file @
203e5edc
...
...
@@ -338,3 +338,13 @@ directly, but into the @vbox and @action_area, as described above.
@Varargs:
<!-- ##### FUNCTION gtk_dialog_set_alternative_button_order_from_array ##### -->
<para>
</para>
@dialog:
@n_params:
@new_order:
docs/reference/gtk/tmpl/gtkiconview.sgml
View file @
203e5edc
...
...
@@ -96,6 +96,26 @@ private fields and should not be directly accessed.
@iconview: the object which received the signal.
<!-- ##### ARG GtkIconView:column-spacing ##### -->
<para>
</para>
<!-- ##### ARG GtkIconView:columns ##### -->
<para>
</para>
<!-- ##### ARG GtkIconView:item-width ##### -->
<para>
</para>
<!-- ##### ARG GtkIconView:margin ##### -->
<para>
</para>
<!-- ##### ARG GtkIconView:markup-column ##### -->
<para>
...
...
@@ -116,11 +136,21 @@ private fields and should not be directly accessed.
</para>
<!-- ##### ARG GtkIconView:row-spacing ##### -->
<para>
</para>
<!-- ##### ARG GtkIconView:selection-mode ##### -->
<para>
</para>
<!-- ##### ARG GtkIconView:spacing ##### -->
<para>
</para>
<!-- ##### ARG GtkIconView:text-column ##### -->
<para>
...
...
@@ -301,6 +331,114 @@ selected rows. It will be called on every selected row in the view.
@Returns:
<!-- ##### FUNCTION gtk_icon_view_set_columns ##### -->
<para>
</para>
@icon_view:
@columns:
<!-- ##### FUNCTION gtk_icon_view_get_columns ##### -->
<para>
</para>
@icon_view:
@Returns:
<!-- ##### FUNCTION gtk_icon_view_set_item_width ##### -->
<para>
</para>
@icon_view:
@item_width:
<!-- ##### FUNCTION gtk_icon_view_get_item_width ##### -->
<para>
</para>
@icon_view:
@Returns:
<!-- ##### FUNCTION gtk_icon_view_set_spacing ##### -->
<para>
</para>
@icon_view:
@spacing:
<!-- ##### FUNCTION gtk_icon_view_get_spacing ##### -->
<para>
</para>
@icon_view:
@Returns:
<!-- ##### FUNCTION gtk_icon_view_set_row_spacing ##### -->
<para>
</para>
@icon_view:
@row_spacing:
<!-- ##### FUNCTION gtk_icon_view_get_row_spacing ##### -->
<para>
</para>
@icon_view:
@Returns:
<!-- ##### FUNCTION gtk_icon_view_set_column_spacing ##### -->
<para>
</para>
@icon_view:
@column_spacing:
<!-- ##### FUNCTION gtk_icon_view_get_column_spacing ##### -->
<para>
</para>
@icon_view:
@Returns:
<!-- ##### FUNCTION gtk_icon_view_set_margin ##### -->
<para>
</para>
@icon_view:
@margin:
<!-- ##### FUNCTION gtk_icon_view_get_margin ##### -->
<para>
</para>
@icon_view:
@Returns:
<!-- ##### FUNCTION gtk_icon_view_select_path ##### -->
<para>
...
...
docs/reference/gtk/tmpl/gtklabel.sgml
View file @
203e5edc
...
...
@@ -200,6 +200,11 @@ described below.
</para>
<!-- ##### ARG GtkLabel:max-width-chars ##### -->
<para>
</para>
<!-- ##### ARG GtkLabel:mnemonic-keyval ##### -->
<para>
...
...
@@ -334,6 +339,15 @@ The pattern of underlines you want under the existing text within the
@n_chars:
<!-- ##### FUNCTION gtk_label_set_max_width_chars ##### -->
<para>
</para>
@label:
@n_chars:
<!-- ##### FUNCTION gtk_label_get ##### -->
<para>
Gets the current string of text within the #GtkLabel and writes it to
...
...
@@ -495,6 +509,15 @@ Gtk+ 1.0.x.
@Returns:
<!-- ##### FUNCTION gtk_label_get_max_width_chars ##### -->
<para>
</para>
@label:
@Returns:
<!-- ##### FUNCTION gtk_label_get_label ##### -->
<para>
...
...
docs/reference/gtk/tmpl/gtkliststore.sgml
View file @
203e5edc
...
...
@@ -213,6 +213,30 @@ run on older versions of GTK+, it is worth keeping the iter around.
@store:
<!-- ##### FUNCTION gtk_list_store_insert_with_values ##### -->
<para>
</para>