highlights of gtk
TRANSCRIPT
-
8/14/2019 Highlights of GTK
1/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10Kristian RietveldKristian Rietveld
[email protected]@imendio.comTim JanikTim Janik
[email protected]@imendio.com
-
8/14/2019 Highlights of GTK
2/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
22 3636
Agenda
Upcoming release Improvements
After 2.10
Summary
-
8/14/2019 Highlights of GTK
3/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
33 3636
Upcoming Release
GTK+ 2.10 expected next week Longer release cycle than usual
Project Ridley
Performance
Comes with GLib 2.12, Pango 1.14
-
8/14/2019 Highlights of GTK
4/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
44 3636
Improvements
Glib and Pango
GTK+
-
8/14/2019 Highlights of GTK
5/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
55 3636
GLib and Pango
GLib Memory Management
GLib Type System Changes Other Improvements
GLib Round Up
Pango
-
8/14/2019 Highlights of GTK
6/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
66 3636
GLib Memory Management
New memory management API: GSlice Got rid of:
GMemChunk
GAllocator
-
8/14/2019 Highlights of GTK
7/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
77 3636
GLib Memory Management (cont.)
Allocating and freeing:
yourmem = g_slice_new (StructureType);
g_slice_free (StructureType, yourmem);
Debugging:
G_SLICE=always-mallocG_DEBUG=gc-friendly
-
8/14/2019 Highlights of GTK
8/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
88 3636
GLib Type System Changes
G_TYPE_HASH_TABLE (reference counted hash tables)
G_TYPE_GTYPE to store types in GValues and properties
GInitiallyUnowned: moved initial floating reference fromGtkObject
-
8/14/2019 Highlights of GTK
9/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
99 3636
Other Improvements
GBookmarkFile: a parser for files containing bookmarksstored using the Desktop Bookmark specification
Priority sorting in GAsyncQueue
Reaping of idle threads from GThreadPool
-
8/14/2019 Highlights of GTK
10/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1010 3636
GLib Round Up
Some significant core changes (MainLoop, etc.)
Many misc improvements, optimizations and bugfixes
Lots of good improvements to the documentation
Many translation updates as always
-
8/14/2019 Highlights of GTK
11/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1111 3636
Pango
Many different optimizations
Updates to Unicode 4.1
ATSUI support (OS X backend)
-
8/14/2019 Highlights of GTK
12/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1212 3636
Pango (Cont.)
Documentation improvements Support for conditional compilation
Usual load of bugfixes (50+)
Some code cleanups
-
8/14/2019 Highlights of GTK
13/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1313 3636
GTK+
Image File Loading
Win32 Backend Theming
File Chooser
GtkTreeView
Other Improvements
New Additions
-
8/14/2019 Highlights of GTK
14/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1414 3636
Image File Loading
GdkPixbuf Save TIFF
Load 16 bit PNM
Partial loading of animated GIFs
-
8/14/2019 Highlights of GTK
15/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1515 3636
Win32 Backend
Windows support
Win32 backend updates
WIMP updates
-
8/14/2019 Highlights of GTK
16/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1616 3636
Theming Enhancements
Symbolic colors
color[my-red] = { 1.0, 0.0, 0.0 }bg[NORMAL] = lighter(@my-red)
Notebook tabulators
Spacing and padding
Customized expanders and resize grips
-
8/14/2019 Highlights of GTK
17/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1717 3636
Theming Example
GtkRange style properties
-
8/14/2019 Highlights of GTK
18/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1818 3636
File Chooser
Performance
Now fully asynchronous
Location entry always visible
-
8/14/2019 Highlights of GTK
19/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
1919 3636
Location Entry
f
-
8/14/2019 Highlights of GTK
20/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2020 3636
GtkTreeView
Filter/sort model Theming
Search popup improvements
Rubber banding (demo!)
fhl h f G 2 0
-
8/14/2019 Highlights of GTK
21/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2121 3636
Other Improvements
Rich text copy and paste in GtkTextView
Display closing / migration
Notebook DnD (demo!)
hl h f G 2 0Hi hli h f GTK 2 10
-
8/14/2019 Highlights of GTK
22/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2222 3636
New Additions
Backends
GtkAssistant
GtkStatusIcon Cell renderers
Recent files
Printing Other Additions
Hi hli h f GTK 2 10Hi hli h f GTK 2 10
-
8/14/2019 Highlights of GTK
23/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2323 3636
Backends
Two new backends Mac OS X (Quartz / CoreGraphics)
DirectFB
Both are functional, but not 100% finished
Hi hli h f GTK 2 10Hi hli ht f GTK 2 10
-
8/14/2019 Highlights of GTK
24/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2424 3636
OS X backend
Hi hli ht f GTK 2 10Hi hli ht f GTK+ 2 10
-
8/14/2019 Highlights of GTK
25/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2525 3636
GtkAssistant
Replaces GnomeDruid Single class
More flexible
Demo!
Hi hli ht f GTK+ 2 10Highlights of GTK+ 2 10
-
8/14/2019 Highlights of GTK
26/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2626 3636
GtkStatusIcon
Already in wide use due to libegg
Also support for Win32 tray icons
Highlights of GTK+ 2 10Highlights of GTK+ 2 10
-
8/14/2019 Highlights of GTK
27/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2727 3636
Cell Renderers
GtkCellRendererSpin
GtkCellRendererAccel
Highlights of GTK+ 2 10Highlights of GTK+ 2 10
-
8/14/2019 Highlights of GTK
28/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2828 3636
Recent Files
Widgetry for selecting recently used files Infrastructure for maintaining the list of recent files
Slides of Sunday's talk are at
http://o-hand.com/~ebassi/2006-guadec-recent-files/
Highlights of GTK+ 2 10Highlights of GTK+ 2 10
-
8/14/2019 Highlights of GTK
29/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
2929 3636
Printing
Cross-platform printing support GtkPrintOperation, for setting up the job
Page setup and print dialogs
Talk yesterday
Highlights of GTK+ 2 10Highlights of GTK+ 2 10
-
8/14/2019 Highlights of GTK
30/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
3030 3636
Other Additions
GtkLinkButton
Replaces GnomeHRef
Touchscreen mode
Highlights of GTK+ 2 10Highlights of GTK+ 2 10
-
8/14/2019 Highlights of GTK
31/36
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
3131 3636
After 2.10
GTK+ 2.12 release during January 2007
Don't expect 3.0 anytime soon
Want to avoid breaking API for a while
Highlights of GTK+ 2 10Highlights of GTK+ 2.10
-
8/14/2019 Highlights of GTK
32/36
Highlights of GTK+ 2.10Highlights of GTK 2.10
3232 3636
GTK+ 2.12
GtkBuilder
Canvas New tooltips API
Introspection
GtkEntry (libsexy, multi-line) International calendar support
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
-
8/14/2019 Highlights of GTK
33/36
Highlights of GTK 2.10Highlights of GTK 2.10
3333 3636
Summary
GTK+ 2.10 out next week
Printing Recent files
New widgets
Lots of improvements
GTK+ 2.12 during January 2007 Will be really awesome too!
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
-
8/14/2019 Highlights of GTK
34/36
Highlights of GTK 2.10Highlights of GTK 2.10
3434 3636
Thanks
The GTK+ and GLib Team
The Pango Maintainers
All translation teams
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
-
8/14/2019 Highlights of GTK
35/36
Highlights of GTK 2.10g g s o G . 0
3535 3636
More information
http://www.gtk.org/
http://o-hand.com/~ebassi/2006-guadec-recent-files/
Blog entries on Planet GNOME
Highlights of GTK+ 2.10Highlights of GTK+ 2.10
http://www.gtk.org/http://www.gtk.org/ -
8/14/2019 Highlights of GTK
36/36
g g s o G . 0g g
Questions?
Was anybody down at the beach when the sun came up on Saturday?