Thanks Dieter!
Just tested and it finally worked when I used "_putenv" function in
your lib to set the language.
Great stuff!
Fredrik
On Fri, Dec 3, 2010 at 2:46 PM, Dieter Verfaillie
wrote:
> Quoting "Fredrik Corneliusson" :
>>
>> I'm localizing a PyGT
Hi,
I'm localizing a PyGTK application (win32 & py2exe).
As my target audience is multilingual and might not want to have the
user interface language set to the system default I have made it
configurable.
This works for the custom strings in my application but not for the
built in GTK messages. Yo
Hi,
Just to let you know, the last couple of days the pygtk.org site has
been unreliable.
Have others experienced this as well and in that case is someone
looking into it?
Regards,
Fredrik
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/m
Hi,
I'm trying to modify input method for a text view but I cant find any
way to get the current input method for the widget from pyGTK.
It this not exposed by the PyGtk bindings?
Regards,
Fredrik
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.
Hi,
I use this small bat (rename buildDOTbat to build.bat) file to handle
the copying of the necessary GTK files and do the py2exe build. It
assumes GTK runtime is installed in "C:\GTK".
BTW, why do you explicitly exclude the "gtk" and "gtk.glade" modules?
I've updated the "setup.py" to look more
Hi Folks,
I want to add a function similar to MS Windows Alt keycodes
("http://en.wikipedia.org/wiki/Windows_Alt_keycodes";) to be able to
enter special characters in any widget.
Now I've added event handler for the main window but my application
uses multiple windows (search/replace etc.) and I w
Hi,
I sent this question to the GTK list a couple of days ago, but did not
have any luck so I thought I give this list a try also, hope you do
not mind the cross post.
---
Hi,
I need to know when a TextBuffer mark enters a different
text direction. I tied to get the text direction
Hi,
I would like to add support for customizing the keyboard accelerators
for an pygtk application that uses UI manager and ActionGroup.
I know about "gtk.accel_map_save" and "gtk.accel_map_load" so I figure
I just need to write a nice UI so users can manipulate that file. But
it seems to be a pret
Thanks Osmo, worked like a charm!
/Fredrik
On 5/9/07, Osmo Salomaa <[EMAIL PROTECTED]> wrote:
ti, 2007-05-08 kello 10:59 +0200, Fredrik Corneliusson kirjoitti:
> I wonder about the best way to add row numbers to a gtk.TreeView with
> a gtk.ListStore model.
I believe the best way
Hi,
I wonder about the best way to add row numbers to a gtk.TreeView with
a gtk.ListStore model.
Is there any built in support for this in GTK or do I have to create
my own enumerate column and recalculate all values when ordering
changes?
Regards,
Fredrik
Hi,
This is probably the same Win32 GTK problem (Pango build issue) as I
had with complex scripts (Arabic in my case).
See this thread for reference:
http://mail.gnome.org/archives/gtk-list/2007-March/msg00019.html
Please try the latest Glade win32 installer (Gtk+ 2.10.11) and see if
it fixes yo
Thanks John!
Unfortunately it seems what I want it not possible with gtkTextView:
http://mail.gnome.org/archives/gtk-list/2003-July/msg00150.html.
But it seems I'm not the only one that would need it.
/Fredrik
On 3/22/07, John Ehresman <[EMAIL PROTECTED]> wrote:
Fredrik Corneli
I'm trying to have protected xml-tags in the paragraphs and I don't
want the tags to wrap. This is to ease editing content that is bidi.
Having them in separate paragraphs is not an option.
thanks,
Fredrik
On 3/22/07, John Ehresman <[EMAIL PROTECTED]> wrote:
Fredrik Cornelius
Hi,
I'm not able to figure out why gtk.TextTags wrap-mode is only
respected if it is set at the beginning of a paragraph. What I'm
trying to achieve is to have some parts of a paragraph text have other
wrapping then the rest.
See attached screen dump and test script that shows my problem.
I've t
would guess this is a bug (or feature)!
If you insert the text starting with a letter, it works like it should. But
numbers and hyphen (maybe more) at the beginning are ignored.
Bye,
Volker
Original-Nachricht
Datum: Fri, 9 Mar 2007 11:32:54 +0100
Von: "Fredrik Corneliuss
Hi,
I have a BIDI question regarding the Text Tag property "direction". It
says in the documentation it can be set to TEXT_DIR_LTR, TEXT_DIR_RTL
or TEXT_DIR_NONE. However I cant detect that it makes any difference.
The only way I can get the desired behaviour is using Unicode
directional markers b
Tor Lillquist found the issue, it was the GTK runtime I was using
(gladewin32.sourceforge.net) that was not built with win32 Uniscribe
support.
I tried his build and it did not have this problem.
Regards,
Fredrik
On 2/23/07, Fredrik Corneliusson <[EMAIL PROTECTED]> wrote:
Sorry for not
Hi,
I know gtk-textview has performance issues with long lines. It is not
the amount of data that makes it sluggish just 20k of chars without
newlines is enough. I think it has been reported as a bug for GTK but
it would require big changes to how text rendering works so no one has
been willing to
Hi,
If you are targeting win32 I would suggest using
"gobject.idle_add(...)" instead if you want to update GTK UI from sub
threads.
See these FAQ entries for more info:
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq20.001.htp
http://www.async.com.br/faq/pygtk/index.py?req=show&file=
Hi all,
I got a problem with displaying Arabic text correctly. The problem is
the shaping of the characters that should differ depending on the
position where the character occurs (beginning,middle,ending). Now
they are all displayed as they are separate. I have tested on Win32
and Linux (Ubuntu)
Hi,
It seems GTK's message dialog (gtk.MessageDialog) does not work as
expected on win32 as it does not stay on top if it's parent window
(but it's still modal and locks the parent).
Any hints on where the right place to report this bug is?
Both pygtk and gtk is affected. Tested with gladewin32 2.
Hi,
Is it possible to show white space characters as glyphs in a text view
in the same way a word processors does? e.g non breaking space, tabs,
newlines/paragraphs?
Regards,
Fredrik
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailma
Hi,
I have a question related to GTK and encoding.
I'm working on a pygtk app that's connecting to a server and uses
urlencode, if I just try to encode strings with unicode characters I
get UnicodeEncodeError from urlencode by default. But if I import gtk
before doing the conversion it looks like
23 matches
Mail list logo