Hello everyone,
I'm trying to wrap an interface method that takes a cairo_t* argument,
but pygobject-codegen-2.0 says:
Could not write interface proxy GtkIImageCairoShaper.draw: No ArgType
for cairo_t*
and so it won't generate the __proxy_do-function for the method. I
thought I read in the chang
I'm pleased to finally announce PyGtkImageView 1.2.0!
Description
---
GtkImageView is a simple image viewer widget for GTK+. Similar to the
image viewer panes in gThumb or Eye of Gnome. It makes writing image
viewing and editing applications easy. Among its features are:
* Mouse and keybo
It would be easier to debug if you posted some example of what you are
doing. The traceback doesn't include debugging symbols so it is very
hard to say where the problem is.
2008/12/3, Newell Jensen <[EMAIL PROTECTED]>:
> I am not a segmentation fault debugger guru and was wondering if someone on
Hello,
2008/9/6 Karl Ostmo <[EMAIL PROTECTED]>:
> I would actually prefer for this button to be part of a gtk.Toolbar, such as
> a gtk.ToolButton. However, gtk.MenuToolButton does not do what I want; that
> widget has the menu part split into a separate button, as in the "Recent
> pages" next to
Hi,
2008/8/29 Herwig Hochleitner <[EMAIL PROTECTED]>:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello!
> My Custom DrawingArea keeps segfaulting me on being destroyed.
> I traced it down to the following minimal example:
>
> [PYTHON]
>
> import gtk
> import gobject
> import gnome.ui
>
2008/9/7 Darren Hart <[EMAIL PROTECTED]>:
> I've been running into this problem trying to eliminate an apparently harmless
> Warning message from my application. It appears in a number of locations:
>
> gui_datastores.py:66: Warning: unable to set property `text' of type
> `gchararray' from value
Here is the minimal glade file that reproduces your problem:
portrait
0
It seems like this problem is very widespread, see:
http://lists.ximian.com/pipermail/glade-users/2005-March/002467.html
http://lists.ximian.com/pipermail/glade-users/2007-May/003485.h
On Fri, Jun 20, 2008 at 10:35 AM, Frédéric
<[EMAIL PROTECTED]> wrote:
> /usr/local/lib/python2.4/site-packages/papywizard/view/configDialog.py:74:
> GtkWarning: gtk_tree_row_reference_new: assertion `GTK_IS_TREE_MODEL
> (model)' failed
> self.wTree = gtk.glade.XML(gladeFile)
>
> /usr/local/lib/pyt
On Sun, Jun 22, 2008 at 4:09 PM, Isaac Alston <[EMAIL PROTECTED]> wrote:
> I am making a search function where users can select two fields which
> they'd like to search on in a database. I'm having trouble displaying
> a single column from a gtk.ListStore with multiple columns in a
> gtk.ComboBox c
I'm pleased to finally announce PyGtkImageView 1.1.0!
Description
---
GtkImageView is a simple image viewer widget for GTK+. Similar to the
image viewer panes in gThumb or Eye of Gnome. It makes writing image
viewing and editing applications easy. Among its features are:
* Mouse and keybo
How do you wrap naked typedef structs? I tried with define-boxed, like this:
(define-boxed MyStruct
(in-module "mod")
(c-name "BlaHa")
(fields
...
)
)
But codegen.py seem to require a "gtype-id" field which requires the
struct to be registered using glib's registering system. But what
I'm pleased to finally announce GtkImageView 1.5.0. I'm even more
pleased to ALSO announce PyGtkImageView 1.0.0:
Description
---
GtkImageView is a simple image viewer widget for GTK+. Similar to the
image viewer panes in gThumb or Eye of Gnome. It makes writing image
viewing and editing ap
On 9/3/07, Lauro Moura <[EMAIL PROTECTED]> wrote:
> On 9/3/07, BJörn Lindqvist <[EMAIL PROTECTED]> wrote:
> > Hello!
> >
> > I'm interested to know what the best way (or maybe there are multiple
> > good ways) to write documentation for Python bindi
Hello!
I'm interested to know what the best way (or maybe there are multiple
good ways) to write documentation for Python bindings for a GTK
library is.
What I would like, is for a way to get the documentation into the
docstrings, because then I get interactive help and can generate html
and pdfs
Awesome man! Thankyou.
On 1/30/07, Ed Catmur <[EMAIL PROTECTED]> wrote:
On Mon, 2007-01-29 at 18:15 +0100, BJörn Lindqvist wrote:
> When running the above code on Windows it produces the following output:
>
> RINGING! Hello olle
> RINGING 5.92878775009e-323
>
> T
What a good idea!
Maybe you are already aware of gfloppy which formats floppy disks?
http://yolinux.com/TUTORIALS/images/gfloppy.gif If you want your code
included in GNOME, it is probably a good idea if you borrow the
interface from that tool.
--
mvh Björn
__
import gobject
import gtk
class Foobar(gtk.Widget):
__gsignals__ = {
'ring_ring' : (gobject.SIGNAL_ACTION | gobject.SIGNAL_RUN_LAST,
None, (str,)),
'ring_loud' : (gobject.SIGNAL_ACTION | gobject.SIGNAL_RUN_LAST,
None, (float,))
}
On 11/28/06, Johan Dahlin <[EMAIL PROTECTED]> wrote:
BJörn Lindqvist wrote:
> On 11/27/06, Johan Dahlin <[EMAIL PROTECTED]> wrote:
>> BJörn Lindqvist wrote:
>> > Hello!
>> >
>> > I have a problem with building pygtk's (and other modules hosted
On 11/27/06, Johan Dahlin <[EMAIL PROTECTED]> wrote:
BJörn Lindqvist wrote:
> Hello!
>
> I have a problem with building pygtk's (and other modules hosted on
> www.pygtk.org) documentation. For pygtk, the source to the
> documentation is in the files ./docs/referen
Hi,
how can you select a menuitem with python code?
I want to remember the last menuitem the user took,
so that I can focus/select it the next time the menu
pops up.
something like this:
self.flagsmenu.popup()
if self.flagsmenu_lastitem:
self.flagsmenu_lastitem.select() # menuitem
GT
Hello!
I have a problem with building pygtk's (and other modules hosted on
www.pygtk.org) documentation. For pygtk, the source to the
documentation is in the files ./docs/references/*.xml. But it seems no
matter what I do, I can't produce html-documentation from those files.
How do you do it?
--
I need to do lots of per-pixel manipulation of gdk.Pixbufs. First i
started with pure Python because it was the simplest:
pixels = pixbuf.get_pixels()
for y in range(pixbuf.get_height()):
for x in range(pixbuf.get_width()):
[do some manipulation with the pixel at (x, y)]
[return a new p
22 matches
Mail list logo