Commit Graph

250 Commits

Author SHA1 Message Date
zeljko
7e24823c22 Gtk2: scrollbar - fixed pagesize calculation, fixes #16001
git-svn-id: trunk@24188 -
2010-03-24 11:16:24 +00:00
mattias
ccc0c4846e gtk2 intf: fixed crash gtk2 combobox: items are initialzed in InitializeWnd, bug #16037
git-svn-id: trunk@24084 -
2010-03-18 14:32:06 +00:00
zeljko
3d77cd4d3c Gtk2: fix for listbox itemindex. fixes #15784
git-svn-id: trunk@23966 -
2010-03-12 15:13:57 +00:00
blikblum
3a1ec8cac1 gtk2: initialize inner_border property to nil. Bug #15949
git-svn-id: trunk@23925 -
2010-03-10 17:11:29 +00:00
mattias
b4dee09450 gtk2 intf: groupbox: use default frame border until style initialized
git-svn-id: trunk@23850 -
2010-03-06 22:35:55 +00:00
paul
b9baabfc09 gtk2: redo clearing of listbox selection (fixes bug #0015627)
git-svn-id: trunk@23695 -
2010-02-12 02:22:04 +00:00
mattias
2d5f135ee2 gtk2 intf: centering label on button, from Luiz, bug #8765
git-svn-id: trunk@23028 -
2009-12-08 12:38:50 +00:00
paul
b89b28de7c lcl: remove lclintf ComboBoxDropDown, create 2 methods instead in TWSCustomCombobox: one to get DroppedDown status, another to set it. + implementation for all widgetsets except carbon
git-svn-id: trunk@22285 -
2009-10-26 10:21:56 +00:00
mattias
e2f8e9d673 gtk2 intf: fixed trying to set enter/leave signals for combobox button if it is a cellview
git-svn-id: trunk@21362 -
2009-08-20 17:45:00 +00:00
vincents
03d39fc728 gtk2 widgetset: fixed showing selection in combobox after setting the color, hint from Paul who did the same thing in r21027 #11435c4016 for TEdit, fixes issue #14270
git-svn-id: trunk@21102 -
2009-08-05 09:22:47 +00:00
jesus
47b8c987cb LCL, fix a couple gtk2 combobox mem leaks
git-svn-id: trunk@20586 -
2009-06-11 20:12:02 +00:00
paul
00b1b0bbb3 gtk2: implement color changing for TListView and TListBox (issue #0013914)
git-svn-id: trunk@20454 -
2009-06-05 17:19:11 +00:00
paul
b92167f4b3 gtk: treat clBtnFace as default bg color as it was before (temporary solution)
git-svn-id: trunk@20446 -
2009-06-05 16:24:35 +00:00
mattias
bd573155e3 gtk2 intf: fixed TGtk2WSCustomGroupBox.SetLabel
git-svn-id: trunk@20300 -
2009-05-30 08:27:53 +00:00
paul
f71703d874 gtk2: TGroupBox: don't use GtkLabel for GtkFrame if caption is empty - this way it paints better
git-svn-id: trunk@20289 -
2009-05-29 02:40:37 +00:00
paul
50ad4d8937 gtk: split gtk1 and gtk2 groupbox code
git-svn-id: trunk@20288 -
2009-05-29 02:27:30 +00:00
paul
6cb0aa7f54 gtk2: don't select text in TEdit on focus if AutoSelect = False (issue #0013856)
git-svn-id: trunk@20287 -
2009-05-29 01:08:07 +00:00
paul
8f1edc879c gtk2: unselect listbox items in multiselect mode when ItemIndex is changed by code
git-svn-id: trunk@20257 -
2009-05-27 08:42:04 +00:00
paul
d9c7fdad82 gtk: fix setting readonly for TCustomEdit (bug #0013773)
git-svn-id: trunk@20106 -
2009-05-21 13:01:22 +00:00
jesus
84cead9009 LCL, custom handling of checkbox states (windows, this enables the use of allowgrayed without cbGrayed state, specially useful for dbcheckbox), fix cbGrayed state under gtk2
git-svn-id: trunk@20012 -
2009-05-17 17:00:47 +00:00
paul
5e07ccb6f5 gtk2: fix gtk warning
git-svn-id: trunk@19829 -
2009-05-07 01:47:34 +00:00
paul
450c0e49db gtk2: fix double destroying of combobox on style change
git-svn-id: trunk@19828 -
2009-05-06 15:01:47 +00:00
paul
020618fa6c gtk, gtk2: more fixes for default font assignment
git-svn-id: trunk@19712 -
2009-04-30 16:17:16 +00:00
paul
c2871390b9 gtk, gtk2: don't skip default font when we assign it to widget or it is imposible to reset font back to default in other case
git-svn-id: trunk@19711 -
2009-04-30 16:04:38 +00:00
paul
4c79bca2f3 gtk2: use another rules to choose whether combobox will have entry or no (fixes issue #0009303)
git-svn-id: trunk@19644 -
2009-04-27 05:29:20 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
mattias
bee2f4497e gtk2 intf: implemented TGtk2WSCustomComboBox.CanFocus
git-svn-id: trunk@19275 -
2009-04-07 12:43:38 +00:00
paul
ac0184724f gtk, gtk2, win32: don't call OnChange twice when we change TEdit text (bug #0013102)
gtk2: don't call OnChange more than one time when we change TMemo text

git-svn-id: trunk@19151 -
2009-03-29 09:06:48 +00:00
paul
8ed5064c16 gtk2: implement BorderStyle setting for GtkEntry (TEdit)
git-svn-id: trunk@19038 -
2009-03-20 04:19:23 +00:00
paul
14a26422f9 lcl: formatting
git-svn-id: trunk@18552 -
2009-02-04 08:03:37 +00:00
paul
b7645a8dce gtk2: fix selection of combobox in the designer (bugs #0012849, #0012824), change combo style in the design time
git-svn-id: trunk@18341 -
2009-01-19 13:15:42 +00:00
paul
2d57bcc934 gtk2: fixed my typo Sensetivity -> Sensitivity
git-svn-id: trunk@18340 -
2009-01-19 11:59:58 +00:00
paul
9777610c5a fix bug #0012850 OnGetItems event is not called, when TComboBox is empty
git-svn-id: trunk@18339 -
2009-01-19 09:47:29 +00:00
paul
22804ba42e gtk2: fix TGtk2WSCustomEdit.SetSelLength (bug #0012991)
git-svn-id: trunk@18338 -
2009-01-19 08:55:35 +00:00
paul
326ab3f248 gtk2: fix button focusing (bug #0012705)
git-svn-id: trunk@18227 -
2009-01-09 17:48:56 +00:00
paul
aa6305c562 lcl: implement TEdit.Alignment (patch of Zeljan with small mine modifications)
git-svn-id: trunk@18139 -
2009-01-05 18:22:41 +00:00
jesus
d0c213de66 LCL, fix SelStart for gtk2 that cause typing in wrong order in stringgrid
git-svn-id: trunk@17788 -
2008-12-10 21:31:19 +00:00
paul
1394f53c75 gtk, gtk2: fix visibility warnings and some other
git-svn-id: trunk@17620 -
2008-11-28 04:08:16 +00:00
andrew
1c61f8a45b Fixed some gtk2 errors when checking if listview items are selected when beginupdate/endupdate is used
git-svn-id: trunk@17410 -
2008-11-17 04:38:23 +00:00
paul
994b5be33a gtk2: implement GetItemRect for ListBox (and descendants)
git-svn-id: trunk@16834 -
2008-10-02 01:05:56 +00:00
paul
898d951e30 lcl: introduce TListBox.GetItemAtXY, TListBox.GetItemAtY exists for compatibility with existing projects
interfaces: replace TWSCustomListBox.GetIndexAtY by TWSCustomListBox.GetIndexAtXY
win32, wince, qt, carbon: use X coord too
(based on patch of Yuriy Yeroshkin, #0011923)

git-svn-id: trunk@16801 -
2008-09-30 02:15:17 +00:00
paul
8ae1d62bbe lcl:
- add more UTF8 string functions (Delete, Insert, LoweCase, UpperCase)
  - revert gtk SelStart, SelLength changes - they are and will return position in Characters
  - fix combobox completion code

git-svn-id: trunk@16478 -
2008-09-08 03:41:32 +00:00
mattias
45780ee1aa gtk2 intf: TComboBox: fixed GetSetSelStart/GetSetSelLength to use byte positions instead of character positions
git-svn-id: trunk@16461 -
2008-09-07 11:07:24 +00:00
mattias
7329c36e1f gtk1+2 intf: replaced g_idle_add with gtk_timeout_add. g_idle_add is not called when app is busy (e.g. using OnIdle)
git-svn-id: trunk@16324 -
2008-08-31 08:38:48 +00:00
mattias
2d6620ea7b gtk2 intf: combobox: implemented OnGetItems
git-svn-id: trunk@16311 -
2008-08-30 21:05:08 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
b26fda5243 gtk+gtk2+win32 intf: TComboBox: fixed LM_CHANGED, LM_SELCHANGED events, now LM_CHANGED are sent, whenever the text changes, from Luiz
git-svn-id: trunk@15831 -
2008-07-21 21:29:07 +00:00
mattias
4ac5113a66 gtk2 intf: implemented LM_SelChange event for TGtk2WSCustomListBox, bug #11229, #11356, #11337
git-svn-id: trunk@15298 -
2008-06-03 12:02:34 +00:00
mattias
f273bde703 gtk2 intf: TCustomListBox: fixed SetCallBack
git-svn-id: trunk@15297 -
2008-06-03 11:16:16 +00:00
paul
1fe2f01c5e lcl: publish TListBox.OnMeasureItem (it works for windows, gtk2, qt)
gtk2: redo some parts of LCLIntfCellRenderer, implement item measure

git-svn-id: trunk@15178 -
2008-05-19 05:38:25 +00:00
sekelsenmat
d2156b2d40 Patch from Henry Vermaak. Implements TMemo.CaretPos under gtk2
git-svn-id: trunk@14980 -
2008-04-26 00:42:45 +00:00
sekelsenmat
e8e001fd1d Finishes separating TGtk2WSCustomMemo from the gtk1 counterpart.
git-svn-id: trunk@14863 -
2008-04-17 10:11:42 +00:00
sekelsenmat
341d9e3850 Patch from Grzegorz Zakrzewski. Fixes #10108
git-svn-id: trunk@14853 -
2008-04-17 01:28:56 +00:00
sekelsenmat
c9b2c77ce1 Fixes TListBox gtk2 events.
git-svn-id: trunk@14844 -
2008-04-16 00:49:36 +00:00
mattias
c7943aabcd clean up
git-svn-id: trunk@14731 -
2008-04-02 10:58:54 +00:00
mattias
886e980573 gtk2 intf: TGtk2WSScrollBar.SetParams: fixing gtk warnings Min < Max
git-svn-id: trunk@14631 -
2008-03-25 09:55:03 +00:00
andrew
3cb1419cb4 Implented Scrollbar for gtk2
Rewrote Scrolling code for Gtk2 Customcontrols. Now all scrollcodes are reported

git-svn-id: trunk@14587 -
2008-03-20 02:59:03 +00:00
mattias
a7e5a68b2c gtk2 intf: fixed checking accelerator vs 0 not vs obsolete GDK_VOIDSYMBOL
git-svn-id: trunk@14184 -
2008-02-18 15:51:55 +00:00
sekelsenmat
2c82246914 Separates CheckBox on gtk2 and further removes clistbox.
git-svn-id: trunk@14179 -
2008-02-18 08:02:43 +00:00
mattias
1a08f04dfb gtk2 intf: reduced output
git-svn-id: trunk@14082 -
2008-02-11 11:51:57 +00:00
mattias
54bf460d15 LCL: added TDockManager.AutoFreeByControl: boolean needed by shared docking managers
git-svn-id: trunk@14081 -
2008-02-11 11:51:29 +00:00
mattias
c2d668eb0c gtk2 intf: fixed clicked event for Button
git-svn-id: trunk@14073 -
2008-02-10 22:16:19 +00:00
mattias
e7f5ea0f21 gtk2 intf: fixed warnings on creating a button: SetCallbacks must only be called for the core widget
git-svn-id: trunk@14072 -
2008-02-10 22:04:33 +00:00
sekelsenmat
9d0941dad2 Fixes the z-order of TButton on gtk2 by splitting it's implementation from gtk1 and adding a EventBox under the button for gtk2.
git-svn-id: trunk@14071 -
2008-02-10 14:53:51 +00:00
sekelsenmat
78a6878d99 Fixes preferred size for TComboBox in gtk2.
git-svn-id: trunk@14059 -
2008-02-09 22:03:53 +00:00
paul
64c7e1a1a5 gtk2: remove hacks around TListBox.ItemIndex
git-svn-id: trunk@13967 -
2008-02-03 12:48:36 +00:00
paul
cf0785c4bb gtk2: dont use hack to set itemindex for listbox with single selection (part of 0010682)
git-svn-id: trunk@13884 -
2008-01-26 11:06:06 +00:00
paul
707313382f gtk2: further improve gtk2 ListBox ItemIndex
git-svn-id: trunk@13828 -
2008-01-22 09:56:06 +00:00
paul
9925daf8cd gtk2: workaround problem with setting itemIndex in multiselected listbox
git-svn-id: trunk@13825 -
2008-01-22 04:43:39 +00:00
paul
2b801abac0 qt, gtk2: ItemIndex compatibility with win32
git-svn-id: trunk@13819 -
2008-01-21 09:01:02 +00:00
paul
082aa6dcfd gtk2 listbox: dont compare lisbox.Handle with 0 - use WSCheckHandleAllocated instead
git-svn-id: trunk@13817 -
2008-01-21 06:01:28 +00:00
marc
a174b6e889 * fixed crash in checklistbox
* fixed overwrite of privateclass on inherited update
* fixed overwrite of privateclass with a "lower" class

git-svn-id: trunk@13663 -
2008-01-07 23:58:16 +00:00
paul
07cb989050 gtk: move CreateComponent code for ToggleBox, RadioButton, Checkbox, PopupMenu, MainMenu to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13457 -
2007-12-26 03:06:56 +00:00
mattias
1816c3aa0a gtk intf: improved debugging
git-svn-id: trunk@13432 -
2007-12-23 10:25:21 +00:00
paul
f7f99f038e implement border style for gtk TListBox and added generic way for setting border style for all scrollables
git-svn-id: trunk@13363 -
2007-12-18 02:57:49 +00:00
mattias
dd735a4378 replaced writeln with debugln
git-svn-id: trunk@13011 -
2007-11-24 21:28:46 +00:00
andrew
860cb6a8ea Fixed a gtk2 bug where ComboBox.SelLength worked incorrectly if SelStart was > 1
git-svn-id: trunk@13003 -
2007-11-24 16:29:16 +00:00
paul
5a22410984 gtk2:
- TGtk2WSCustomEdit.SetSelStart, TGtk2WSCustomEdit.SetSelLength
- replace some 'if not HandleAllocated then' with 'if not WSCheckHandleAllocated then'

git-svn-id: trunk@12599 -
2007-10-26 16:17:18 +00:00
andrew
a924505277 Fixed gtk2 combobox OnDropDown and OnCloseUp to be more reliable
git-svn-id: trunk@12594 -
2007-10-26 04:07:33 +00:00
paul
003f4e5ac2 gtk2 for windows: reorder combobox event sequence
git-svn-id: trunk@12589 -
2007-10-26 02:14:16 +00:00
paul
86b2cfaab0 gtk2: use 'popup-shown' property listening to identify dropDown and closeUp combobox events under windows
git-svn-id: trunk@12575 -
2007-10-24 06:52:27 +00:00
andrew
56ff3fad9c fixed combobox memory leak - found by Paul
git-svn-id: trunk@12573 -
2007-10-24 01:09:47 +00:00
andrew
35e76c1971 fixed gtk2 combobox to use only one gtkrenderertext and not one for each item. It should improve loading a large list of items into a combobox
git-svn-id: trunk@12571 -
2007-10-24 00:33:52 +00:00
andrew
25e6a4f856 Fixed a crash on newer gtkversion in th OI for a GtkComboBox. There was some code which was not needed at all.
git-svn-id: trunk@12427 -
2007-10-12 21:10:18 +00:00
andrew
e07b98989f Applied patch from bug #9902 to fix gtk2 combobox OnCloseEvent
git-svn-id: trunk@12396 -
2007-10-09 20:26:43 +00:00
andrew
e628172571 Applied patch from Ales Katona for bug #9885 which fixes gtk2 Combobox OnSelect
git-svn-id: trunk@12395 -
2007-10-09 16:35:38 +00:00
andrew
7213963f12 Applied patch from bug #9848 from Ales Katona which fixes bug gtk2 9818
git-svn-id: trunk@12354 -
2007-10-07 14:17:32 +00:00
mattias
f20081a879 IDE: improved and enabled creation of .lrt files and combining all .rst/.lrt files into one .po files per project. ToDo: do the same for packages. From Luis Rodrigues
git-svn-id: trunk@12344 -
2007-10-06 13:59:31 +00:00
paul
07085f0cb0 gtk2: set font color to ListBox from anatol (issue #0009824)
git-svn-id: trunk@12259 -
2007-10-01 00:41:35 +00:00
paul
83df47bec7 gtk2: added check before SetMainWidget call
git-svn-id: trunk@12255 -
2007-09-30 10:55:04 +00:00
paul
d88841d1ee gtk2: fix another mem leak with combobox (combobox button had separate widgetinfo)
git-svn-id: trunk@12228 -
2007-09-29 06:07:21 +00:00
paul
f60797e179 gtk2: fix combobox memory leak (widget info was not destroyed due to wrong call in DestroyHandle)
git-svn-id: trunk@12227 -
2007-09-29 05:47:40 +00:00
vincents
37abeb0106 gtk2 interface: removed workaround for calling inherited (bug #9415)
git-svn-id: trunk@11895 -
2007-08-31 22:35:11 +00:00
paul
abe113718c - move TWidgetset.GetListBoxXXX to TWSCustomListBox.GetXXX (where XXX in [GetIndexAtY, GetItemRect]) *untested on Carbon and wince*
- implement GetIndexAtY and GetItemRect for TQtWsListBox

git-svn-id: trunk@11875 -
2007-08-28 17:44:28 +00:00
mattias
ebac9fd99f gtk2 intf: added workaround for inherited call bug of TGtk2WSCustomComboBox.DestroyHandle
git-svn-id: trunk@11779 -
2007-08-10 17:18:51 +00:00
mattias
3b69506329 gtk2 intf: added focus events for combobox, ideintf: textconverter now supports codetool buffers, h2pas wiz: added tool to remove redfinitions, reduced warnings
git-svn-id: trunk@11733 -
2007-08-03 22:38:11 +00:00
mattias
923e29b086 LCL reduced some x86_64 warnings
git-svn-id: trunk@11659 -
2007-07-28 11:46:18 +00:00
vincents
baebd22616 LCL: moved TButton from buttons unit to stdctrls (bug #9137), compilation tested on windows for gtk2, qt and win32 widgetset
git-svn-id: trunk@11367 -
2007-06-25 08:34:41 +00:00
andrew
0ea8ca69fb Implemented gtk2 combobox.sorted property
git-svn-id: trunk@11354 -
2007-06-23 00:43:26 +00:00
mattias
2f1dea96f0 gtk1+2 intf: clean up from Andrew
git-svn-id: trunk@11268 -
2007-06-02 14:02:18 +00:00
andrew
c88e03d97c Fixed gtk2 combobox painting
git-svn-id: trunk@11263 -
2007-06-02 01:09:17 +00:00
mattias
0d0427f294 gtk2 intf: moved menuitem handle creation code from CreateComponent, gtk2 intf: handling menu underscore shortcuts of Application.MainForm
git-svn-id: trunk@11255 -
2007-06-01 16:55:15 +00:00
mattias
0154d0a518 gtk2 intf: fixed setting callbacks if no combobox items count=0, gtk2 intf: not setting gtk accelerators for buttons, gtk2 intf: fixed GetClientOrigin for TNoteBook
git-svn-id: trunk@11241 -
2007-05-31 17:34:17 +00:00
mattias
759a269ca6 gtk intf: resize messages for fixed/client widgets are now kept back and sent for main widgets
git-svn-id: trunk@11184 -
2007-05-23 17:32:10 +00:00
mattias
f1ddc29682 LCL: added BeginAlign/EndAlign in TWinControl.Loaded to reduce overhead, gtk2 intf: added GetDefaultClientRect for TGroupBox, doing some resizes now immediately
git-svn-id: trunk@11160 -
2007-05-17 21:43:48 +00:00
mattias
d0b8eaa03f gtk2 intf: installing handler for TSpinEdit
git-svn-id: trunk@11147 -
2007-05-15 14:51:09 +00:00
mattias
45cbd18a0c gtk2 intf: fixed TMemo setting echo mode and password char: not suported by TMemo
git-svn-id: trunk@11145 -
2007-05-15 13:49:33 +00:00
paul
3f6445f154 - TCustomMemo.WantTabs for gtk2
git-svn-id: trunk@11131 -
2007-05-12 12:30:18 +00:00
mattias
9fdf9fcfdf gtk intf: made creation/freeing of GDI objects more consistent and more strict. gtk2 intf: brush and pen are now created on demand
git-svn-id: trunk@11128 -
2007-05-11 16:52:05 +00:00
paul
1ef92b0f0b - TMemo.Alignment implementation for win32, qt, gtk2
git-svn-id: trunk@11092 -
2007-05-07 07:31:14 +00:00
andrew
61d6337105 fixed painting of combobox items if they are selected in gtk2
implemented sending of closeup message for a combobox in gtk2

git-svn-id: trunk@11079 -
2007-05-04 23:49:36 +00:00
mattias
501538a5df gtk intf: fixed compilation under fpc 2.3.1
git-svn-id: trunk@11059 -
2007-05-03 07:40:22 +00:00
mattias
68ad9e2527 gtk2 intf: improved combobox style and items
git-svn-id: trunk@11053 -
2007-05-02 18:33:54 +00:00
mattias
00e7a6e50f gtk2 intf: implemented TEdit.EchoMode and PasswordChar
git-svn-id: trunk@11029 -
2007-04-29 11:04:01 +00:00
mattias
dabe3115ec gtk2 intf: implemented TEdit.EchoMode and PasswordChar
git-svn-id: trunk@11028 -
2007-04-29 11:00:40 +00:00
mattias
fc0ece4582 gtk2 intf: fixed typo
git-svn-id: trunk@11027 -
2007-04-29 10:36:06 +00:00
mattias
af43c121dc codetools: examples: omit implementation section
git-svn-id: trunk@11026 -
2007-04-29 10:35:23 +00:00
mattias
c650a06f6d gtk2 intf: TListBox: fixed getting ItemIndex of a multiselection
git-svn-id: trunk@11016 -
2007-04-27 11:46:32 +00:00
mattias
0e395c80ce gtk2 intf: TComboBox: fixed widgets used for events
git-svn-id: trunk@11014 -
2007-04-27 10:58:58 +00:00
mattias
0cbf3340ac gtk2 intf: fixed connecting events of TListBox
git-svn-id: trunk@11012 -
2007-04-27 09:30:50 +00:00
andrew
773f9c00df reverted change to comboboxes since it didn't fix the problem
git-svn-id: trunk@10964 -
2007-04-17 21:16:40 +00:00
andrew
5471f34e69 hopefully fixed gtk2 combobox popup problem
git-svn-id: trunk@10957 -
2007-04-17 02:25:43 +00:00
mattias
87921a7455 gtk2 intf: reduced notes
git-svn-id: trunk@10948 -
2007-04-15 08:54:04 +00:00
andrew
00f7098809 Fixed Bug #8681. Changed Gtk2 ComboBox.OnChange to be delphi compatible
git-svn-id: trunk@10943 -
2007-04-14 14:41:48 +00:00
mattias
62b4e66473 gtk2 intf: rewrite of the combobox code from Andrew Haines
git-svn-id: trunk@10896 -
2007-04-06 09:04:47 +00:00
mattias
05fa424bb7 gtk2 intf: fixed codetools include paths, fixed double painting
git-svn-id: trunk@10870 -
2007-04-04 18:08:37 +00:00
andrew
12580dd206 Fixed TGtk2WSComboBox.SetFont - Broken since r10238 #e280cbf19f. Notably made the Search Results window in lazarus gtk2 cause an exception and not display
git-svn-id: trunk@10822 -
2007-03-28 18:13:54 +00:00
andrew
2763b9f1f0 fixed bug #970 and bug #7257
implemented gtk2 memo SelStart SelLength

git-svn-id: trunk@10201 -
2006-11-14 21:11:22 +00:00
andrew
fc03d1600d Some 64bit changes for TWS.Create Timer
Fixed gtk2 listbox events
Partially fixed gtk2 painting issues  bug #964
Fixed bug #7067
Gtk2 Opendialogs now use GtkFileChooserDialog
Added a check for the clipboard in case it get stuck in a repeat loop
lclgtkcellrenderer now knows the itemindex to paint correctly

git-svn-id: trunk@10067 -
2006-10-15 13:27:27 +00:00
mattias
f488b7ca3f gtk2 intf: added custom cellrenderer for finer control of TListBox
git-svn-id: trunk@9551 -
2006-07-03 17:52:18 +00:00
mattias
2c02361d4d gtk2 intf: fixed compilation
git-svn-id: trunk@9529 -
2006-06-30 12:41:49 +00:00
mattias
3e2c33543b gtk2 intf: started TListbox.OnDrawItem
git-svn-id: trunk@9528 -
2006-06-30 12:39:43 +00:00
mattias
3eb818ecb1 gtk2 intf: implemented TCustomListBox.SetTopIndex
git-svn-id: trunk@9520 -
2006-06-28 21:26:52 +00:00
mattias
486838638b gtk2 intf: fixed TTrackBar, added MergeSort for TFPList and TStrings
git-svn-id: trunk@9471 -
2006-06-22 01:54:58 +00:00
mattias
88a04ff101 removed TLabel fontchanged hook and added TCheckList.OnClickChecked event from Darek
git-svn-id: trunk@9403 -
2006-06-05 10:24:47 +00:00
mattias
ed3bafe87a fixed gtk2 intf compilation for fpc 2.1.1
git-svn-id: trunk@9371 -
2006-05-28 11:33:07 +00:00
mattias
0470b902b2 gtk2 intf: added createhandle for TEdit from Darek
git-svn-id: trunk@9262 -
2006-05-13 08:21:59 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
491a7b2186 gtk2 intf: setfont, setcolor for memo, combobox
git-svn-id: trunk@9170 -
2006-04-23 20:51:31 +00:00
vincents
007d036437 implemented CustomEdit GetSelStart and GetSelLength for gtk2 (issue #1694)
Patch by: Andrew

git-svn-id: trunk@8720 -
2006-02-09 09:15:47 +00:00
mattias
5c8dad6974 fixed gtk2 listbox setborder to TODO
git-svn-id: trunk@7713 -
2005-09-16 08:58:06 +00:00
mattias
d31fe06f5d fixed gtk2 intf compilation
git-svn-id: trunk@7406 -
2005-07-23 09:35:00 +00:00
marc
776866aee2 * gtk2 patch from Andrew
git-svn-id: trunk@7064 -
2005-04-07 22:04:02 +00:00
mattias
6697af3196 accelerated TMemo on gtk, gtk2 and win32 interface from Andrew Haines
git-svn-id: trunk@7060 -
2005-04-05 19:41:19 +00:00
mattias
49190601ad fixed componentpalette adding via double click
git-svn-id: trunk@6826 -
2005-02-21 20:15:28 +00:00
mattias
65360cc2ab further completions for gtk2 listbox and listview
git-svn-id: trunk@6770 -
2005-02-08 18:31:56 +00:00
mattias
a6d80046bf improved gtk2 listbox from Andrew Haines
git-svn-id: trunk@6726 -
2005-02-03 16:51:29 +00:00
marc
897fe72887 * Fixes some typos and changes uses clause cases
git-svn-id: trunk@5317 -
2004-03-17 19:59:56 +00:00
marc
34c1c7f47b * Interface reconstruction. Created skeleton units, classes and wscontrols
git-svn-id: trunk@5311 -
2004-03-17 00:34:37 +00:00