On Thu, 2010-08-19 at 08:56 +1200, Tim Evans wrote:
> On 2010-08-18 22:01, Greg Bair wrote:
> > Hi all,
> >
> > When setting an attribute for a CellRendererPixbuf like so:
> >
> > column.add_attribute(render_pixbuf, 'stock-size', gtk.ICON_SIZE_BUTTON)
> >
> > I got the following error:
> >
> > Warn
On 2010-08-18 22:01, Greg Bair wrote:
Hi all,
When setting an attribute for a CellRendererPixbuf like so:
column.add_attribute(render_pixbuf, 'stock-size', gtk.ICON_SIZE_BUTTON)
I got the following error:
Warning: unable to set property `stock-size' of type `guint' from value
of type `gcharar
On 18-08-10 12:01, Greg Bair wrote:
Hi all,
When setting an attribute for a CellRendererPixbuf like so:
column.add_attribute(render_pixbuf, 'stock-size', gtk.ICON_SIZE_BUTTON)
I got the following error:
Warning: unable to set property `stock-size' of type `guint' from value
of type `gchararra
On 18-08-10 12:01, Greg Bair wrote:
Hi all,
When setting an attribute for a CellRendererPixbuf like so:
column.add_attribute(render_pixbuf, 'stock-size', gtk.ICON_SIZE_BUTTON)
I got the following error:
Warning: unable to set property `stock-size' of type `guint' from value
of type `gchararra
It's ok I just changed the behaivour of the script. One should not close the
dialog on an apply signal but rather on a close signal that is emited on the
last page (page must be of type gtk.ASSISTANT_PAGE_SUMMARY).
The last page has a close button that emits a close signal, one can handle that
Hello list,
I want to close my Assistant at the last step, but I get Segmentation Faults
all the time. Can someone look at this simplified example ?
import gtk
class SomePage(gtk.VBox):
def __init__(self,assistant):
gtk.VBox.__init__(self)
self.assistant = assistant
d
Here's the solution I figured out, but a self.destroy() on the assistant at the
last step gives me a Segmentation Fault.
Anybody ?
#-*-encoding:utf-8-*-
# From #pida
# ok, first direction, never use import pygtk
# pygtk.require("2.0")
import gtk
from coriolis.models import Media
from pygt
Hello,
welcome = FirstPage()
form = SecondPage()
thankx = LastPage()
wizard = Assistant()
wizard.add(welcom,form,thanks)
When the user is at the SecondPage, which is a form, and then clicks on the
next button, I wish to retrieve the forms data.
the prepare signal that is triggered will giv
Hi all,
When setting an attribute for a CellRendererPixbuf like so:
column.add_attribute(render_pixbuf, 'stock-size', gtk.ICON_SIZE_BUTTON)
I got the following error:
Warning: unable to set property `stock-size' of type `guint' from value
of type `gchararray'
The GTK+ C ref says that these are
Sorry, didn't search right :). Google has weird criteria to score search
results. Used dogpile and found a gem :
http://www.learnpygtk.org/pygtktutorial/assistant.html.
Anyway, I would appreciate other links if any.
Y.Chaouche
--- On Wed, 8/18/10, chaouche yacine wrote:
> From: chaouche yac
Hello,
I have searched the web for a tutorial on how to use gtk.Assistant, as reading
the API isn't the best way to understand how things work...
I would appreciate if anybody has an interesting link on this subject to share
with us, or a usage example...
Thanks for sharing !
Y.Chaouche
11 matches
Mail list logo