Commit Graph

52 Commits

Author SHA1 Message Date
zeljko
53848b11b5 Gtk2: implemented TGtk2CustomListView.ItemDisplayRect, implemented editor for listview with style vsSmallIcon, vsIcon. issue #23015
git-svn-id: trunk@38897 -
2012-09-29 11:14:16 +00:00
zeljko
8b7dff7f43 Gtk2: do not change color of TScrollBar since it's painted by theme engine.issue #22996
git-svn-id: trunk@38860 -
2012-09-27 14:08:12 +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
f23c1e5ca7 lcl: gtk2: warn only once about liboverlay
git-svn-id: trunk@37714 -
2012-06-21 14:30:35 +00:00
mattias
36cd77c6bf gtk2 intf: when liboverlay scrollbar active use signal value-changed
git-svn-id: trunk@36896 -
2012-04-18 17:19:05 +00:00
mattias
284bdd4cec gtk2 intf: write warning if liboverlay scrollbar is active
git-svn-id: trunk@36895 -
2012-04-18 16:29:21 +00:00
mattias
07257ec5cd gtk2: less hints
git-svn-id: trunk@36760 -
2012-04-14 10:05:39 +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
aaa6a65283 Gtk2: added missing result in gtk2trayicon, cleanup of unused variables, fixed compiler warnings
git-svn-id: trunk@35675 -
2012-03-03 16:13:08 +00:00
zeljko
847d8a2eba Gtk2: fixed PaintTo() when taking image of form, now it includes mainmenu (if it's allocated)
git-svn-id: trunk@35605 -
2012-02-27 11:27:20 +00:00
zeljko
cdaa396f47 Gtk2: allow embedding of our LCL TCustomListView into gtk's GtkTreeView. part of #12059
git-svn-id: trunk@35349 -
2012-02-13 09:06:47 +00:00
zeljko
59a8bcd5e2 Gtk2: better debug in Gtk2WSWinControl.AddControl()
git-svn-id: trunk@35318 -
2012-02-12 09:08:37 +00:00
zeljko
a7b3cc4001 Gtk2: allow change of tab font in TCustomTabControl. issue #15375
git-svn-id: trunk@35147 -
2012-02-05 10:49:47 +00:00
zeljko
8d59bdf5fc Gtk2: allow moving of windows which contstraints min & max are equal. issue #18139
git-svn-id: trunk@34679 -
2012-01-09 13:41:38 +00:00
zeljko
6e4efa1d2e Gtk2: fixes all problems with cursor under gtk2 >= 2.18. Patch by Ere Maijala. issue #20313
git-svn-id: trunk@34635 -
2012-01-07 09:59:16 +00:00
jesus
e89cfb9f79 LCL, gtk2, make scrollbar callback to be called after std handler because it may mess our settings when for example clicking scrollbar arrows in a stringgrid on some goThumbTracking/goSmoothScroll combinations
git-svn-id: trunk@31715 -
2011-07-16 19:06:58 +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
74a398b683 LCL: Fix PaintTo for GTK2. Patch from August Klein, issue #18242
git-svn-id: trunk@31018 -
2011-06-02 22:51:06 +00:00
juha
550b1d3a3a LCL, GTK2: Update ScrollBox.VertScrollBar.Position when scrolling with mouse wheel. Patch from August Klein, issue #19428
git-svn-id: trunk@30967 -
2011-05-29 23:08:52 +00:00
zeljko
6b1b1b22d1 Gtk2: respect TCustomForm.ShowInTaskbar in case of modal form.Only when value is stAlways modal form will be visible in taskbar.Moved GtkWindowShowModal() to gtk2proc.
git-svn-id: trunk@30236 -
2011-04-07 13:07:57 +00:00
zeljko
b2602124fe Gtk2: skip taskbar hint for modal forms of type <> GDK_WINDOW_TYPE_HINT_DIALOG. issue #18323
git-svn-id: trunk@30235 -
2011-04-07 11:56:31 +00:00
juha
d1a29e1d31 GTK2: fixed a clearly wrong assertion.
git-svn-id: trunk@29824 -
2011-03-13 21:02:45 +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
9815e521d3 Gtk2: reset LastWFPResult used by WindowFromPoint() in case when shown/hidden,enabled/disabled,moved,resized widget overlaps current cache.Fixes issue #17389
git-svn-id: trunk@28288 -
2010-11-17 08:59:09 +00:00
zeljko
9da784edf0 Gtk2: removed unused units.
git-svn-id: trunk@27642 -
2010-10-10 18:11:22 +00:00
zeljko
afb190401d Gtk2: fixed setCapture(), now it uses new way of capturing, old can be used with -dGTK2_USE_OLD_CAPTURE.
fixed unwanted focus grab of THintWindow.
fixed bug when scrollbar button double clicked, we need 2 clicks to focus our client area. Fixed bugs #13878 #17596.

git-svn-id: trunk@27638 -
2010-10-10 15:26:45 +00:00
zeljko
f2e1d9f50b Gtk2: fixed TGtk2WSWinControl.SetChildZPosition(). fixes #17298
git-svn-id: trunk@27269 -
2010-09-04 17:14:49 +00:00
zeljko
d2fd11cca9 Gtk2: fixed LTOR & RTOL for complex widgets (listviews etc). fixes #16865
git-svn-id: trunk@26505 -
2010-07-07 14:02:49 +00:00
zeljko
7add8e0cd5 Gtk2: formatting
git-svn-id: trunk@26438 -
2010-07-03 08:40:57 +00:00
zeljko
985aea5d22 LCL: setBidiMode in CreateWnd, so all ws are correctly updated.fixes #16818
git-svn-id: trunk@26365 -
2010-06-30 20:26:10 +00:00
marc
46ebaabc7a gtk-splitup: merged gtk source into gtk2, removed gtk1 ifdefs
git-svn-id: trunk@26012 -
2010-06-09 23:01:52 +00:00
zeljko
ecf56f9f71 Gtk2: implemented Gtk2WSScrollingWinControl.ScrollBy(), gtk >= 2.8 uses "changed-value" instead "value-changed" on all TScrollingWinControls (GtkRange instead GtkAdjustment callbacks) from now on.NOTE: with gtk >= 2.18 users must set environment variable GDK_NATIVE_WINDOWS=1 otherwise GdkWindow paintings will be funny (when scrolling GtkScrolledWindow). fixes #7321, #10390.
git-svn-id: trunk@24217 -
2010-03-26 11:35:06 +00:00
zeljko
7e24823c22 Gtk2: scrollbar - fixed pagesize calculation, fixes #16001
git-svn-id: trunk@24188 -
2010-03-24 11:16:24 +00:00
mattias
ee7a5a1f0f gtk1+2 intf: limit Gtk2RangeScrollCB to maximum
git-svn-id: trunk@21505 -
2009-08-31 20:21:50 +00:00
martin
f510b1631f GTK2: Fix scrolling for mouse with horizontal wheel, issue #13997
git-svn-id: trunk@20673 -
2009-06-19 20:43:06 +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
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
1394f53c75 gtk, gtk2: fix visibility warnings and some other
git-svn-id: trunk@17620 -
2008-11-28 04:08:16 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
dbddffe2cb lcl: bidi mode patch from Ido with modifications
git-svn-id: trunk@14991 -
2008-04-27 14:24:22 +00:00
marc
34f7f58085 * Added gtk2 wincontrol BiDiMode support by Ido Kanner
git-svn-id: trunk@14841 -
2008-04-15 22:15:04 +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
paul
9c545d3562 gtk: TGtkWSDragImageList implementation
git-svn-id: trunk@13753 -
2008-01-15 03:29:00 +00:00
mattias
b0ad5fd977 LCL+gtk intf: improved debugging missing FWidgetSetClass and fixed crash on calling SetCCCallbacks in TGtkWSCustomControl.CreateHandle
git-svn-id: trunk@13509 -
2007-12-28 20:52:21 +00:00
paul
2f0de90ec1 gtk: move CreateComponent code for TPairSplitter, TScrollBox, TScrollBar to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13467 -
2007-12-26 08:52:02 +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
ed3bafe87a fixed gtk2 intf compilation for fpc 2.1.1
git-svn-id: trunk@9371 -
2006-05-28 11:33:07 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
99f0805786 implemented TMemo text for gtk2, TRadioGroup.OnClick is now called whenever ItemIndex changed, so it works now also under gtk2 Delphi compatible from Andrew Haines
git-svn-id: trunk@7026 -
2005-03-25 17:47:55 +00:00