#!/usr/bin/python
#
# I am a musician writing a GPL'ed program to help people
# do eartraining. I'm no programmer, so the question is
# probably quite simple, but I am totally confused by
# GtkPixmaps, GnomeCanvasImages, GdkImlib.Images and (for
# me) cryptical error messages:
#
# Is it possible
I'm obviously missing something. What event to connect to to
use the keyboard to scroll the html widget?
Tom Cato
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
Do you know if the new GtkHTML widget support any CSS?
Tom Cato
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
Hans Breuer wrote:
Instead of Kevin Butler's port, mine is updated quite
recently pygtk-0.6.4 / 2000-04-04;
see: http://hans.breuer.org/ports
Thanks, it works fine, not a single protection error!
If someone just could port GtkXmHTML/GtkHTML, libgnomeui
and friends to windows :-)
I didn't
Anders Eurenius wrote:
def xinsert(txt, new, len, pos):
print txt, new, len, pos
conn.send(repr(("i", pos, new[0:len])))
...
text.connect('insert_text', xinsert)
This comes out "gtk.GtkText instance at 81ff510 a 1 PyCObject object
at 81ff150"
and, at the other end "('i',
In my eartraining program, I have the (bad?) habit of using multiple
inheritance:
class ChordBox(gkt.GtkHBox, DataStorage):
def __init__(self, name):
gtk.GtkHBox.__init__(self)
DataStorage.__init__(self, name)
...
...
With
James Henstridge wrote:
This is due to the use of ExtensionClass. I am not sure how to fix this
properly. This is mentioned in the ExtensionClass.stx file included in
the tarball. You can get your code to work with:
DataStorage.__dict__['__init__'](self, name)
Thanks, I can live with
A link to an app that use install_menu_hints is enough,
or look at this:
from gtk import *
from gnome.ui import *
class MyWin(GnomeApp):
def __init__(self):
GnomeApp.__init__(self)
menuinfo = [UIINFO_SUBTREE("File",
[UIINFO_ITEM("Test", "tooltip", None),
You really want the set_sensitive method, not set_state.
Tom Cato
janne halttunen wrote:
Hi,
setting a button insensitive with
button.set_state(GTK.STATE_INSENSITIVE)
works fine, but when trying to set it back to normal with
button.set_state(GTK.STATE_NORMAL)
nothing
Has anyone on this list considered making python bindings
for cschtml, http://www.cscmail.net/cschtml? It is the
(IMO wrongly named) GtkHTML widget ported to Gtk, without
depending on all the gnome libs.
Tom Cato
___
pygtk mailing list [EMAIL
Matt Wilson wrote:
public serive announcement
FORKED LIBRARIES ARE BAD. Don't promote the use of them. If you have
Forcing everybody to use gnome, is not that good either...
Gnome is NICE, but sometimes you want to go with just gtk+.
a problem with the GtkHTML requirement on
What is the simplest way to access a menu on the menu bar,
when you use GnomeApp and the UIINFO variables to create
the menu?
mainwin.get_dock_item_by_name("Menubar").children()[0].children[nn]
works, but I guess I am missing the correct way to do it.
--
Tom Cato Amundsen [EMAIL PROT
This is what Mark Crichton told me, when I asked him about
the bindings.
- Forwarded message from MARK A CRICHTON [EMAIL PROTECTED] -
From: MARK A CRICHTON [EMAIL PROTECTED]
Date: Fri, 25 Aug 2000 12:18:44 -0400
To: Tom Cato Amundsen [EMAIL PROTECTED]
Subject: Re: gtkmozembed bindings
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list
?
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
I used to build a debian package for
python-gnome 1.0.53. It works for plain html, but crashes my app if the
file contains any graphics. I have not tried to find out what's the
problem.
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege
On Fri, Feb 02, 2001 at 08:54:47PM -0300, Nahuel Greco wrote:
On Sat, 3 Feb 2001 00:35:36 +0100
"Tom Cato Amundsen" [EMAIL PROTECTED] wrote:
On Fri, Feb 02, 2001 at 07:09:27PM -0300, Nahuel Greco wrote:
Hi, i must do a wysiwyg html editor for linux, for this, i want to u
while loading shared libraries:
/usr/lib/gdk-pixbuf/loaders/libpixbufloader-png.so: undefined symbol: g_malloc0
I am running a mix of potato/testing/unstable, but the libraries causing
the trouble is from unstable.
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http:
/mailman/listinfo/pygtk
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
that will
use 2.0.
thx,
--
Skip Montanaro ([EMAIL PROTECTED])
(847)971-7098
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining
.
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list
On 02 May 2001 09:17:47 +0800, James Henstridge wrote:
On 2 May 2001, Tom Cato Amundsen wrote:
On 01 May 2001 21:11:11 +0100, David Given wrote:
Are there any plans underway to Debianise the python-gtkhtml bindings? I need a
decent HTML renderer
(i.e., not GtkXmHTML) for my mailer app
the better.
One negative thing is that python 2.2 will probably not make it into
woody.
James.
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free
):
pass
class MWin(gtk.GtkWindow, VClass):
def __init__(self):
gtk.GtkWindow.__init__(self, gtk.WINDOW_TOPLEVEL)
VClass.__dict__['__init__'](self)
print Prepare to segfault
a = self.b
print You'll never get here!
w = MWin()
--
Tom Cato Amundsen
* Adore Unix
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege
Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
()
#21 0x4011464f in __libc_start_main () from /lib/libc.so.6
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo
(...)
m=MySpecialGtkBox(...)
m.cfg.set_int('sound/volume', 100)
I have programmed object oriented for several years, but I have never
*needed* multiple inheritance for anything, except keystroke saving
thinks like described above. (But then, I only write incomplex code..)
---
Tom Cato Amundsen [EMAIL
The little script below gives me this error message:
File ./bug.py, line 11, in ?
for ex in ['a', 'b', 'c']:
TypeError: object doesn't support item assignment
If you use tuplets instead of lists in the loop, it works ok.
Also if you don't give 'f' as the callback function for append_item,
PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list [EMAIL
of those
two values.
The attached spin-bug-workaround.py is the simplest workaround I have
found.
Anyone care to compile the program and test it to see if this is a local
problem?
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
all: spins
) are not
mentioned on stdout.
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
#!/usr/bin/python2.2
import sys
sys.path.insert(0, /home/tom/pygtk2/lib/python2.2/site-packages)
import gtk
class Win(gtk.Window):
def __init__(self
@@
gnome-python.spec \
gnome-python.spec.in \
examples/canvas/canvas-example.py \
- examples/zvt/zvt-demo.py
+ examples/zvt/zvt-demo.py \
+ examples/gtkhtml2/simple-browser.py
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege
/glade stuff
did work for me out of the box.
Malcolm
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege
it after upgrading
pygtk).
Stupid question, but why rebuild orbit-python after upgrading pygtk??
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list [EMAIL PROTECTED
:
The gnome-python bindings for GNOME2 includes bindings for gtkhtml2.
gtkhtml2 uses pango for i18n text rendering, etc.
http://gtkhtml2.codefactory.se/. The HTML rendering still needs work.
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software
', gtk.mainquit)
gtk.mainloop()
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http
,
right?
ImportError: No module named gtk
What is missing? sys.path is
I guess you forgot to
import pygtk
pygtk.require(2.0)
before import gtk
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege
On Fri, Jul 11, 2003 at 04:26:53PM -0700, John Finlay wrote:
I've updated the PyGTK 2.0 Reference Manual with the addition of the
Pango classes. It's at:
http://www.moeraki.com/pygtkreference/index.html
and a tarball of the html is at:
.
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege
list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing
/src/mainwin.py, line 149, in ?
import gnome, gnome.ui
ImportError: could not import bonobo.ui
Does anybody know what package contains the bonobo.ui module on suse 9?
On debian this it is in python2.3-gnome2.
--
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free
yet.
Maybe 1 month, maybe 3. No definite plan.
But it certainly helps that people like you tests it and are happy with
it.
GNU Solfege runs fine with PyGTK 2.3.92 on debian unstable.
--
Tom Cato Amundsen [EMAIL PROTECTED] http://www.solfege.org/
GNU Solfege - free ear
- it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Tom Cato Amundsen
) between:
1- split non-devel-platform modules out of gnome-python (aka the
minimal split);
2- split everything up, one module per package (aka the full split).
I for one prefer the minimal split...
I agree. My vote weight nearly zero, since I don't code...
--
Tom Cato
___
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/
--
Tom Cato Amundsen [EMAIL PROTECTED] http://www.solfege.org/
GNU Solfege - free ear traininghttp
and
there is a lot of work to skin it properly.
Pmwiki is simple to setup, and stores it's pages in plain text files.
It is easy to extend if we need some special features.
Johan
--
Tom Cato Amundsen [EMAIL PROTECTED] http://www.solfege.org/
GNU Solfege - free ear training
Didn't know about live.gnome.org when I answered this. I think you
should be using live.gnome.org. Prefixing, using groups (if available on
that wiki) or categories will make it easy to keep track of you pages.
Tom Cato
On Mon, Apr 11, 2005 at 05:45:02PM +0200, Tom Cato Amundsen wrote:
On Mon
because I still haven't figured out how to do this with
fontconfig, but also because I need a solution that works on MS Windows
too.
Can anyone on this list give me a hint about how to do this, or urls to
useful docs?
--
Tom Cato Amundsen [EMAIL PROTECTED] http://www.solfege.org
it is not in a standard encoding.
Tom Cato
On Mon, Apr 03, 2006 at 06:35:15PM +0200, Tom Cato Amundsen wrote:
Hello
I want to include a music font with the GNU Solfege program, with is
written using pygtk. I want to display glyphs from this on on a
CairoContext.
Is is possible to select the font in a file
/usr
. Add the --workaround
command option and see a G-clef in the window.
It seems that I have to create a label and set it's font to feta18 to
make the feta18 font usable in the cairo context.
Does anyone have an idea what the problem is?
--
Tom Cato Amundsen [EMAIL PROTECTED] http
://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Tom Cato Amundsen [EMAIL PROTECTED] http://www.solfege.org/
GNU Solfege - free ear traininghttp://www.gnu.org/software/solfege
reference saying that it is possible.
I don't know, so I made an hackish version using GtkTextView. It is used
in Solfege, http://www.solfege.org. It is very badly written, since I'm
not programmer, but it works good enough to display the docbook
generated docs in gnu solfege. It is GPL'ed.
--
Tom Cato
Have a look at src/htmlwidget.py in gnu solfege. You find the tarball at
http://www.solfege.org/Solfege/Download . See the GtkHtml2Widget class in
that file. It loads images. I don't remember on the fly if css works too.
Tom Cato
___
pygtk mailing list
Liberty nor Safety.
-- Benjamin Franklin, 1759
___
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/
--
Tom Cato Amundsen [EMAIL PROTECTED] http
too, like Box.pack_start that don't have optional arguments
any more. Is this what it will be when it is final, or can I expect
optional arguments in methods like in pygtk?
--
Tom Cato Amundsen t...@gnu.org http://www.solfege.org/
GNU Solfege - free ear training http
My fault, I meant set_resizeable(False).
Doesn't this make the windows shrink when you hide widgets? In Solfege I
always get the windows as small as possible when set_resizeable(False) is
called.
--
Tom Cato Amundsen t...@gnu.org http://www.solfege.org/
GNU Solfege - free ear
57 matches
Mail list logo