lazarus/lcl/interfaces/gtk3
maxim bfd7b1a813 Merged revision(s) 53099 #7fc07f3753, 53590 #3ca728a0e7, 53653 #273d60e1e3, 53705 #bc9a802ce1 from trunk:
LCL-GTK2: Remove tests for "(gtk_major_version = 2) and (gtk_minor_version < 17)". Caused error with backspace on TEdit. Issue #30596.
........
LCL-Gtk2: Simplify TGtk2WSCustomListView.ItemSetState. Nil as Path param does not work for old GTK versions. Reported by Luca Olivetti.
........
LCL-GTK2: Fix a cursor move error when selected text was replaced by typing. Issue #30596.
........
GTK2/GTK3: Fix TOpenDialog.Files if ofAllowMultiSelect is not in Options. Issue #0031133.
........

git-svn-id: branches/fixes_1_6@53786 -
2016-12-27 22:36:16 +00:00
..
gtk3bindings gtk3: added cairo_format_stride_for_width(). Patch by Cedric. issue #27205 2014-12-30 19:13:08 +00:00
alllclintfunits.pas
gtk3cellrenderer.pas
gtk3defines.inc
gtk3int.pas LCL: Fix compilation of CustomDrawn and GTK3 widgetsets with NoLazUTF8Wrappers defined. 2015-02-07 09:39:53 +00:00
gtk3lclintf.inc gtk3: fixed inverted r & b colors on masked images. issue #27224 2015-01-02 18:23:50 +00:00
gtk3lclintfh.inc
gtk3object.inc Gtk3: initialize TGValue. 2014-11-24 07:50:18 +00:00
gtk3objects.pas LCL: Fix compilation of CustomDrawn and GTK3 widgetsets with NoLazUTF8Wrappers defined. 2015-02-07 09:39:53 +00:00
gtk3private.pas LCL: use TFileStreamUtf8 for LoadFromFile/SaveToFile for Grids, TTextStrings, TWin32MemoStrings, TWinCEMemoStrings, TQtMemoStrings, TGtk2MemoStrings, TGtk3MemoStrings, 2014-11-07 14:52:30 +00:00
gtk3procs.pas lcl: less with-blocks for FPC 3.1.1 2015-11-11 13:24:06 +00:00
gtk3widgets.pas Gtk3: use simple changed signal for changed event in gtkentry and other related classes. 2015-05-20 09:00:18 +00:00
gtk3winapi.inc lcl: less with-blocks for FPC 3.1.1 2015-11-11 13:24:13 +00:00
gtk3winapih.inc lcl: less with-blocks for FPC 3.1.1 2015-11-11 13:24:13 +00:00
gtk3wsbuttons.pp
gtk3wscalendar.pp
gtk3wschecklst.pp
gtk3wscomctrls.pp Merged revision(s) 53376 #69a39c63a3, 53485 #85e7d6da06 from trunk: 2016-12-06 22:58:52 +00:00
gtk3wscontrols.pp LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067. 2015-11-29 18:45:53 +00:00
gtk3wsdialogs.pp Merged revision(s) 53099 #7fc07f3753, 53590 #3ca728a0e7, 53653 #273d60e1e3, 53705 #bc9a802ce1 from trunk: 2016-12-27 22:36:16 +00:00
gtk3wsextctrls.pp
gtk3wsextdlgs.pp gtk3: added gtk3wsextdlgs. Fixed crash with TOpenPictureDialog. issue #27216 2014-12-30 20:15:23 +00:00
gtk3wsfactory.pas LCL: Remove arrow from widgetsets. 2015-06-05 17:11:00 +00:00
gtk3wsforms.pp merge r51019 #bbb3a9aa1d,r51022,r51023,r51032,r51036,r51044,r51046,r51047,r51049: PopupParent/PopupMode bug fixes: 2015-12-27 20:27:38 +00:00
gtk3wsimglist.pp
gtk3wsmenus.pp gtk3: implemented TPopupMenu.OnClose. 2015-01-04 19:48:38 +00:00
gtk3wsspin.pp
gtk3wsstdctrls.pp LCL: fixed GetDefaultColor for TStaticText, TNoteBook, TTabSheet, TGroupBox, bug #26535 2014-08-06 16:54:36 +00:00
interfaces.pp
Makefile IDE+lazbuild+makefiles: on darwin use -gw instead of -g 2015-10-01 18:40:54 +00:00
Makefile.compiled
Makefile.fpc IDE+lazbuild+makefiles: on darwin use -gw instead of -g 2015-10-01 18:40:54 +00:00
README.txt

TODO:
* Cursors
* Themes (gtk3themes)
* Paint system (brush is critical)
* Paint system coordinates and transformations.
* Paint system text
* RawImage (bitmap, device)
* Other missing ws controls (trayicon, dragimagelist, splitter etc).
* Clipboard
* Caret
* Dialogs
* Designer
* Fix modal windows behaviour under kwin (metacity and xfwm works ok for now).
* For beta status move all signal handlers into separate unit, so gtk3widgets stay
  clean.
* Keep interface as simple as possible ! *
* If there's any problem which is fixed unlogical code,
  check if it's gtk3 bug first.



*KNOWN PROBLEMS:
1. GtkTextView inside GtkScrolledWindow with disabled scrollbars (GTK_POLICY_NONE)
   grows memo control. Seem that it's fixed in 3.8.2
   https://bugzilla.gnome.org/show_bug.cgi?id=688472
   https://bugzilla.gnome.org/show_bug.cgi?id=658928
   POSSIBLE SOLUTION IS TO OVERRIDE PGtkTextViewClass() for get_preferred_size

2. cairo clip rect in paint event have strange bounds when it paints only part
   of control (added temporary workaround after TGtk3Widget.GtkEventPaint call).

3. Window state isn't accurate (GtkWindow active/inactive property isn't updated
   correctly by gtk.

4. GtkNotebook switch-page cannot control is we forbid page switch when user clicks
   on it (tab).

Some links about gtk3:
http://igurublog.wordpress.com/tag/gtk3/


*NAMING OF UNITS* inside of gtk3bindings subdirectory:
All units are prefixed with laz eg. lazgtk3.pas to avoid
clashes with future versions of fpc which will probably have package named gtk3
and gtk3.pas unit inside.