zeljko
ba86e46415
Gtk2: fixed running gtk2 forms from library.
...
git-svn-id: trunk@34639 -
2012-01-07 17:12:12 +00:00
zeljko
5ca2d85d66
Gtk2: do not blindly unmaximize and deiconify GtkWindow. issue #10698
...
git-svn-id: trunk@34530 -
2012-01-01 10:47:45 +00:00
zeljko
91eda267c1
Gtk2: cleanup
...
git-svn-id: trunk@34519 -
2011-12-30 17:18:18 +00:00
blikblum
3bd4030d1a
gtk2: remove unecessary checks
...
git-svn-id: trunk@34395 -
2011-12-24 20:58:37 +00:00
blikblum
750733b289
gtk2: use FreeAndNil where appropriate in Gtk2Int
...
git-svn-id: trunk@34393 -
2011-12-24 20:41:11 +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
zeljko
84670e8673
Gtk2: fixed ugly memleak in gtk2 lib by leaving unreferenced mask bitmap.Issue #20417 . This is merge candidate for 0.9.30.2
...
git-svn-id: trunk@33032 -
2011-10-22 19:49:46 +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
sekelsenmat
73542b658a
Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
...
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +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
30af23279d
gtk2: don't call FreeAllStyles in AppTerminate. It's called on Destroy
...
git-svn-id: trunk@30248 -
2011-04-09 14:58:51 +00:00
juha
b2fbbd9b34
LCL: Fix the rest of Assert to DebugLn conversion.
...
git-svn-id: trunk@29837 -
2011-03-14 11:54:38 +00:00
paul
f0bce37226
interfaces: remove AssignSelf method
...
git-svn-id: trunk@29827 -
2011-03-14 02:17: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
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
zeljko
cdeb7f8f68
Gtk2: improved gtk2 performance in case of pointer motions by using GDK_POINTER_MOTION_HINT_MASK.Patch by Henry Vermaak. Fixes issue #14936
...
git-svn-id: trunk@28107 -
2010-11-06 13:10:17 +00:00
paul
d5c63f7aad
gtk2: move focus-in after handler to focus-in handler. This cause interface to handle focus switches inside the focus events properly (fixes bug #17801 )
...
git-svn-id: trunk@28104 -
2010-11-06 04:18:42 +00:00
paul
b385553fb5
qt, gtk, carbon: send LM_MOUSEENTER(LEAVE) instead of CM_MOUSEENTER(LEAVE). CM_ messages must be sent by LCL, not a widgetset
...
git-svn-id: trunk@27934 -
2010-10-29 04:50:26 +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
400281ddea
Gtk2: fixed another misusage of IntersectRect
...
git-svn-id: trunk@27880 -
2010-10-26 12:00:12 +00:00
zeljko
21a209e959
Gtk2: fixed crash because of misusage/fpc bug in IntersectRect.
...
git-svn-id: trunk@27879 -
2010-10-26 11:53:32 +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
zeljko
9368dd2ccb
Gtk2: fixed compilation with -dRawimageConsistencyCheks and -dVerboseStretchCopyArea
...
git-svn-id: trunk@27651 -
2010-10-11 09:21:28 +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
mattias
369aa3055c
fixed typo dont
...
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
zeljko
67fa623ccb
Gtk2: check if form is designing when using gtk_window_set_keep_above()
...
git-svn-id: trunk@26765 -
2010-07-21 20:11:48 +00:00
paul
a3dac0b6df
lcl: redo context menu message handling:
...
- when called by keyboard pass -1, -1 coords
- remove child->parent loop from LCL to widgetsets (win32 and wince do this automatically, qt do it too if mouse propagation is on)
- don't show parent context menu if child has own standard menu (like TEdit)
qt: redo mouse handling, turn on mouse propagation and mouse tracking for most of widgets, stop propagation in event filters
gtk2: implement context menu loop
widgetsets: remove LM_PRESSED, LM_RELEASED messages (LCL does not use them and they are not needed for any compatbility reasons)
git-svn-id: trunk@26637 -
2010-07-14 08:47:02 +00:00
zeljko
db22564763
Gtk2: fixed mouse capture locks. fixes #15271
...
git-svn-id: trunk@26430 -
2010-07-02 21:19:26 +00:00
mattias
d130d94e34
LCL: debugging
...
git-svn-id: trunk@26341 -
2010-06-30 06:53:15 +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
127ef52c41
Gtk2: changed AppBringToFront to do same job as with win32 and qt.
...
git-svn-id: trunk@25538 -
2010-05-20 11:16:21 +00:00
zeljko
a5e15bfc90
Gtk2: fixed infinite loops with windowstate change events.WindowState callback is handled by GDK_WINDOW_STATE event instead of signal.
...
Added new member (TGdkEventWindowState) into TWidgetInfo to track real changes of window state. fixes #16505 .
Prevented recursion by AppMinimize by checking current window state in TWidgetInfo.FormWindowState.
git-svn-id: trunk@25509 -
2010-05-19 09:00:39 +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
efdcd83830
Gtk2: minimize & restore designer forms in AppMinimize & AppRestore
...
git-svn-id: trunk@25448 -
2010-05-15 20:31:05 +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
paul
eef0d16e78
lcl: fix LM_CONTEXTMENU handling - use another message structure (windows compatible). also hopefully fixes 64bit compilation (issue #0016000 )
...
git-svn-id: trunk@24011 -
2010-03-15 14:23:02 +00:00
mattias
510d76765c
gtk2 intf: set ExceptionMask exZeroDivide,exInvalidOp, bug #15840
...
git-svn-id: trunk@23804 -
2010-02-28 21:38:40 +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
86563b35e6
gtk2: use same position calculation for LM_CONTEXTMENU as in other widgetsets
...
git-svn-id: trunk@20021 -
2009-05-18 03:02:54 +00:00
paul
d154466c76
gtk2: handle LM_CONTEXTMENU message triggered by "menu key" press
...
git-svn-id: trunk@20020 -
2009-05-18 02:56:42 +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
49a493794c
gtk, gtk2: initial support for native alpha bitmaps (using pixbuf as storage) tested on windows only
...
git-svn-id: trunk@19503 -
2009-04-19 09:46:08 +00:00
paul
2ac96eaa20
gtk2: use more stock icons in TGtk2WidgetSet.LoadStockPixmap
...
git-svn-id: trunk@19456 -
2009-04-16 14:11:36 +00:00
paul
a6dfeecb17
gtk2: use better match stock images for bitbtns
...
git-svn-id: trunk@19450 -
2009-04-16 07:58:10 +00:00
mattias
26b2693ef7
gtk1+2 intf: key handling: fixed handling result of DeliverMessage, bug #9638
...
git-svn-id: trunk@18577 -
2009-02-05 10:30:42 +00:00
paul
7714255166
gtk2: use Set8087CW on windows since it crashes on setting an icon and exception mask method from math unit does not mask this one error
...
git-svn-id: trunk@15973 -
2008-08-06 15:37:48 +00:00
mattias
e03b7c5869
codetools: identifier completion: do not add semicolon twice
...
git-svn-id: trunk@15846 -
2008-07-23 11:59:52 +00:00