On Fri, Apr 5, 2013 at 5:27 AM, zeljko <[email protected]> wrote: > On 04/05/2013 02:02 PM, Mehmet Erol Sanliturk wrote: > >> >> >> >> On Fri, Apr 5, 2013 at 4:37 AM, zeljko <[email protected] >> <mailto:[email protected]>> wrote: >> >> On 04/05/2013 01:04 PM, Mehmet Erol Sanliturk wrote: >> >> Dear All , >> >> >> Previously I have sent the following message : >> >> http://lists.lazarus.__freepas**cal.org/pipermail/__lazarus/** >> 2013-March/079951.html<http://freepascal.org/pipermail/__lazarus/2013-March/079951.html> >> <http://lists.lazarus.**freepascal.org/pipermail/** >> lazarus/2013-March/079951.html<http://lists.lazarus.freepascal.org/pipermail/lazarus/2013-March/079951.html> >> **> >> >> A help is really appreciated very much . >> >> Thank you very much . >> >> >> Find gtkrc file and set caret to blinking. It's by default set to >> false from some gtk2 version on some distributions. >> >> z. >> >> >> >> I have searched "gtkrc" in Fedora 17 . There are a large number of >> "gtkrc" files associated with applications . >> >> In FPC sources , there are gtkrc.pp , and gtkrc.inc , but not gtkrc . >> Also in Lazarus and fpc there is no gtkrc file . >> >> Which file I should try to modify without breaking the other gtkrc >> related applications ? >> >> Or , if I copy a gtkrc file to a known directory and modify it , can it >> be used in that way ? >> > > But if caret works in lazarus ide editor then it's not because of gtk2 > theme config. Afair I've fixed caret blinking > 2 yrs ago in gtk2 > (overrides theme) so it blinks always. > > > ( 1 ) :
In Home directory : .gtkrc-2.0-kde4 : Contents : -------------- include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc" include "/etc/gtk-2.0/gtkrc" gtk-theme-name="oxygen-gtk" -------------- "/etc/gtk-2.0/gtkrc" : No caret information , but there is line : gtk-cursor-theme-name = "Adwaita" "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc" : No caret information ( 2 ) Perhaps , it is necessary to set some property / variable in my program related to form definition /creations , but which one I do not know . For example , in Delphi , OutText is opaque , but in Lazarus it was transparent because a variable was set to False as default . When that variable is set to True , Lazarus compiled OutText started to write opaque also . There may be such a variable , but what and where it is , I do not know . I tried to find such a variable in SynEdit , but , SynEdit is very complicated , and I am not using any part of it , and also I do not know its internals . Lazarus is setting that variable ( unknown to me ) that it is blinking the caret . Thank you very much . Mehmet Erol Sanliturk
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
