Commit Graph

209 Commits

Author SHA1 Message Date
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
zeljko
a0224f784a Gtk2: remember selection when edit looses focus.Also preselect test when AutoSelect is true.Patch by Fabrizio Fellini modified by me for autoselect rule. fixes issues #23219,#23246
git-svn-id: trunk@39217 -
2012-11-01 08:27:48 +00:00
zeljko
a81d9e96aa Gtk2: fixed assertion from gtk2 library. issue #23099
git-svn-id: trunk@39035 -
2012-10-10 10:14:01 +00:00
blikblum
7185755781 gtk2: replace the deprecated gtk_object_get/set_data by g_object_get/set_data. part 2
git-svn-id: trunk@37752 -
2012-06-23 18:27:49 +00:00
mattias
1d8586a848 gtk2: clean up
git-svn-id: trunk@36791 -
2012-04-15 11:46:16 +00:00
mattias
2fd5ebfb38 gtk2: clean up
git-svn-id: trunk@36787 -
2012-04-15 10:59:36 +00:00
mattias
f7fbc97d3f gtk2: clean up
git-svn-id: trunk@36784 -
2012-04-15 01:45:34 +00:00
zeljko
eb25b3d5e7 Gtk2: delay SetSelLength if it's called from OnChange event of TCustomEdit.
git-svn-id: trunk@36086 -
2012-03-16 11:26:45 +00:00
zeljko
2ae4a52ad0 Gtk2: implemented Cut,Copy,Paste for WSCustomEdit (TCustomEdit & TCustomMemo).part of issues #9715 and #19106
git-svn-id: trunk@36081 -
2012-03-16 09:35:30 +00:00
zeljko
d734ac880e Gtk2: inform lcl when return pressed on GtkButton, so it can update internal varibles or properties. issue #21483
git-svn-id: trunk@36032 -
2012-03-15 13:29:13 +00:00
zeljko
290986b478 Gtk2: cleanup of spinedit code, also added proper cast when control is spinedit. Removed usage of PGtkOldEditable
git-svn-id: trunk@36019 -
2012-03-15 07:33:58 +00:00
zeljko
9f7ab89220 Gtk2: make selstart for GtkEntry setting consistent with other ws. issue #11802
git-svn-id: trunk@35596 -
2012-02-26 09:59:33 +00:00
zeljko
3389d8edaa Gtk2: fixed GetDroppedDown result for gtk2 < 2.10. Property "popup-shown" was introduced in gtk2 2.10, so anything below 2.10 doesn't work.
git-svn-id: trunk@35209 -
2012-02-07 09:16:49 +00:00
zeljko
8d96082dc1 Gtk2: fixed font changing on TCheckBox & TRadioButton
git-svn-id: trunk@35162 -
2012-02-05 16:33:05 +00:00
zeljko
c63431d8b0 Gtk2: fix accel char in TCheckBox and TRadioButton. issue #21048
git-svn-id: trunk@34673 -
2012-01-09 07:51:35 +00:00
blikblum
2d40e8a38c gtk2: update combo text only if has a edit box
git-svn-id: trunk@34414 -
2011-12-25 20:07:31 +00:00
zeljko
f84b0a0a4e Gtk2: fix inaccurate paint of checkbox and radiobutton when caption is empty. issue #20764
git-svn-id: trunk@34261 -
2011-12-18 18:17:53 +00:00
blikblum
b360e5a0bf gtk2: clear content of combobox when setting ItemIndex to -1
git-svn-id: trunk@34097 -
2011-12-10 21:41:49 +00:00
zeljko
7b99f8bda3 Gtk2: ability to change TGroupBox color.Patch by cobines, modified by me. fixes issue #20372
git-svn-id: trunk@33030 -
2011-10-22 19:10:21 +00:00
zeljko
acb9636064 Gtk2: TCustomEdit: added CellEditable hook, so it won't focus another control by pressing VK_UP or VK_DOWN. issue #11115
git-svn-id: trunk@31562 -
2011-07-04 18:30:57 +00:00
zeljko
7b6d0a6667 Gtk2: do not remove focus chain from combobox container, focusing by tab is fixed using another approach. issue #17662
git-svn-id: trunk@31560 -
2011-07-04 16:58:08 +00:00
zeljko
9d6ccb72d3 Gtk2: unset focus chain from combobox container, so it does not select combobox menu button when combobox is editable.
git-svn-id: trunk@31558 -
2011-07-04 16:32:18 +00:00
marco
6e953d396f * small fix that forces type of gtrue to longint. This makes lazarus compatible with both boolean32 based gboolean type (in FPC/trunk since r17923) while keeping compat with the old (longbool, which will remain in 2.4.x)
git-svn-id: trunk@31546 -
2011-07-03 20:39:13 +00:00
jesus
3e230c04f9 LCL, gtk/qt, fix scrollbar issues in customcontrols generated since r31447 #ab611393ae, from August Klein, issue #14728
git-svn-id: trunk@31483 -
2011-07-01 03:33:50 +00:00
juha
ab611393ae LCL: fire correct ScrollCodes in TScrollbar.OnScroll event. Patch from August Klein, issue #14728
git-svn-id: trunk@31447 -
2011-06-29 00:16:05 +00:00
paul
762aef652a gtk2: don't show widget by default if it is not requested by TCreateParams (for TCheckBox, TButton, TCombobox, TEdit for now)
git-svn-id: trunk@31353 -
2011-06-24 07:36:16 +00:00
zeljko
01f454abce LCL: introduced TWSScrollBar.SetKind() to avoid usage of RecreateWnd when changing kind of TScrollBar, because it crashes on 64bit installations.Fixed AV with qt and gtk2 under 64bit
git-svn-id: trunk@30853 -
2011-05-22 09:53:34 +00:00
juha
88e6da2538 LCL: fix custom draw Combobox. Patch from August Klein, issue #19356
git-svn-id: trunk@30792 -
2011-05-18 10:03:37 +00:00
juha
5ee9d4d079 LCL GTK2: fire OnExit event when leaving Combobox. Patch by August Klein, issue #18962
git-svn-id: trunk@30564 -
2011-05-05 23:56:49 +00:00
zeljko
ecc941f2f6 Gtk2: fixed bug where combobox returned caret position for selection length. issue #19081
git-svn-id: trunk@30185 -
2011-04-04 16:11:17 +00:00
paul
aecfd2f738 lcl: implement TListBox.ScrollWidth:
- win32, wince: set/get scrollwidth using LB_SETHORIZONTALEXTENT/LB_GETHORIZONTALEXTENT (issue #0018912)
  - qt, gtk2: don't show listbox horizontal scrollbar by default. show it only when scrollwidth > content area

git-svn-id: trunk@30138 -
2011-04-02 17:30:44 +00:00
juha
5d796b9cbb LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +00:00
juha
4e95f6a390 LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
juha
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
zeljko
7077bce83c Gtk2: fixed vertical centering of text inside readonly combobox. issue #15367
git-svn-id: trunk@29686 -
2011-02-27 16:15:14 +00:00
zeljko
9b53bfd7b2 Gtk2: implemented ScrollBars property for TMemo. patch by theo. issue #18735
git-svn-id: trunk@29478 -
2011-02-12 08:05:09 +00:00
zeljko
84cd9c95e2 Gtk2: call gtk2ws directly from combobox showhide.Fixes issue #18261
git-svn-id: trunk@28783 -
2010-12-20 08:13:46 +00:00
zeljko
2d8d01da6c Gtk2: fixed font changing on readonly combobox, issue #18206
git-svn-id: trunk@28704 -
2010-12-13 15:02:40 +00:00
zeljko
db41426263 Gtk2: fixed crash in TListBox selection handling.Fixes issue #17888
git-svn-id: trunk@28287 -
2010-11-17 08:18:10 +00:00
zeljko
650a8ad5d0 Gtk2: fix gtk errors when calling TGtk2WSCustomGroupBox.GetPreferredSize() with nil label. fixes issue #17948
git-svn-id: trunk@28269 -
2010-11-16 12:40:01 +00:00
zeljko
99cd9b4bbe Gtk2: fixed weird behaviour of TListBox selection. Fixes #16972.
git-svn-id: trunk@27968 -
2010-10-30 10:32:05 +00:00
zeljko
9da784edf0 Gtk2: removed unused units.
git-svn-id: trunk@27642 -
2010-10-10 18:11:22 +00:00