Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-05

[BIDI] Patch for GTK2: Add Bidi to Menus

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Zaher Dirkey

Hi,

This patch for GTK2 to add Right to Left alignment and reading to TMainMain and TPopupMenu.
Tested on Win32/GTK2 and OpenSuse 11.2/GTK2

I made screenshots for both WinXP and OpenSUSE 11.2

I hope it work without bugs (You can test it) because it is the first time i played with GTK :)

Thanks in advance.

Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100502/4298f13f/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: BidiMode_Menu1.jpg Type: image/jpeg Size: 9796 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100502/4298f13f/attachment-0001.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: BidiMode_Menu_OpenSuse.png Type: image/png Size: 12562 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100502/4298f13f/attachment-0001.png>

Reply by email

ik
to Zaher Dirkey

Hi Zaher,

Where is the patch ?

I wrote in 2008 a code that worked but was broken to work with Right To Left menus on GTK 2.

Ido
http://ik.homelinux.org/

2010/5/2 Zaher Dirkey

Show quoted text 22 lines
Hi, This patch for GTK2 to add Right to Left alignment and reading to TMainMain and TPopupMenu. Tested on Win32/GTK2 and OpenSuse 11.2/GTK2 I made screenshots for both WinXP and OpenSUSE 11.2 I hope it work without bugs (You can test it) because it is the first time i played with GTK :) Thanks in advance. -- Zaher Dirkey -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100502/be7559a7/attachment.html>

Reply by email

Zaher Dirkey
to ik

2010/5/2 ik

Show quoted text 5 lines
Hi Zaher, Where is the patch ?

I swear i put this link in my post

http://bugs.freepascal.org/view.php?id=16387

I wrote in 2008 a code that worked

That is you wrote the existing code for RTL, in fact when i work on it, i wondered who make the road paved :)

but was broken to work with Right To Left menus on GTK 2. Ido

Now 4 of eyes is best than 2 :)

Thanks

Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100502/771e75c3/attachment-0001.html>

Reply by email