Hi!
I need a TextView that changes its width depending on the maximum number
of characters per line that the user wants it to have. I need that the
user be able to configure it to have between a number of characters per
line and that it changes its width to have exactly the maximum number
they cho
I'm in a similar situation that Don Allingham describes in his post
"Creating a sortable model derived from GenericTreeModel" :
I have a big TreeStore that takes a long time to load. My proposed
solution is to have a compile-time step of pickling the store to a file,
and then at run-time, loadi
On Sat, Oct 18, 2003 at 10:26:14PM +0200, Felix Breuer wrote:
> def connect(accel_key, accel_mods, accel_flags, closure)
>
> however, when I instantiate AccelGroup, the resulting object only has
> the connect method of gobject.GObject which is not overshadowed by
> gtk_accel_group_connect().
>
>
On Fri, Sep 26, 2003 at 10:09:01AM -0400, [EMAIL PROTECTED] wrote:
> Is there a way to center a dialog on a screen?
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq10.003.htp
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
___
On Wed, Oct 22, 2003 at 10:22:33AM -0400, Shaffer, Chris wrote:
> Yeah... I'm using Mdk 9.1... I have libglade and libglad-devel rpms
> installed.
And you erased config.cache before running configure again? Look at
config.log to see why you're not getting libglade support.
Take care,
--
Christi
Yeah... I'm using Mdk 9.1... I have libglade and libglad-devel rpms
installed.
-Original Message-
From: Christian Robottom Reis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:55 AM
To: Shaffer, Chris
Cc: [EMAIL PROTECTED]
Subject: Re: [pygtk] Where to get gtk.glade
On W
On Wed, Oct 22, 2003 at 09:53:07AM -0400, Shaffer, Chris wrote:
> I compiled PyGTK from source, and I have the C library libglade installed.
> Did I need to compile pygtk with any options to get libglade support from
> pygtk?
Nope. Do you have the libglade headers and compile-time kit too
(libglad
I compiled PyGTK from source, and I have the C library libglade installed.
Did I need to compile pygtk with any options to get libglade support from
pygtk?
-Original Message-
From: Christian Robottom Reis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:45 AM
To: Shaffer, Chr
On Wed, Oct 22, 2003 at 09:33:11AM -0400, Shaffer, Chris wrote:
> I get an error saying 'no module named glade'. My pygtk apps work fine.
> What am I missing?
You're missing libglade, which is what PyGTK uses to parse glade files
in runtime. Note that you need the libglade C library *and* PyGTK's
I'm trying to use Glade to produce an app, but when I try:
import gtk.glade
I get an error saying 'no module named glade'. My pygtk apps work fine.
What am I missing?
Thanks,
Chris Shaffer
*
"The information transmitted is intended only for the person or entity to
which it is ad
A Ter, 2003-10-07 às 12:23, Harobed escreveu:
> hello,
>
> I use this code :
>
> bold_tag=text_buffer.create_tag("bold", weight=pango.PANGO_WEIGHT_BOLD)
>
> and it send this error :
> AttributeError:'module' object has no attribute 'PANGO_WEIGHT_BOLD'
Try pango.WEIGHT_BOLD.
>
> info: impor
At 12:18 PM 10/17/2003 -0700, Derek Croxton wrote:
I just joined this list, and with the express purpose of asking about
this same installation problem. Unfortunately, I have already tried
using the installers referred to above, but it hasn't helped. Let me
add two other odd tidbits to my proble
Hi,
I have a very strange problem: When uning a gtkhtml2.View
to display html, I get the following warning (and a segfault)
when the program exits:
(gtkhtmlex.py:1064): GLib-GObject-CRITICAL **: file gobject.c: line 1320
(g_object_ref): assertion `object->ref_count > 0' failed
What cleanup fu
On Tue, 21 Oct 2003 08:20:29 -0500
david farning <[EMAIL PROTECTED]> wrote:
> I am trying to port an application from gtk+ to pygtk and have gotten
> stuck on three lines of the following function. I have delimited the
> problem area with ? I can't figure out what gtk.widget.destroy is
> in
I am trying to port an application from gtk+ to pygtk and have gotten
stuck on three lines of the following function. I have delimited the
problem area with ? I can't figure out what gtk.widget.destroy is
in pygtk.
Thanks
Dave
void RGPreferencesWindow::colorClicked(GtkWidget *self, void
I am developing an application which uses vtk with pygtk-2.0.0. When
I import vtk (whether or not I use it), my stock gtk icons no longer
work under redhat 9, and I get errors like the following
(toolbar_test.py:23182): Gtk-WARNING **: Error loading icon: Failed to load image
'/usr/share/icon
Does anyone know of an example or can create an example of using
glyphs in python? I know gnome implements this structure, but I
cannot get python to acknowledge it.
Thanks,
Billy Earney
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com
hello,
I use this code :
bold_tag=text_buffer.create_tag("bold", weight=pango.PANGO_WEIGHT_BOLD)
and it send this error :
AttributeError:'module' object has no attribute 'PANGO_WEIGHT_BOLD'
info: import pango is doing
Some one can help me ?
thank
stephane
___
On Sun, 2003-10-12 at 18:53, Yotam Medini wrote:
> Looks like there are problems with (or my misuse of - please let me know)
> Gtk+'s TextBuffer/TextView regarding paragraph layout and especially
> justification when using parameters controlling:
> + Bidirectional editing
> + Line wrapping
>
On Tuesday 30 September 2003 01:05 pm, Theodore A. Roth wrote:
> Hi,
>
> I have built up an app using glade-2 and it loads and runs fine using
> gtk.glade. One of my widgets is a TreeView using a ListStore and I'm
> having a bit of trouble figuring out how to make all the columns
> # t
On Monday 29 September 2003 08:51 am, liquid wrote:
> Hi guys
> I'm really a newbie of python and pygtk, so sorry if my question is... too
> dumb (o:
Welcome to Python. No question is too dumb from a newbie:-) There mailing
lists specifically for these types of questions. As was mentioned earlier
On Monday 29 September 2003 08:51 am, liquid wrote:
> Hi guys
> I'm really a newbie of python and pygtk, so sorry if my question is... too
> dumb (o:
Welcome to Python. No question is too dumb from a newbie:-) There mailing
lists specifically for these types of questions. As was mentioned earlier
On Fri, 2003-09-26 at 20:03, Michal Pasternak wrote:
> I am using PyGTK 2 on NetBSD and Win32 and I must say, that it is just
> great. Everything works fine, using glade I can develop GUI very fast,
> TreeViews are the best thing I have ever seen in a GUI library and the API
> makes a lot more sen
On Fri, 2003-09-26 at 15:32, Christian Reis wrote:
> On Mon, Sep 15, 2003 at 01:19:21PM +0200, Igor Stroh wrote:
> > is there any way to find out the signal handler ids for sig.handlers
> > that were connected to widgets using signal_autoconnect() from
> > libglade.XML?
>
> http://www.async.com.br
Is there a way to center a dialog on a screen?
mail2web - Check your email from the web at
http://mail2web.com/ .
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mail
25 matches
Mail list logo