Commit Graph

250 Commits

Author SHA1 Message Date
mattias
de37ee0a8f lcl: gtk2: simplified unit dependencies 2023-08-25 12:34:07 +02:00
Željan Rikalo
2ffedf7545 Gtk2: fixed TScrollBar.ScrollBy_WS error. Patch by Andrew Haines 2023-02-01 15:06:28 +01:00
mattias
f45d7ed2c4 LCL: less hints
git-svn-id: trunk@64681 -
2021-02-28 08:51:17 +00:00
juha
bef5ada271 LCL-GTK2: Prevent a warning caused by a popup menu code. Issue #38402, patch from Petr-K.
git-svn-id: trunk@64473 -
2021-02-05 11:54:12 +00:00
juha
e7986013cc LCL-GTK2: Fix SpeedButton freeze after closing system popup menu without choosing menu item. Issue #38402, patch from Andrzej Kilijanski.
git-svn-id: trunk@64431 -
2021-01-28 08:19:11 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
440fd1ab17 LCL-GTK2: Implement TCustomEdit.NumbersOnly. Issue #37277, patch from Joeny Ang.
git-svn-id: trunk@63910 -
2020-09-23 19:19:24 +00:00
dmitry
02b7d44d7d gtk2: support for combobox readonly
git-svn-id: branches/comboboxreadonly@63239 -
2020-05-28 13:35:12 +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
a8e7c6e3a7 LCL-GTK2: Eliminate delayed SetSelStart. Issue #34678.
git-svn-id: trunk@62807 -
2020-03-25 10:49:44 +00:00
juha
e4a6fcf1af LCL-GTK2: Fix TMaskEdit skipping chars. Eliminate delayed SetSelLength. Issue #34678, idea from Percy Van Den bylaardt.
git-svn-id: trunk@62806 -
2020-03-25 09:55:24 +00:00
juha
bfd348501a LCL-GTK2: Remove a boolean param from GetWidgetInfo and use new func GetOrCreateWidgetInfo. Identify memory leaks.
git-svn-id: trunk@61684 -
2019-08-11 17:15:48 +00:00
juha
70a3929a41 LCL-GTK2: Fix CheckBox/RadioButton '_' escaping. Issue #34882, patch from Alexey Tor.
git-svn-id: trunk@60466 -
2019-02-20 09:10:22 +00:00
martin
e5be8d6a8e GTK2: memory leaks, not freed gtk objects
git-svn-id: trunk@60227 -
2019-01-26 17:58:58 +00:00
juha
e07ac1935a LCL-GTK2: Revert r59192 #fe117548f3 and prevent the Gtk-WARNING in a better way. Issue #34352, patch from accorp.
git-svn-id: trunk@59194 -
2018-09-30 15:57:05 +00:00
juha
0a8bae0cd4 LCL-GTK2: Fix TStaticText Width with Autosize. Issue #21877, patch from accorp.
git-svn-id: trunk@59018 -
2018-09-15 21:59:00 +00:00
juha
0be197cd4a LCL-GTK2: Fix TCheckBox Autosize. Issue #23152, patch from accorp.
git-svn-id: trunk@59003 -
2018-09-15 08:47:25 +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
13e0fb24e1 LCL: GTK2: Show controls disabled when Enabled = False. Regression from revision 58448 #9733fa84ab.
git-svn-id: trunk@58758 -
2018-08-22 20:18:35 +00:00
juha
53ee66450d LazUtils: Move exception and stack trace stuff to new LazTracer. Move function ConvertLineEndings to LazUtilities.
git-svn-id: trunk@58255 -
2018-06-14 09:05:50 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
juha
f79dd3199d LCL: Support horizontal mouse wheel messages. Issue #32753, patch from AlexeyT.
git-svn-id: trunk@56642 -
2017-12-05 21:30:57 +00:00
juha
534586feff LCL-Gtk2: Fix text selection in TEdit and TMemo. Issue #32630, patch from accorp.
git-svn-id: trunk@56287 -
2017-11-05 21:47:58 +00:00
michl
3705e5904a LCL: GTK2: Fixed Cannot hide TBitBtn, TFloatSpinEdit, TListBox, TCheckListBox, TMemo, TListView from TForm.OnCreate after HandleNeeded. Issue #32527
git-svn-id: trunk@56148 -
2017-10-22 21:01:39 +00:00
michl
e34b72f9d9 LCL: GTK2: Fixed set TPanel visible to false on non visual TabSheet doesn't work. Issue #32593
git-svn-id: trunk@56140 -
2017-10-21 09:00:53 +00:00
michl
058c0d8e3a LCL: TComboBox: GTK2: Fixed KeyUp and KeyDown react like tab key after revision 55920 #c5e11a9e95. Issue #32458
git-svn-id: trunk@55979 -
2017-10-05 17:55:28 +00:00
michl
c5e11a9e95 LCL: GTK2: Fixed tab cannot go from combobox to combobox. Issue #32458
git-svn-id: trunk@55920 -
2017-09-25 18:13:09 +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
ondrej
9a9e336851 LCL: combo box: deprecate ReadOnly property
git-svn-id: trunk@55243 -
2017-06-05 19:07:31 +00:00
juha
4245e9efae LCL-GTK2: Fix setting TComboBox ItemIndex. Issue #28683, patch from AlexeyT.
git-svn-id: trunk@53685 -
2016-12-14 16:44:21 +00:00
zeljko
39279083c5 Gtk2: unify TScrollbar behaviour with win32 and qt. issue #20127
git-svn-id: trunk@52154 -
2016-04-10 17:08:12 +00:00
juha
871f631591 LCL: Don't turn TScrollBar.Visible False when changing Kind property. AScrollBar.Show did not work due to flag tests. Issue #29422
git-svn-id: trunk@51361 -
2016-01-20 19:29:31 +00:00
zeljko
53498f8e4f Gtk2: fixed show/hide of TListBox. issue #28341
git-svn-id: trunk@49420 -
2015-06-23 14:36:20 +00:00
mattias
23f22ed784 LCL: gtk2: started fixing TGtk2WSCustomGroupBox.GetPreferredSize
git-svn-id: trunk@48432 -
2015-03-20 15:24:48 +00:00
zeljko
5b71531582 Gtk2: fixed TListBox with ItemIndex = -1 in lfm. issue #27276
git-svn-id: trunk@47330 -
2015-01-11 09:43:43 +00:00
zeljko
dd5ea6c1c7 Gtk2: fixed TCustomGroupBox descendants visibility when visible=false. issue #27116
git-svn-id: trunk@47058 -
2014-12-02 08:57:15 +00:00
bart
001b440270 LCL: use TFileStreamUtf8 for LoadFromFile/SaveToFile for Grids, TTextStrings, TWin32MemoStrings, TWinCEMemoStrings, TQtMemoStrings, TGtk2MemoStrings, TGtk3MemoStrings,
thus eliminating the need for Utf8ToSys() conversions.

git-svn-id: trunk@46777 -
2014-11-07 14:52:30 +00:00
zeljko
874f3994ff Gtk2: fixed memleak on TGtk2WSCustomStaticText. issue #26909
git-svn-id: trunk@46631 -
2014-10-21 11:54:08 +00:00
juha
e8fb5ea3fd LCL-GTK2: Take caption of an autosized GroupBox into account when calculating width. Issue #20447, patch from Henry Vermaak
git-svn-id: trunk@45786 -
2014-07-05 10:49:42 +00:00
mattias
7abd5e6276 LCL: gtk2: fixed uses section
git-svn-id: trunk@45601 -
2014-06-22 08:57:16 +00:00
mattias
b538b89c23 lcl: gtk2: less hints
git-svn-id: trunk@42290 -
2013-08-03 16:14:22 +00:00
zeljko
59f1dd3592 Gtk2: fixed itemheight with lbOwnerDrawFixed style of listbox. issue #24629
git-svn-id: trunk@41772 -
2013-06-21 06:22:30 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
zeljko
ca39d63bd3 Gtk2: fixed keeping of SelStart() and SelLength().issue #23219
git-svn-id: trunk@39652 -
2012-12-25 10:25:04 +00:00
zeljko
f2be37ded9 Gtk2: small optimization
git-svn-id: trunk@39549 -
2012-12-15 12:11:06 +00:00
zeljko
7a137ce8d3 Gtk2: fixed changing of font color on GtkCheckBox. issue #23373
git-svn-id: trunk@39548 -
2012-12-15 12:09:17 +00:00
zeljko
a1a464b0e2 Gtk2: fixed font color changing on TCheckBox when caption is empty. issue #23373
git-svn-id: trunk@39371 -
2012-11-25 12:16:27 +00:00
zeljko
761837a477 Gtk2: fixed compilation
git-svn-id: trunk@39221 -
2012-11-01 15:55:53 +00:00
zeljko
da7550a5b0 Gtk2: check if scrollbar handle is allocated when setting params.
git-svn-id: trunk@39220 -
2012-11-01 15:44:32 +00:00