Commit Graph

185 Commits

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