Commit Graph

218 Commits

Author SHA1 Message Date
zeljan1
d33c56d5d4 Gtk3: implemented shaped window (toplevel). 2025-02-12 11:15:37 +01:00
zeljan1
597fe6af9d Gtk3: debug for keypresses. 2025-02-11 21:39:14 +01:00
zeljan1
82f47a7b6f Gtk3: fixed loading smallimages in TistView.ViewStyle = vsSmallIcon 2025-02-11 09:58:54 +01:00
zeljan1
07f655053d Gtk3: hide toplevels by default when handle is created , only LCL should show it. issue #41412 2025-02-07 21:41:12 +01:00
zeljan1
f14ddd7eea Gtk3: fixed ClientHeight does not equal to Height on wayland.Patch by Anton Kavalenka. issue #41345 2025-02-07 15:52:07 +01:00
zeljan1
8cece17ba8 Gtk3: Encapsulated PGdkCursor, fixed CreateCompatibleDC(). 2025-02-06 23:06:19 +01:00
zeljan1
670719349b Gtk3: fixed few memleaks found by valgrind. 2025-02-05 21:56:45 +01:00
zeljan1
76147c8a4e Gtk3: implemented LargeImages in TCustomListView.ViewStyle = vsIcon, fixed memleak. 2025-02-05 19:41:43 +01:00
zeljan1
d88398cd3a Gtk3: better handling of TCustomListView.ShowColumnHeader when ViewStyle=vsReport. 2025-02-05 16:06:16 +01:00
zeljan1
8a902339bf Gtk3: fixed TCustomListView setting clDefault color, fixed ItemDisplayRect. 2025-02-05 14:05:17 +01:00
zeljan1
0a2ec46c51 Gtk3: implemented checkable TCustomListView. 2025-02-05 13:20:08 +01:00
zeljan1
cd67b9603c Gtk3: implemented TGtk3ListView.ShowRow(), partially implemented TGtk3WSComCtrls.ItemShow 2025-02-05 10:25:34 +01:00
zeljan1
26a8fe1765 Gtk3: fixed TGtk3ListView.setColor, implemented ItemGetPosition, recreate handle when ViewStyle of list is changed. 2025-02-05 10:01:09 +01:00
zeljan1
548f2b0657 Gtk3: rewritten TGtk3Caret so it works under wayland too. issue #41395 2025-02-04 08:28:10 +01:00
Maxim Ganetsky
e62036a5be Revert "LCL-GTK3: Make fsStayOntop work, Issue #41253, patch by Anton Kavalenka."
This reverts commit 46fad95a74
2025-01-31 21:35:41 +00:00
zeljan1
aae76e11e3 Gtk3: we actually must paint LCLObject.Color on GtkFixed, or use css. issue #41391 2025-01-31 20:05:58 +01:00
zeljan1
1d5796a663 Gtk3: do not use set_no_show_all() for windows and notebooks. 2025-01-31 18:34:34 +01:00
zeljan1
95786ee691 Gtk3: fixed issue when hide mapped container. issue #41387 2025-01-31 18:26:07 +01:00
Juha
46fad95a74 LCL-GTK3: Make fsStayOntop work, Issue #41253, patch by Anton Kavalenka. 2025-01-31 19:10:36 +02:00
zeljan1
37bb0cb225 Gtk3: fixed crash of comboBox, added check to avoid infinte loop when setting allocation, simplified code. 2025-01-29 12:20:07 +01:00
zeljan1
e454516c68 Gtk3: fixed mem leak with PPangoFontDescription. Patch by Anton Kavalenka. issue #41372 2025-01-28 22:58:16 +01:00
zeljan1
ec59292d9e Gtk3: Fixed PGtkComboBoxPrivate layout, fixed items painting and sizing of combobox according to the new updated private class. 2025-01-28 22:42:50 +01:00
zeljan1
cc4e6da36b Gtk3: implemented listview ItemDisplayRect 2025-01-25 23:15:00 +01:00
zeljan1
375aee0658 Gtk3: set background color. Patch by Anton Kavalenka. issue #41348 2025-01-25 21:59:24 +01:00
zeljan1
5eded0d07e Gtk3: fixed loop with paint, stalled code. 2025-01-25 21:31:21 +01:00
zeljan1
16be2ec0a6 Gtk3: update scroll event, some code leaved inside debug define. 2025-01-25 20:07:04 +01:00
zeljan1
938a777f5a Gtk3: fixed scrolling and proper painting of TCustomControl, reduce number of unnecessary events. 2025-01-25 19:27:22 +01:00
zeljan1
7dfce26b3a Gtk3: do not queue draw widget area if rect have invalid width or height. 2025-01-23 22:54:54 +01:00
Bart
80b7b1fa95 GTK3: implements TColorDialog.AlphaChannel and TColorDialogOption.cdPreventFullOpen. Patch by Anton Kavalenka. Part of Issue #22717. 2025-01-23 18:40:14 +01:00
zeljan1
a48730d17a Gtk3: fixed doubled resize events for TCustomForm, fixed TCustomForm getClientRect. 2025-01-23 11:19:26 +01:00
zeljan1
0661301110 Gtk3: cleanup. 2025-01-23 09:17:39 +01:00
zeljan1
a2153c9bcb Gtk3: TToolbar should be TCustomControl, also this is first commit maded with lazarus-gtk3 ide :), just few secs after those changes it crashed :)))) 2025-01-22 23:30:34 +01:00
zeljan1
52468145b6 Gtk3: fixed TCustomTabControl/TCustomPage sizing, fixed bug where Widget property getter initialized widget if it's destroyed. 2025-01-22 23:07:57 +01:00
zeljan1
54e4530082 Gtk3: fixed invalid size from TGtk3WidgetSet.GetClientRect. issue #41343 2025-01-22 13:17:27 +01:00
zeljan1
372fc3b29c Gtk3: safe guard against duplicate signal assignment. 2025-01-21 16:18:01 +01:00
zeljan1
4c92117a9a Gtk3: more debug, check if widget is realized in SetBounds. 2025-01-21 14:26:51 +01:00
zeljan1
9d0d6b229a Gtk3: TCustomControl should start without scrollbars by any meaning, so it uses correct size setted up by lcl. Scrollbar sizes are loaded dynamically now. issue #41338 2025-01-20 21:36:24 +01:00
zeljan1
fd3a20f5c9 Gtk3: Fixed sizing of group box and relatives checkgroup and radiogroup, fixed radiobutton gtk asserts because of HiddenRadioButton 2025-01-20 19:23:41 +01:00
zeljan1
baef5a1511 Gtk3: fixed ownerdraw combobox. 2025-01-19 21:38:31 +01:00
zeljan1
24bf163157 Gtk3: Implemented LCLGtkSpinButton to fix sizing of GtkSpinButton, especially autosize. 2025-01-19 20:22:04 +01:00
zeljan1
834f380863 Gtk3: applied scrollbars size to client rect if overlay scrolling is enabled. 2025-01-19 17:52:15 +01:00
zeljan1
0c0b6882c0 Gtk3: Fixed button sizing/autosizing by introducing LCLGtkButton class, fixed SetScrollInfo, fixed GetClientRect for all scrollable widgets. 2025-01-18 23:33:42 +01:00
zeljan1
b230dabbd3 Gtk3: removed unused code. 2025-01-17 22:57:59 +01:00
zeljan1
6022d3d881 Gtk3: connect proper methods to value-changed of scrollbars. 2025-01-17 21:42:18 +01:00
zeljan1
f35e1cc8ec Gtk3: Create TMainMenu handle (menubar) on demand, needed when TMainMenu is created dynamically at runtime, eg Lazarus IDE. 2025-01-17 19:59:43 +01:00
zeljan1
fd05614958 Gtk3: use TLMessage instead of TLMMouse. 2025-01-17 19:32:59 +01:00
zeljan1
11d421735f Gtk3: fixed TGtk3Button OnClick 2025-01-17 18:47:10 +01:00
zeljan1
acd16b6b41 Gtk3: use new LCLGtkComboBox and LCLGtkEntry classes, reorganized code, now all pure gtk3 callbacks are static class methods. 2025-01-17 18:29:33 +01:00
zeljan1
efd17f0d68 Gtk3: use LazLogger. 2025-01-16 07:36:30 +01:00
zeljan1
318f3825b7 Gtk3: fixed crash in TGtk3ScrolledWin. 2025-01-15 22:33:07 +01:00