[Lazarus] Caret is not blinking in Unix

Mehmet Erol Sanliturk m.e.sanliturk at gmail.com
Fri Apr 5 15:01:29 CEST 2013


On Fri, Apr 5, 2013 at 5:27 AM, zeljko <zeljko at holobit.net> wrote:

> On 04/05/2013 02:02 PM, Mehmet Erol Sanliturk wrote:
>
>>
>>
>>
>> On Fri, Apr 5, 2013 at 4:37 AM, zeljko <zeljko at holobit.net
>> <mailto:zeljko at holobit.net>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130405/9b0618da/attachment-0003.html>


More information about the Lazarus mailing list