Re: [pygtk] Pb with changin color of alternate row shading on treeview widget

2005-08-31 Thread Iñigo Serna
Hi Philippe, On Wed, Aug 31, 2005 at 04:32:32PM +0200, [EMAIL PROTECTED] wrote: > Hi list, > > I want to alternate color for the row i have in a treeview. Look at http://www.pygtk.org/pygtk2reference/class-gtktreeview.html#method-gtktreeview--set-rules-hint Iñigo pgpJt4kp5F700.pgp Descripti

Re: [pygtk] OpenGL in PyGTK2

2003-01-06 Thread Iñigo Serna
27;ve been thinking in coding it myself, but it's too hard for me ;-) [1]http://ftp.gnome.org/pub/GNOME/sources/gtkglarea/1.99/gtkglarea-1.99.0.tar.gz [2]http://ftp.gnome.org/pub/GNOME/sources/pygtk/1.99/pygtk-1.99.14.tar.gz Best regards, Iñigo Serna El jue, 02-01-2003 a las 19:25, Viktor

[pygtk] fullscreen patch

2003-07-20 Thread Iñigo Serna
Hello, some months ago [1] there were some questions about fullscreen support in pygtk2, but it seems fullscreen & unfullscreen haven't been wrapped yet, neither pygtk-1.99.16 nor in current cvs HEAD. The attached patch adds this two simple functions. Best regards, Iñigo [1] Mon, 03 Mar 2003 06

Re: [pygtk] fullscreen patch

2003-07-20 Thread Iñigo Serna
bug filled: http://bugzilla.gnome.org/show_bug.cgi?id=117929 ;-) Iñigo El dom, 20-07-2003 a las 22:08, Christian Reis escribió: > On Sun, Jul 20, 2003 at 10:05:51PM +0200, Iñigo Serna wrote: > > > > some months ago [1] there were some questions about fullscreen support > &

[pygtk] sample applet

2003-07-23 Thread Iñigo Serna
Hi again I've filled a new bugzilla entry with a sample applet I think may be useful for others. http://bugzilla.gnome.org/show_bug.cgi?id=118148 Best regards, Iñigo Serna signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigital

[pygtk] 2 problems: gtk widgets and gnomecanvas group children

2003-09-09 Thread Iñigo Serna
Hi all, [Python 2.3, pygtk & gnome-python 2.0.0, Linux 2.4.18] I have a problem when sharing a value depending on the state of 2 widgets. For example, there is a variable called self.opt, whose value is controlled by a CheckButton and by a ToogleButton. When I change the value with one widget I

Re: [pygtk] 2 problems: gtk widgets and gnomecanvas group children

2003-09-09 Thread Iñigo Serna
he grid of the second question) from two places: CheckButton in a menu entry and ToggleButton in the UI. > On Tue, Sep 09, 2003 at 04:28:36PM +0200, Iñigo Serna wrote: > > I have a problem when sharing a value depending on the state of 2 > > widgets. > > You have the answer i

Re: [pygtk] 2 problems: gtk widgets [solved] and gnomecanvas group children [unsolved]

2003-09-09 Thread Iñigo Serna
ok, ok, it works, 2 minutes after answering I've understood where to put the if-clause. It seems gtk just needs to call the callback to update the visual look of the widget, although it doesn't execute anything. Sorry for previous mail and thanks a lot Christian. So here is the code: import gtk

Re: [pygtk] gnome canvas becomes unresponsive

2003-12-17 Thread Iñigo Serna
[2] for my pre-alpha code. I've thought to email Art several times, but there are a lot of interest projects and I don't have enough time... Best regards, Iñigo [1] http://gtkglext.sourceforge.net [2] http://inigo.katxi.org/devel/misc/pycad.tar.gz -- Iñigo Serna <[EMAIL PROTECTE

Re: [pygtk] Scrollbar Width

2009-12-13 Thread Iñigo Serna
Hello, 2009/12/12 Art Hunkins : > style "wide_range" > { >    GtkRange::slider-width = 40 > } > class "GtkRange" style "wide_range" try slider_width instead of slider-width. Regards, Iñigo Serna 2009/12/12 Art Hunkins : > I'm worki

Re: [pygtk] Drawing on a gdk.Pixbuf using Cairo.

2010-03-05 Thread Iñigo Serna
powerful option. [1] http://www.pygtk.org/docs/pygtk/class-gdkdrawable.html Best regards, Iñigo Serna ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] gtk.IconView and set_cell_data_func doesn't work together

2010-11-21 Thread Iñigo Serna
"set_cell_data_func" method with treeviews, so the issue comes within gtk.IconView... My purpose is to render the pixbufs according to some "size" preference so images are shown smaller or bigger. The option of filling the store each time "size" preference is changed is no

Re: [pygtk] gtk.IconView and set_cell_data_func doesn't work together

2010-11-21 Thread Iñigo Serna
.8) self.pack_start(crtxt, False) self.set_attributes(crtxt, text=6) ... def cell_pixbuf_func(self, celllayout, cell, model, iter): pb = get_cover(model.get_value(iter, 1), 'huge') # book file path cell.set_property('pixbuf', pb) Sorry for the

Re: [pygtk] catch key_press_event on gtk.CellRendererText (or gtk.TreeViewColumn)

2011-03-23 Thread Iñigo Serna
lines 87-95 * action callbacks: methods on_text_edited_started() and on_text_edited(), lines 336-394 Hope it helps, Iñigo Serna ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] Left align a widget in a VBox

2011-09-18 Thread Iñigo Serna
Hi, gtk.Label inherits from gtk.Misc and there you have a gtk.Misc.set_alignment() method [1], so you could do: label.set_alignment(0, 0.5) [1] http://www.pygtk.org/docs/pygtk/class-gtkmisc.html#method-gtkmisc--set-alignment Hope it helps, Iñigo Serna On 18 September 2011 05:40, Abhijeet

Re: [pygtk] expose event for Gtk.DrawingArea?

2011-10-01 Thread Iñigo Serna
d(drawing_area) >     window.show_all() >   def expose(self,widget,data): >     print ("self_exposed") > # === > if __name__ == "__main__": >     app = MyExample() >     Gtk.main() In Gtk+ v3 the expose_event is now called 'draw', so change this line: -