Hi,
I'm trying to change the default tab width in a TextView widget from 8
spaces to something less dramatic.
From the GTK Docs, I'm supposed to create a new pango.TabArray object
and set tab width there, but everytime I try to create one I get:
NotImplementedError: pango.TabArray is an abstract
On Sat, Jan 11, 2003 at 05:53:33PM -0500, Rene Olsthoorn wrote:
I succesfully changed the size of the default font for GTK+ on
Windows(thanks John!) Now, an other thing I noticed: On windows, every
window gets a little snake icon in the left-top corner. Ofcourse I'm proud
to use Python, that's
I'd like to announce the second release of PythonCAD, a CAD package
for open-source software users. As the name implies, PythonCAD is
written entirely in Python. The goal of this project is to create
a fully scriptable drafting program that will match and eventually
exceed features found in
Hello,
I checked the list archives about this, but I'm not having any luck with
finding it. Basically, thanks to a post from James, I've got everything
working *almost* the way I want.
Here's what I'm doing:
I want to have a simple list of items in the TreeView that have labels
that are
sön 2003-01-12 klockan 13.54 skrev Ahmad Baitalmal:
Hi,
I'm trying to change the default tab width in a TextView widget from 8
spaces to something less dramatic.
From the GTK Docs, I'm supposed to create a new pango.TabArray object
and set tab width there, but everytime I try to create one I
Is there any way to right-align a specific cell renderer? I tried with
more than one column, but according to the set_max_width API
documentation, if the column is the last one, it is automatically
expanded.
I found a way to right align the content in a renderer, it's bit
awkward, but it
Thanks. Seems to work. Doesn't exactly have any whitespace between the
cell and the border, but that's not a big issue at the moment. At least
it is doing what I want. Thanks again for the help.
On Sun, 2003-01-12 at 23:06, Johan Dahlin wrote:
Is there any way to right-align a specific cell
In PyGTK-1.99.14, bitmap_create_from_data is declared as:
(define-function bitmap_create_from_data
(c-name gdk_bitmap_create_from_data)
(return-type GdkBitmap*)
(parameters
'(GdkWindow* window)
'(const-gchar* data)
'(gint width)
'(gint height)
)
)
Shouldn't that
I have just compiled and installed pygtk 1.99.14 on Solaris 8, and it's
broken. Running one of the examples I get:
buster:~/src/pygtk-1.99.14/examples/simple python simple.py
Traceback (most recent call last):
File simple.py, line 7, in ?
import gobject, gtk
ImportError:
On Tue, 2002-12-17 at 05:54, Christian Reis wrote:
On Mon, Dec 16, 2002 at 11:48:33AM -0500, Dave Reed wrote:
I've got one more problem. When I try to access the DateEdit widget
from its Glade name, its type is:
gtk.HBox object (GnomeDateEdit) at 0x82fcbcc type 'gtk.HBox'
How do I
From my interpretation of the Gtk2 docs the FileSelection dialog should
be able to return multiple files, but it does not seem to work for me :(
I call fs.set_select_multiple(1) and I can select multiple files, but
when I try and get the selections by calling fs.get_selections. The
I'm new to the pygtk bindings and somewhat new to gtk in general, and
I've got a question that I haven't been able to work out yet.
I'm trying to figure out how to drag elements into a TreeView and know
where in the model the drop occurred. I'm using a TreeStore model if
that matters.
I think
Jesse Pavel wrote:
Hello,
I've read that timeout functions registered with gtk.timeout_add()
may be called from a separate thread; but is this true even if I
don't initialize threading with gtk.threads_init()? My plan was to
have an independent thread--that never makes GDK or GTK
calls--store
Andrew S. Townley wrote:
Hello,
I checked the list archives about this, but I'm not having any luck with
finding it. Basically, thanks to a post from James, I've got everything
working *almost* the way I want.
Here's what I'm doing:
I want to have a simple list of items in the TreeView that
Stephen Watson wrote:
I have just compiled and installed pygtk 1.99.14 on Solaris 8, and it's
broken. Running one of the examples I get:
buster:~/src/pygtk-1.99.14/examples/simple python simple.py
Traceback (most recent call last):
File simple.py, line 7, in ?
import gobject, gtk
hi all,
i'm looking for pygtk(or at least GTK) training in Asia pacific area.(possible in
singapore?)
Got any company/training centre to recommend?
thank
-- Original Message ---
From: Mark Lewis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 11 Jan 2003 21:53:50 -0800
Subject:
Hi,
I'm new to the pygtk bindings and somewhat new to gtk in general, and
I've got a question that I haven't been able to work out yet.
I'm trying to figure out how to drag elements into a TreeView and know
where in the model the drop occurred. I'm using a TreeStore model if
that matters.
17 matches
Mail list logo