mattias
7eb893ea23
lcl: gtk3: fixed gtk warnings with docked forms
2023-07-31 13:30:36 +02:00
Juha
e65a102527
Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x.
2023-07-07 17:39:03 +03:00
Juha
211d95da17
LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them.
2023-07-03 11:17:01 +03:00
Juha
69d50106c9
LCL-GTK3: Fix wrong types found by -Sy compiler option. Some were wrong, some needed a typecast.
2023-07-02 10:03:22 +03:00
Abou Al Montacir
58645a39f4
GTK3: Fixed crash on Win64 after recent changes on GTK3 hints.
...
Seems that on Win64, `FHintControl` is not always a valid `TWinControl`
class instance.
2023-06-25 20:31:16 +02:00
Abou Al Montacir
06ec2750ca
GTK3: Passed handle of hint win control to WS inside hint data pointer.
...
Closes #40331 .
GTK3 WS needs to get that handle in order to retrieve the parent window
which need to be set as transient of the newly created popup window.
This is a required by GTK3 documentation as one can see in
https://docs.gtk.org/gtk3/method.Window.set_transient_for.html
This patch needs to touch common LCL code, but `HintData` files does
not seem to be really used.
2023-06-24 13:59:53 +00:00
Abou Al Montacir
a739298781
GTK3: Updated Gtk3 set types after recent changes in git2pas.
...
Now that `gir2pas` is able to generate correctly set types for C enums,
we migrated more C enums to set type.
This required some changes in the Gtk3 WS code.
2023-06-05 22:38:41 +00:00
Abou Al Montacir
a5c67a943f
GTK3: Updated Gdk3 set types after recent changes in git2pas.
...
Now that `gir2pas` is able to generate correctly set types for C enums,
we migrated more C enums to set type.
This required some changes in the Gtk3 WS code.
2023-06-04 18:02:11 +00:00
Abou Al Montacir
e42a3c7df7
GTK3: Migrate TGtkSortType to enumeration type.
...
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkSortType` is defined as
an enumeration type. This commit fixes those errors.
2023-06-01 23:21:44 +00:00
Abou Al Montacir
22c6d6658f
GTK3: Migrate TGtkTreeViewColumnSizing to enumeration type.
...
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkTreeViewColumnSizing` is
defined as an enumeration type. This commit fixes those errors.
2023-06-01 23:21:44 +00:00
Abou Al Montacir
7eedf76e73
GTK3: Migrate TGdkScrollDirection to enumeration type.
...
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGdkScrollDirection` is
defined as an enumeration type. This commit fixes those errors.
2023-06-01 23:21:44 +00:00
Abou Al Montacir
9c0c7bfd1c
GTK3: Migrate TGdkModifierType to enumeration set.
...
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGdkModifierType` is defined
as an enumeration set type. This commit fixes those errors.
Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
2023-06-01 13:43:46 +00:00
Abou Al Montacir
20539aaeb5
GTK3: Migrate TGtkStateFlags to enumeration.
...
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkStateFlags` is
defined as an enumeration type. This commit fixes those errors.
2023-05-31 22:47:26 +00:00
Abou Al Montacir
54979c4ae2
GTK3: Migrate TGtkResponseType to enumeration.
...
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkResponseType` is defined
as an enumeration type. This commit fixes those errors.
2023-05-30 17:04:29 +02:00
Abou Al Montacir
fa222b9d1f
GTK3: Migrate some scrolling related C enum types to enumeration types.
...
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkTextDirection`,
`TGtkAccelFlags`, `TGtkDirectionType` , `TGtkOrientation` and
`TGtkDestDefaults` are defined as an enumeration type.
This commit fixes those errors.
2023-05-30 12:16:18 +00:00
Abou Al Montacir
7f8eec753e
GTK3: Migrate TGdkEventMask to enumeration set.
...
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGdkEventMask` is defined
as an enumeration set type. This commit fixes those errors.
Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
```
2023-05-29 13:20:48 +00:00
Abou Al Montacir
49572afe43
GTK3: Migrate GtkConnectFlags to enumeration type.
...
In Gtk3 WS code, 0 was used instead of `G_CONNECT_DEFAULT`.
This leads to compilation error now that `GtkConnectFlags` is defined
as an enumeration type. This commit fixes those errors.
2023-05-28 15:21:43 +00:00
Abou Al Montacir
10ab7f6f12
GTK3: Migrate GtkPolicyType to enumeration type.
...
Now, `git2pas` produces enumeration types when translating C enums.
This implies changes in WS support files as Pascal enumeration types
are not compatible with integers and require explicit cast.
In order to avoid explicit casts, some internal functions API were
changed so that the code remains clean without unneeded type casts.
2023-05-28 11:58:14 +02:00
Željan Rikalo
235809a870
Gtk3: fixed TPanel constraints. Patch by Anton Kavalenka. issue #39925
2022-09-22 12:45:51 +02:00
Juha
8def460511
LCL-GTK3: Fix regression with form decoration on Wayland. Issue #39898 , patch by Anton Kavalenka.
2022-09-17 18:03:34 +03:00
Juha
02115d373b
LCL-GTK3: Turn WriteLn into DebugLn. Make sure they compile. Cleanup.
2022-01-20 19:30:40 +02:00
Juha
f120539d03
LCL-GTK3: Show applications better under KWin. Issue #39367 , patch by Anton Kavalenka.
2021-09-30 17:30:27 +03:00
juha
7b60b545a7
LCL-GTK3: Fire TLabel.OnClick also when inside a TGroupBox. Issue #39035 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65313 -
2021-06-27 09:01:21 +00:00
juha
587b7a8582
LCL-GTK3: Fix TEdit width, show hint when mouse stops. Issues #39036,#39039, patch by Anton Kavalenka.
...
git-svn-id: trunk@65302 -
2021-06-24 17:40:18 +00:00
juha
4a7413fce7
LCL-GTK3: Prevent a crash in Manjaro Linux. Issue #38914 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65298 -
2021-06-23 18:19:15 +00:00
juha
a610d1108f
LCL-GTK3: Fix window position flags poDefault, poDefaultPosOnly etc. Issue #39029 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65287 -
2021-06-22 05:55:43 +00:00
juha
c2a25b1805
LCL-GTK3: Show form's title bar in all window managers with border style bsSingle. Issue #39013 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65260 -
2021-06-17 22:42:24 +00:00
juha
13f7dbd914
LCL-GTK3: Fix PageControl with some tabs hidden. Issue #39010 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65253 -
2021-06-16 21:52:18 +00:00
juha
a1e67490c9
LCL-GTK3: Make ListView handle selection change and generate LCL message. Issue #39007 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65250 -
2021-06-16 21:21:14 +00:00
juha
dadb9c7e8d
LCL-GTK3: Display Listview icons in vsIcon mode. Issue #38942 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65215 -
2021-06-11 07:07:09 +00:00
juha
1d89d15e0a
LCL-GTK3: Fix MouseUp events, display Listview icons in vsIcon mode. Issues #38941 and #38942 .
...
git-svn-id: trunk@65191 -
2021-06-10 20:17:21 +00:00
juha
7959d2ab7c
LCL-GTK3: Make Listview display icons in list mode. Issue #38914 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65120 -
2021-05-21 09:50:57 +00:00
mattias
7b2e9d9bbd
lcl gtk3: undo visible check, issue #38886
...
git-svn-id: trunk@65112 -
2021-05-13 18:16:14 +00:00
juha
c91719848f
LCL-GTK3: Fix TrackBar better. Issue #38620 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65109 -
2021-05-13 07:07:18 +00:00
mattias
a62a8da59f
lcl gtk3: fixed gtk warnings
...
git-svn-id: trunk@65104 -
2021-05-10 17:17:39 +00:00
mattias
8a28cfb7aa
lcl: gtk3: less hints
...
git-svn-id: trunk@65103 -
2021-05-10 14:38:34 +00:00
mattias
5e8a217e0d
lcl: gtk3: less hints
...
git-svn-id: trunk@65102 -
2021-05-10 14:08:08 +00:00
mattias
331f647184
lcl: gtk3: less hints
...
git-svn-id: trunk@65100 -
2021-05-10 13:51:57 +00:00
mattias
7879c790a4
lcl: gtk3: less hints
...
git-svn-id: trunk@65099 -
2021-05-10 13:38:54 +00:00
juha
8891a9d277
LCL-GTK3: Fix TrackBar. Issue #38620 , patch by Anton Kavalenka.
...
git-svn-id: trunk@65090 -
2021-05-07 09:07:09 +00:00
juha
8d82fd5325
LCL-GTK3: Support PageControl's all 4 TabPosition values. Issue #38809 , patch from Anton Kavalenka.
...
git-svn-id: trunk@65074 -
2021-04-30 20:59:24 +00:00
juha
5bbea24d10
LCL-GTK3: Fix control font size calculation. Issue #38804 , patch from Anton Kavalenka.
...
git-svn-id: trunk@65064 -
2021-04-27 06:28:24 +00:00
juha
74d9e094a0
LCL-GTK3: Prevent all-black background in controls. Issue #38709 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64949 -
2021-04-10 10:01:07 +00:00
juha
8a0e6f91ee
LCL-GTK3: Move ScreenToClient from winapi to TGtk3Widget. Improve setting FullScreen during creation. Issues #38669 and #38672 .
...
git-svn-id: trunk@64881 -
2021-03-28 19:13:45 +00:00
juha
4c1f609650
LCL-GTK3: Allow maximizing main form during OnCreate. Issue #38669 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64879 -
2021-03-28 09:02:41 +00:00
juha
6fb06881e3
LCL-GTK3: Fix popUp menu position with component Click. Issue #38647 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64874 -
2021-03-27 18:36:34 +00:00
juha
01aadf340e
LCL-GTK3: Prevent a crash while exiting. Issue #38635 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64841 -
2021-03-20 10:16:33 +00:00
juha
692175a06d
LCL-GTK3: My own component renders empty caption. Issue #38621 , patch by Anton Kavalenka.
...
git-svn-id: trunk@64836 -
2021-03-18 18:01:29 +00:00
juha
1d097a9a7d
LCL-GTK3: Improve bitmap drawing etc. Issue #38567 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64802 -
2021-03-14 08:12:17 +00:00
juha
aa364c1cfc
LCL-GTK3: Fix TPanel paint. Issue #38562 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64740 -
2021-03-03 15:45:13 +00:00
juha
91293d82bb
LCL-GTK3: Fix empty form resize and some housekeeping. Issue #38447 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64511 -
2021-02-08 21:04:48 +00:00
juha
25f463a798
LCL-GTK3: Make drawtext use proper default color etc. Issue #38335 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64368 -
2021-01-09 20:41:22 +00:00
juha
6813e28eef
LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
...
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
dc642ae69d
LCL-GTK3: Redesign Hint window support. Issue #37351 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64067 -
2020-10-24 12:29:35 +00:00
juha
610353511b
LCL-GTK3: Housekeeping with minor fixes. Rename TGtk3DeviceContext Widget to pcr (pointer to Cairo). Issue #37933 , patch from Anton Kavalenka.
...
git-svn-id: trunk@64031 -
2020-10-16 20:10:32 +00:00
juha
935b33a771
LCL-GTK3: Implement ApplicationProperties.OnActivate/OnDeactivate. Issue #37867 , patch from Anton Kavalenka.
...
git-svn-id: trunk@63957 -
2020-10-04 19:12:11 +00:00
juha
5d144b780e
LCL-GTK3: Improve handling of ascii chars, improve code readability. Issue #37826 , patch from Anton Kavalenka.
...
git-svn-id: trunk@63948 -
2020-10-03 09:30:59 +00:00
juha
36dd059fc3
LCL-GTK3: Fix calling button handler. Issue #37804 , patch from Anton Kavalenka.
...
git-svn-id: trunk@63919 -
2020-09-24 09:07:03 +00:00
juha
86323528a8
LCL-GTK3: Implement TextHint for TCustomEdit. Issue #37802 , patch from Anton Kavalenka.
...
git-svn-id: trunk@63911 -
2020-09-23 19:19:26 +00:00
juha
2e27713e66
LCL-GTK3: Improve menu position and RadioItems. Issue #37740 , patch from Anton Kavalenka.
...
git-svn-id: trunk@63896 -
2020-09-20 09:56:38 +00:00
juha
2f35763ff4
LCL-GTK3: Implement Button.OnClick handler. Fix Tab behavior. Issue #37718 , patch from Anton Kavalenka.
...
git-svn-id: trunk@63874 -
2020-09-08 14:37:01 +00:00
ondrej
ef8d6a825e
ComboBox: implement TComboBoxStyle.IsOwnerDrawn and .IsVariable and use them instead of the in [] syntax
...
git-svn-id: trunk@63228 -
2020-05-26 22:25:15 +00:00
ondrej
1c63f54328
ComboBox: more fixes with TComboBoxStyle.HasEditBox
...
git-svn-id: trunk@63225 -
2020-05-26 21:53:31 +00:00
juha
8813eb52b3
LCL-GTK3: Deal with GDK_KEY_Escape. Remove a duplicate test for nil Widget.
...
git-svn-id: trunk@63186 -
2020-05-20 15:20:21 +00:00
zeljko
256824fdd6
Gtk3: implemented scrollbar events. Patch by Anton Kavalenka. issue #36964
...
git-svn-id: trunk@63057 -
2020-04-24 15:26:26 +00:00
zeljko
b089104119
Gtk3: implemented TCustomForm.BorderStyle, TCustomForm.BorderIcons and TCustomForm.AlphaBlend. Patch by Anton Kavalenka. issue #36944
...
git-svn-id: trunk@63045 -
2020-04-21 15:20:03 +00:00
juha
4952e8e45f
LCL-GTK3: Improve TShiftState with MouseDown. Issue #36930 , patch from Anton Kavalenka.
...
git-svn-id: trunk@63039 -
2020-04-20 23:12:55 +00:00
zeljko
6c9c260885
Gtk3: fixed TGroupBox visible status at runtime. Patch by Anton Kavalenka. issue #36938
...
git-svn-id: trunk@63037 -
2020-04-20 17:21:26 +00:00
zeljko
9f35847ffc
Gtk3: fixed setting of radio menuitems. issue #36937
...
git-svn-id: trunk@63036 -
2020-04-20 15:53:19 +00:00
mattias
1cdc2c2c29
lcl: fixed perms
...
git-svn-id: trunk@63024 -
2020-04-19 21:13:17 +00:00
zeljko
29baf5cbce
gtk3: additional fix for gtk3 dialogs. Patch by Anton Kavalenka. issue #36416
...
git-svn-id: trunk@63020 -
2020-04-19 13:33:54 +00:00
zeljko
ed5d93546e
Gtk3: implemented color/font dialogs. Patch by Anton Kavalenka. issue #36416
...
git-svn-id: trunk@63008 -
2020-04-17 17:02:28 +00:00
juha
1bc57e8667
LCL-GTK3: Refactor GetObject winapi wrapper in OO-style. Issue #36888 , patch from Anton Kavalenka.
...
git-svn-id: trunk@62923 -
2020-04-09 15:51:45 +00:00
juha
2c0071a131
LCL-GTK3: Improve autoSizing controls. Issue #36826 , patch from Anton Kavalenka.
...
git-svn-id: trunk@62916 -
2020-04-08 14:57:25 +00:00
juha
01082a807d
LCL-GTK3: Update for swapped R/B colors. Issue #36374 , patch from Anton Kavalenka.
...
git-svn-id: trunk@62842 -
2020-04-01 10:43:20 +00:00
juha
b4312b6446
LCL-GTK3: Improve resizing of TGtk3Window. Makes TSplitter work. Issue #36256 , patch from Anton Kavalenka.
...
git-svn-id: trunk@62694 -
2020-03-05 11:28:33 +00:00
juha
af1924d230
LCL-GTK3: Implement menu icons. TMenuitem.UpdateImage must be made visible (public). Issue #36607 , patch from Anton Kavalenka.
...
git-svn-id: trunk@62586 -
2020-01-24 19:41:19 +00:00
juha
146d5408d0
LCL-GTK3: Cleanup for TGtk3Panel. Issue #36586 , patch from CudaText man.
...
git-svn-id: trunk@62570 -
2020-01-17 22:55:34 +00:00
dmitry
5a402d6cdc
gtk3: implementation for listview sortindication. Patch by Anton Kavalenka. bug #36596
...
git-svn-id: trunk@62569 -
2020-01-17 19:36:58 +00:00
juha
9a9605685f
LCL-GTK3: Fixes for TPanel. Issue #36586 , patch from CudaText man.
...
git-svn-id: trunk@62564 -
2020-01-16 16:15:01 +00:00
juha
6efe880c7b
LCL-GTK3: TextOut with filled background. Issue #36569 , patch from CudaText man.
...
git-svn-id: trunk@62563 -
2020-01-16 16:14:55 +00:00
juha
86dc1c8b72
LCL-GTK3: Show icons in ToolButton style tbsCheck. Issue #36465 , patch from Anton Kavalenka and CudaText man.
...
git-svn-id: trunk@62445 -
2019-12-25 11:26:33 +00:00
juha
a896e7f941
LCL-GTK3: Implement OpenGL Control. Issue #36448 , patch from Ryan Joseph.
...
git-svn-id: trunk@62412 -
2019-12-18 18:25:47 +00:00
juha
5f84d21266
LCL-GTK3: Group RadioButtons also outside a RadioGroup. Issue #36445 , patch from CudaText man.
...
git-svn-id: trunk@62402 -
2019-12-15 21:26:10 +00:00
zeljko
5a05f2845f
Gtk3: fixed TTrackBar TickStyle tsNone still shows numeric label. Patch by CudaText man. issue #36435
...
git-svn-id: trunk@62385 -
2019-12-14 13:19:19 +00:00
juha
6808420bc4
LCL-GTK3: Check if function GetControl returns Nil. Simplify the function itself. Issue #36436 .
...
git-svn-id: trunk@62383 -
2019-12-13 21:55:52 +00:00
juha
0bd01ab2ed
LCL-GTK3: Improve canvas operations. Issue #36374 , patch from Alexey Tor.
...
git-svn-id: trunk@62380 -
2019-12-12 13:53:41 +00:00
juha
04fae0e9d6
LCL-GTK3: Reduce typecasts in methods of TGtk3WSOpenDialog.
...
git-svn-id: trunk@62334 -
2019-12-07 17:30:58 +00:00
zeljko
7d7fd26ec7
gtk3: fixed accelerator char on togglebutton. issue #36255
...
git-svn-id: trunk@62191 -
2019-11-04 14:35:36 +00:00
zeljko
a68352f396
gtk3: fixed accelerators chars. Patch by Alexey Tor. issue #36255
...
git-svn-id: trunk@62190 -
2019-11-04 09:22:53 +00:00
zeljko
d071cb3d7a
gtk3: fixed panel background painting. Patch by Alexey Tor. issue #36259
...
git-svn-id: trunk@62189 -
2019-11-04 09:20:01 +00:00
zeljko
a60c336c4d
gtk3: fixed toolbar buttons appear. Patch by Anton Kavalenka. issue #35667
...
git-svn-id: trunk@62164 -
2019-11-03 15:09:06 +00:00
juha
ba9f2d75a3
LCL-GTK3: Implement setting Combobox caption. Issue #35685 , patch from Anton Kavalenka.
...
git-svn-id: trunk@62101 -
2019-10-21 19:16:20 +00:00
juha
aad625b25e
LCL-GTK2&3: Add more "const" modifiers for string parameters for better performance.
...
git-svn-id: trunk@61370 -
2019-06-12 19:43:11 +00:00
michl
ac8db2aede
LCL: GTK3: Prevent SIGSEGV in Gtk3ScrolledWindowScrollEvent because of bug in GTK3. See https://stackoverflow.com/questions/11775161/gtk3-get-mouse-scroll-direction
...
git-svn-id: trunk@59904 -
2018-12-23 23:13:04 +00:00
juha
a14d6e5c9a
LCL: Change constant $20000000 to MK_ALT. Issue #34481 , patch from AlexeyT.
...
git-svn-id: trunk@59393 -
2018-10-30 11:04:08 +00:00
juha
f1335e9e8a
LCL-GTK3: Fix Splitter and its related code. Issue #34106 , patch from Anton Kavalenka.
...
git-svn-id: trunk@59339 -
2018-10-22 18:23:55 +00:00
juha
82083bfa92
LCL-GTK3: Fix TRadioGroup. It did not work at all. Issue #34396 , patch from Anton Kavalenka.
...
git-svn-id: trunk@59262 -
2018-10-07 08:35:55 +00:00
juha
27955d5237
LCL-GTK3: Reduce warnings. Formatting.
...
git-svn-id: trunk@59261 -
2018-10-07 08:35:48 +00:00
juha
ec579d65bc
LCL-GTK3: Fix menu radio group. Issue #34350 , patch from Anton Kavalenka.
...
git-svn-id: trunk@59191 -
2018-09-30 11:32:10 +00:00
michl
c17527dd30
LCL: Revert revision 58448 #9733fa84ab, 58497 #1a0431a7ad and follows: Set Enabled state after creation of handle, not in flags to ensure child windows have the correct state too.
...
git-svn-id: trunk@58912 -
2018-09-08 20:04:47 +00:00
michl
5ac8647a65
LCL: GTK3: Show controls disabled when Enabled = False. Regression from revision 58448 #9733fa84ab.
...
git-svn-id: trunk@58759 -
2018-08-22 20:56:14 +00:00
zeljko
11c3b18b53
gtk3: make TCanvas.TextRect useable on coordinates <> 0,0. patch by Anton Kavalenka. issue #31933
...
git-svn-id: trunk@58592 -
2018-07-22 07:12:11 +00:00
ondrej
c68b93c58e
lcl: combo box: add new styles csOwnerDrawEditableFixed and csOwnerDrawEditableVariable as replacement for the old ReadOnly property
...
git-svn-id: trunk@55245 -
2017-06-05 19:27:43 +00:00
zeljko
e2c35dd6d1
gtk3: implemented Gtk3MouseWheel() event
...
git-svn-id: trunk@55105 -
2017-05-26 13:49:35 +00:00
zeljko
4eb46c28f3
gtk3widgets: cleanup
...
git-svn-id: trunk@55103 -
2017-05-26 13:09:43 +00:00
zeljko
812fe391ea
gtk3: TGtk3Notebook implemented getPagesCount, do not send change events when page is deleted.
...
git-svn-id: trunk@55102 -
2017-05-26 12:49:33 +00:00
zeljko
c4540692a0
gtk3: fixed assertions in TGtk3Notebook, implemented GetTabRect GetTabIndex
...
git-svn-id: trunk@55099 -
2017-05-26 12:00:19 +00:00
zeljko
f849bd1bab
Gtk3: focus message is not needed under gtk3 since it is organized in different way. Regression from r55062 #09f9152b29
...
git-svn-id: trunk@55063 -
2017-05-23 16:03:27 +00:00
zeljko
09f9152b29
gtk2,gtk3: gtk should always send LM_SETFOCUS before mouse messages, like Qt and Win32 does. issue #31900
...
git-svn-id: trunk@55062 -
2017-05-23 15:39:42 +00:00
mattias
74a0685b73
lcl: gtk3: TGtk3ListView.ItemGetState: use StrToIntDef, from Alexey
...
git-svn-id: trunk@54647 -
2017-04-20 07:09:46 +00:00
juha
24ed61d2db
LCL-GTK3: Free memory block after use. Issue #31638 , patch from Anton Kavalenka.
...
git-svn-id: trunk@54646 -
2017-04-19 19:40:50 +00:00
zeljko
165a5fce27
Gtk3: use simple changed signal for changed event in gtkentry and other related classes.
...
git-svn-id: trunk@49117 -
2015-05-20 09:00:18 +00:00
zeljko
fb6111e65f
gtk3: started imagelist implementation in TListView.
...
git-svn-id: trunk@47417 -
2015-01-18 18:17:05 +00:00
zeljko
5cc6396356
gtk3: do not report debug line for GDK_GRAB_BROKEN as unhandled. GDK_GRAB_BROKEN is usually send when popupmenu is activated over widget.
...
git-svn-id: trunk@47299 -
2015-01-04 19:25:46 +00:00
zeljko
f75635d419
gtk3: implemented LM_CONTEXTMENU and popup menu showing. patch by Cedric, modified by me. issue #27231
...
git-svn-id: trunk@47298 -
2015-01-04 19:19:28 +00:00
andrew
34e10a5eed
gtk3 added note about wrong drawing position inside tpage. added case for gdk_unmap
...
git-svn-id: trunk@43699 -
2014-01-11 03:43:04 +00:00
andrew
fbc2b77b80
renamed xlib2 to lazxlib2
...
git-svn-id: trunk@43674 -
2014-01-08 04:03:42 +00:00
andrew
bf725981ef
gtk3 Added remove implementation for tpagecontrol
...
git-svn-id: trunk@43673 -
2014-01-08 03:18:11 +00:00
andrew
9a1fb28534
gtk3 fixed tpages caption being set on create
...
git-svn-id: trunk@43672 -
2014-01-08 02:37:48 +00:00
andrew
3751b5d0a1
Added function to retrieve TNotebook Tab text
...
git-svn-id: trunk@43670 -
2014-01-07 22:42:04 +00:00
andrew
de64e0a5e3
added setText for gtk3 TPage. still need to set initial page value correctly
...
git-svn-id: trunk@43669 -
2014-01-07 05:55:09 +00:00
andrew
733f28950f
Set TColortoTGdkRGBA alpha to 1 by default
...
git-svn-id: trunk@43668 -
2014-01-07 04:33:09 +00:00
andrew
2c26fb1733
Converted some gtk3 color stuff using GdkRGBA
...
git-svn-id: trunk@43665 -
2014-01-06 22:16:12 +00:00
andrew
be58776d84
added TColorToGdkRGBA and GdkRGBAtoTColor. converted gtk3 code to use the new widget.override_* colors correctly
...
git-svn-id: trunk@43664 -
2014-01-06 20:34:35 +00:00
andrew
66d5951e59
Updated gtk3 bindings to 3.8.6. Also bindings now include the missing error: PPGError on all needed procedures
...
git-svn-id: trunk@43663 -
2014-01-06 19:43:08 +00:00
juha
c30eb3edd3
Clean outdated DEFINEs from the code, like old compiler versions and FPC_HAS_CONSTREF.
...
git-svn-id: trunk@43628 -
2014-01-02 18:16:19 +00:00
zeljko
216a903513
Gtk3: implemented TCustomListView.ItemDelete, fixed crash in gtk3cellrenderer
...
git-svn-id: trunk@43200 -
2013-10-11 08:17:51 +00:00
zeljko
86dacb6100
Gtk3: use LCLIntfCellRenderer for text rendering in TGtk3CheckListBox, so we can use OwnerDraw modes (OnDrawItem event)
...
git-svn-id: trunk@42978 -
2013-09-27 09:02:10 +00:00
zeljko
5cffde6483
gtk3: setted up selection mode on TGtk3CheckListBox
...
git-svn-id: trunk@42975 -
2013-09-27 08:51:28 +00:00
zeljko
d31c6bc623
gtk3: implemented TCheckListBox handle - TGtk3CheckListBox
...
git-svn-id: trunk@42974 -
2013-09-27 08:47:13 +00:00
zeljko
e6338e1d02
gtk3: Implemented TListView.OnSelectItem
...
git-svn-id: trunk@42967 -
2013-09-27 06:11:03 +00:00
zeljko
c72e600b5b
gtk3: implemented TListView.OnColumnClick
...
git-svn-id: trunk@42949 -
2013-09-26 18:52:45 +00:00
zeljko
70f963dafe
gtk3: setDefault for TGtk3Button
...
git-svn-id: trunk@41831 -
2013-06-23 15:01:07 +00:00
zeljko
e6ce69ca47
gtk3: implemented standard cursors
...
git-svn-id: trunk@41812 -
2013-06-23 11:14:04 +00:00
zeljko
3a36ec68a7
gtk3 widgetset added.This is base implementation with alpha status.
...
git-svn-id: trunk@41811 -
2013-06-23 10:35:00 +00:00