Commit Graph

134 Commits

Author SHA1 Message Date
zeljko
ba86e46415 Gtk2: fixed running gtk2 forms from library.
git-svn-id: trunk@34639 -
2012-01-07 17:12:12 +00:00
blikblum
bcdef55e90 gtk2: use FreeAndNil where appropriate in Gtk2Int (missing part)
git-svn-id: trunk@34394 -
2011-12-24 20:42:00 +00:00
zeljko
2ce9d7f56a Gtk2: introduced GetWindowManager functino to fix various wm's behaviour under X11.Fixes modal windows problems under kwin with gtk2lcl.issues #18323 and #18823
git-svn-id: trunk@34003 -
2011-12-06 17:11:56 +00:00
mattias
9bb061ab29 gtk2 intf: clean up
git-svn-id: trunk@33461 -
2011-11-10 17:47:02 +00:00
zeljko
b2cfc29c58 Qt, Gtk2: fixes checkbox state when doing Items.Move() from checklstbox.part of issue #20589
git-svn-id: trunk@33171 -
2011-10-30 12:11:43 +00:00
sekelsenmat
1acfc93cd4 Fixes crashes related to GetForegroundWindow by rewrapping the X11 window into a GdkWindow
git-svn-id: trunk@32725 -
2011-10-07 07:11:49 +00:00
juha
4b57ac797b IDE & LCL: Move focus to editor after hitting breakpoint. Patch from August Klein, issue #15967
git-svn-id: trunk@31087 -
2011-06-05 06:22:54 +00:00
blikblum
61ba5061f5 gtk2: remove virtual keywords remnant from Gtk/Gtk21 interface split
git-svn-id: trunk@30249 -
2011-04-09 15:13:07 +00:00
paul
f0bce37226 interfaces: remove AssignSelf method
git-svn-id: trunk@29827 -
2011-03-14 02:17:55 +00:00
zeljko
a5cebb65d2 Gtk2: renamed Gtk1Create & Gtk1Destroy to Gtk2 counterparts.
git-svn-id: trunk@29536 -
2011-02-13 19:16:43 +00:00
paul
c2aca4cd85 lcl: replace TWidgetSet.AppHandle function with a readwrite property
git-svn-id: trunk@29278 -
2011-02-01 04:10:57 +00:00
martin
18f7996a1b GTK2: Adjust the modifier keys (alt, ctrl, ...) state, after app was deactivated. Issue #18033, #16165, #14102
git-svn-id: trunk@28788 -
2010-12-20 10:45:16 +00:00
zeljko
1364a5441f Gtk2: avoid presence of horizontal scrollbar when TListBox is cleared by using gtk_tree_view_columns_autosize().Fixes issue #17837
git-svn-id: trunk@28097 -
2010-11-05 15:37:14 +00:00
zeljko
65e922cbef Gtk2: gtk2lcl now uses gtk_main_context_* instead of deprecated gtk_main_*. In case someone want to use old gtk_main_* iterations there's USE_GTK_MAIN_OLD_ITERATION define.
git-svn-id: trunk@27896 -
2010-10-27 07:31:11 +00:00
zeljko
1c4a0cc726 Gtk2: changed the way how main event loop iterates BUT ONLY VIA -dUSE_GTK_MAIN_CONTEXT_ITERATION until it's stable enough.
Now PostMessage() work correct when messages arrives from other threads. fixes #17548 and probably more issues with gtk2 threads usage.

git-svn-id: trunk@27829 -
2010-10-24 11:57:49 +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
891890b3ab Gtk2: implemented AppRemoveStayOnTop, AppRestoreStayOnTop also normalize stayOnTop in appactivate & appdeactivate.
git-svn-id: trunk@25540 -
2010-05-20 11:42:56 +00:00
zeljko
7bb68e7dfa Gtk,Gtk2: reworked app activate / app deactivate, now it works fine, added AppBringToFront. fixes #15859
LCL: removed workaround in TApplication.Deactivate which was there only because of gtk & gtk2.

git-svn-id: trunk@25478 -
2010-05-17 10:59:41 +00:00
zeljko
2773d06487 Qt,Gtk2: added minimize/restore ability to get consistent behaviour on all platforms. Patch by Flavio Etrusco modified by me for qt. fixes #13919
git-svn-id: trunk@25407 -
2010-05-14 19:12:02 +00:00
marc
eacdf95a0f * gtk2: remove unnecesary begin/endupdate & other cleanup
git-svn-id: trunk@23348 -
2010-01-02 18:59:39 +00:00
marc
56ade4e781 * GTK2: Return correct inserion index into gtkliststore when an object is added to a sorted TSrings. Fixes #11942. Based on patch by A. Schneider
git-svn-id: trunk@23347 -
2010-01-02 18:37:36 +00:00
marc
b7391553c7 * Code Reformatted, was part of fix for 11942, but comitted separately
git-svn-id: trunk@23346 -
2010-01-02 18:09:34 +00:00
paul
47879f9a9e gtk2: speedup combobox items insertion
git-svn-id: trunk@22664 -
2009-11-18 03:00:58 +00:00
paul
93bdc30f72 gtk2: handle 'show-help' widget signal for WhatsThis (shift+F1) help type (currently only Application.OnHelp event is executed)
git-svn-id: trunk@20832 -
2009-07-11 10:30:58 +00:00
paul
8ed7281c00 gtk: use more generic code to set menuitem shortcuts and caption, redo SetLabelCaption for gtk2
git-svn-id: trunk@20027 -
2009-05-18 13:04:06 +00:00
paul
c92f6641d1 lcl: replace TWidgetSet.LoadStockPixmap by ThemeServices.GetStockImage
git-svn-id: trunk@19769 -
2009-05-02 15:36:56 +00:00
paul
e496bf630e gtk2: cleanup
git-svn-id: trunk@19395 -
2009-04-13 03:23:45 +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
8bbf2ec14f gtk2: apply TListView.BorderStyle on widget creation (fixes part of bug #0013182)
git-svn-id: trunk@18753 -
2009-02-19 02:24:38 +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
micha
4538645d35 * lcl/gtk2: only use X when HasX has been defined
git-svn-id: trunk@16453 -
2008-09-06 15:24:58 +00:00
mattias
f7943628fa gtk intf: Avoid the creation of WidgetInfo to combox childs, Update the ItemIndex cache when inserting items, from Luiz
git-svn-id: trunk@15894 -
2008-07-27 21:13:41 +00:00
mattias
e5805aab68 gtk/gtk2 intf: combobox: toggle selection mode to support ItemIndex=-1, fixed ReadOnly, updating intf ItemIndex cache on Delete/Insert/Change, refactoring for WS classes, from Luiz
git-svn-id: trunk@15842 -
2008-07-23 08:17:39 +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
paul
a97246aad9 gtk2: set fpu control word globally for gtk2-win32, or it will crash on setting form or application icon. remove old places where I did that.
git-svn-id: trunk@15750 -
2008-07-11 15:46:00 +00:00
paul
c5f79da073 gtk2: further fix button cursor assignment
git-svn-id: trunk@15531 -
2008-06-23 09:25: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
sekelsenmat
30b56850c0 Separates gtk2spin
git-svn-id: trunk@14872 -
2008-04-17 19:24:04 +00:00
sekelsenmat
dcb54a9371 Separates gtk2wscalendar
git-svn-id: trunk@14871 -
2008-04-17 19:11:04 +00:00
sekelsenmat
58d9858249 Fixes form events in gtk2 and further separates the widgetsets.
git-svn-id: trunk@14862 -
2008-04-17 09:50:17 +00:00
sekelsenmat
f54bea2fc5 Separates gtk1 and gtk2 menu item code. Started implementing shortcuts for gtk2 menu items, but was unable to finish it. It didn't work before, so commited anyway because the new code is at least cleaner.
git-svn-id: trunk@14842 -
2008-04-16 00:22:08 +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
paul
64c7e1a1a5 gtk2: remove hacks around TListBox.ItemIndex
git-svn-id: trunk@13967 -
2008-02-03 12:48:36 +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
9103143052 correct a bit ItemIndex changes in gtk2 (clearing of selection on delete still needs to be fixed)
git-svn-id: trunk@13822 -
2008-01-21 10:26:08 +00:00
paul
2b801abac0 qt, gtk2: ItemIndex compatibility with win32
git-svn-id: trunk@13819 -
2008-01-21 09:01:02 +00:00
mattias
14fe68ea0b gtk intf: moved FinishCreateHandle to gtk1 - it is usable for gtk1+2
git-svn-id: trunk@13642 -
2008-01-05 22:51:53 +00:00
mattias
ace1f24e16 gtk intf: added TGtkWidgetSet.FinishCreateHandle with some standard setups for non LCL gtk controls
git-svn-id: trunk@13641 -
2008-01-05 22:49:14 +00:00