Commit Graph

236 Commits

Author SHA1 Message Date
zeljan1
0ba6e1faaa Gtk3: surpress asertions in gtk when window have parent. 2025-02-22 10:03:26 +01:00
zeljan1
f03ffdbbd9 Gtk3: make combobox autocomplete work. 2025-02-22 09:28:30 +01:00
zeljan1
30fb2bbc22 Gtk3: implemented text selection options for GtkComboBox. 2025-02-22 08:46:32 +01:00
zeljan1
1923d653dc Gtk3: use gdk_window_get_device_position() when is_hint = 1 inside mouse move event. 2025-02-21 22:51:16 +01:00
zeljan1
dc40fbaf65 Gtk3: better fix for crash. issue #41449 2025-02-21 20:13:59 +01:00
zeljan1
b4bb6f4b64 Gtk3: do not trigger accidental visibilty of scrollbars. 2025-02-21 18:53:21 +01:00
zeljan1
8032aa76d3 Gtk3: hint window should not take focus in any case. ScrolledWindow must be cheated for scrollbar policy since many TCustomControl components does not use scrollbars at all. Edited in gtk3 IDE :) 2025-02-21 18:25:55 +01:00
zeljan1
d8cd947b55 Gtk3: fixed crash if handle vanish during input event.issue #41449 2025-02-21 17:52:46 +01:00
zeljan1
5710c5537a Gtk3: fixed Application.IntfActivate, Application.IntfDeactivate. 2025-02-21 17:46:26 +01:00
zeljan1
2877b3ee27 Gtk3: we must resize GtkNotebook, not GtkEventBox actually. 2025-02-21 13:32:47 +01:00
zeljan1
c3c4a8132b Gtk3: check if control has caret before destroying caret. 2025-02-21 12:40:19 +01:00
zeljan1
01d0c7d35c Gtk3: cleanup 2025-02-21 10:27:02 +01:00
zeljan1
b119620f45 Gtk3: do not try to draw caret at design time widget. 2025-02-21 10:24:54 +01:00
zeljan1
e4db21c499 Gtk3: make LM_CONTEXTMENU msg work. 2025-02-21 10:22:51 +01:00
zeljan1
20d4d59a0b Gtk3: finally useable caret without workaround widget for wayland. 2025-02-21 10:10:24 +01:00
zeljan1
5aa6b16f09 Gtk3: Client area of TGtk3CustomControl is PGtkLayout now, fixed sizing of controls like TEditBtn etc. 2025-02-20 17:13:13 +01:00
zeljan1
790e387825 Gtk3: do not invalidate whole area if rect is empty. 2025-02-13 09:03:23 +01:00
zeljan1
3ac22c5abe Gtk3: fixed transient window for borderless windows with popupparent. 2025-02-12 16:21:39 +01:00
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