ble (if not, you can
set it for current process).
if os.name == 'nt':
# windows hack for locale setting
lang = os.getenv('LANG')
if lang is None:
default_lang, default_enc = locale.getdefaultlocale()
if default_lang:
[EMAIL PROTECTED] pisze:
> I wish to open a new window/dialog when I click a particular button.
> What is the command that can do this for me.
window.show()
--
Jarek Zgoda
http://zgodowie.org/
"We read Knuth so you don't have
it()
I use only gobject.threads_init() and my programs work like a charm on
both systems.
--
Jarek Zgoda
http://zgodowie.org/
"We read Knuth so you don't have to" - Tim Peters
___
pygtk mailing list pygtk@daa.com.au
http://www.
Dnia 6 grudnia 2007 15:17 John Dennis <[EMAIL PROTECTED]> napisaĆ(a):
> Caleb Marcus wrote:
> > I'm planning to make my application translatable with gettext. Do I have
> > to make the text in my gtk stock buttons and things like that use
> > gettext, or will they automatically translate due to
need to update UI, then it
has nothing to to with PyGTK. ;)
--
Jarek Zgoda
http://jpa.berlios.de/
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
I think "normal" dialog
windows don't have such feature natively.
Cheers
Jarek Zgoda
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
oject
(http://www.gajim.org/) do this succesfully, so it's perfectly possible.
Cheers
Jarek Zgoda
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
t.
>
> Now I want to install them in a
> Linux system: I have linux Red Hat 8, so I updated a bit of packages,
> downloading and installing the following:
RH8 is very, very old and outdated. I think RedHat doesn't even support
it anymore. Could you afford anything newer?
--
ike (int,str,str,str,str,str,int), because I added
> two columns.
Cursor objects have description. It's a tuple, where second element is
typecode. You can build your ListStore using that information.
Cheers
Jarek Zgoda
___
pygtk mailing list pygtk
ons (not
sure if it was for PyGTK or wxPython, though) and I know it works. Gajim
(http://www.gajim.org/) people already have something like that. This is
not uncommon task, so I bet one can find more solutions like these two.
--
Jarek Zgoda
http://jpa.berlios.de/
,
why Windows users should not get the software in a way that is familiar
and friendly for them? The OP request was not without point.
--
Jarek Zgoda
http://jpa.berlios.de/
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/list
see how people from Gajim did this (http://www.gajim.org/).
--
Jarek Zgoda
http://jpa.berlios.de/
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
this is a main thread (this may be of
some use if you spawn more than one worker thread).
See: http://docs.python.org/lib/module-threading.html
--
Jarek Zgoda
http://jpa.berlios.de/
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mai
7;s some other goodies in that file if you like them.
This URL gives me HTTP 403 (Forbidden).
Cheers
Jarek Zgoda
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Anyone have suggestions on the code?
Fine code, really. When I needed something similar, I ended up with
broken async xmlrpc client written from scratch using asyncore/asynchat...
--
Jarek Zgoda
http://jpa.berlios.de/
___
pygtk mailing list pygtk@da
os.getenv('LANG')
if lang is None:
defaultLang, defaultEnc = locale.getdefaultlocale()
if defaultLang:
lang = defaultLang
if lang:
os.environ['LANG'] = lang
This was required, because Windows wanted canonical name
"Polish_Poland", no
> Only the "proxy" and "select" stuff is new and related to the tooltips.
It requires using uimanager, which is complicated for me. ;)
Any possibility for glade-based ui?
--
Jarek Zgoda
http://jpa.berlios.de/
___
pygtk
rk
> as shown here (though it would be real nice if it did):
Gosh, didn't think this could be *that* complicated...
--
Jarek Zgoda
http://jpa.berlios.de/
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
I'd like to display menuitem's tooltip text in status bar area. Which
event should I intercept to be able to prevent displaying it in usual
tooltip window? I tried with show-help, but this doesn't seem to work.
--
Jarek Zgoda
http:/
equivalent, so it's a matter of writing a hack (see i.e. in Gajim
code).
Sorry for off-list posting of my previous msg, as usual I hit "Reply",
not "Reply To All". These mailing list software is make me sick.
--
Jarek Zgoda
http://jpa.berlios.de/
ecution until their run() method
finish (return).
This way, you may do Popup_window1.run(), then your program will wait
until dialog finishes (i.e. user clicks a dialog button) and then will
return to main loop of execution (i.e. for running next dialog
all I can say is "wow, I'm impressed!". Louie
solved more my problems that I could expect. :)
--
Jarek Zgoda
http://jpa.berlios.de/
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
to rethink application
architecture. ;)
Cheers
Jarek Zgoda
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
> Attached is your code changed so that it works.
>
> A diff between yours and mine should show you were you are going wrong.
So, effectively you can not connect to signal not knowing its source (emitter)?
I mean, in GTK you can not broadcast signal?
Cheers
Ja
attached code and I am really stuck with this problem.
Cheers
Jarek Zgoda# -*- coding: utf-8 -*-
import time
import gobject
class Emitter(gobject.GObject):
__gsignals__ = {
'sig-1': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),
}
def __i
et caetera).
--
Jarek Zgoda
http://jpa.berlios.de/
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
26 matches
Mail list logo