mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 04:30:45 -08:00
Bidi test case for xwidgets
Create a buffer with some text and a button. Make the buffer be right-to-left.
This commit is contained in:
parent
0298a2c6a1
commit
8a10c6833e
1 changed files with 6 additions and 0 deletions
|
|
@ -39,6 +39,12 @@
|
|||
(xwidget-insert (point-min) 'Button "button" 60 50)
|
||||
(define-key (current-local-map) [xwidget-event] 'xwidget-handler-demo-basic))
|
||||
|
||||
(xwidget-demo "a-button-bidi"
|
||||
(xwidget-insert (point-min) 'Button "button" 60 50)
|
||||
(set (make-local-variable 'bidi-paragraph-direction) 'right-to-left)
|
||||
(define-key (current-local-map) [xwidget-event] 'xwidget-handler-demo-basic))
|
||||
|
||||
|
||||
(xwidget-demo "a-toggle-button"
|
||||
(xwidget-insert (point-min) 'ToggleButton "toggle" 60 50)
|
||||
(define-key (current-local-map) [xwidget-event] 'xwidget-handler-demo-basic))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue