Commit Graph

44 Commits

Author SHA1 Message Date
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