emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changes in frame/window code


From: Jan Djärv
Subject: Re: Changes in frame/window code
Date: Tue, 29 Jul 2014 17:29:07 +0200

Hi.

28 jul 2014 kl. 16:25 skrev Eli Zaretskii <address@hidden>:

>>> (Btw, shouldn't GTK scroll bars already support bidirectional text out
>>> of the box?  Perhaps you need to set some flag(s) to get that.)
>> 
>> No idea.
> 
> Maybe Jan (CC'ed) can help us out.
> 
>> In any case I would have to tell GTK whether the "current text"
>> (whatever that is) is L2R or R2L I suppose.
> 
> Yes, but we have current-bidi-paragraph-direction for that.

Not out of the box, but 
   gtk_widget_set_direction (w, GTK_TEXT_DIR_RTL)
and
  gtk_range_set_flippable (w, TRUE);

where w is the scrollbar should do it according to the documentation.  I have 
not tried it.
gtk_range_set_flippable is since 2.18, so you would have to put in a check for 
that.

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]