Re: Physically based kinetic scrolling

2014-05-05 Thread Tomeu Vizoso
On 5 May 2014 14:58, Lieven van der Heide wrote: > I modified the scrolled windows kinetic scrolling to match the actual > physics laws for friction and springs. IMHO, this gives a much more pleasing > result. Sounds great, kudos! > A branch with these changes is at > > https://github.com/lieven

Re: Mac OSX 10.7+ fullscreen handling - first little patch

2013-08-18 Thread Tomeu Vizoso
On 19 August 2013 04:04, wrote: > > (Apologies if I screwed up the submissions process...) > Hi, this may help: https://live.gnome.org/Git/Developers#Contributing_patches Have fun, Tomeu ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https

Re: Windows port of PyGObject Introspection/GSoC

2013-06-05 Thread Tomeu Vizoso
On 9 March 2013 20:29, Bernhard Reiter wrote: > (Sorry for cross-posting, I really didn't know which ML was most > appropriate; sorry TumaGonx and Helge for CC'ing this twice, I > had to subscribe to these mailing lists first.) > > I've noticed there's been some unofficial work on PyGObject > Int

Re: Why keysym constants in gdk/gdkkeysyms.h are defined as macros, not as an enum?

2012-06-26 Thread Tomeu Vizoso
On Tue, Jun 26, 2012 at 11:56 PM, Mark Vender wrote: > On 06/26/2012 07:57 PM, Matthias Clasen wrote: >> >> On Tue, Jun 26, 2012 at 11:10 AM, Mark Vender >> wrote: >> >> >>> It's impossible for an application to break when enum values are added. >>> They >>> end up as integers within the code any

Re: Commercial support page on gtk.org

2012-03-23 Thread Tomeu Vizoso
On Fri, Mar 23, 2012 at 14:05, Daniel Garcia wrote: > On Fri, Mar 23, 2012 at 12:41:31PM +, Martyn Russell wrote: >> On 23/03/12 11:49, Daniel Garcia wrote: >> >On Mon, Mar 19, 2012 at 03:12:32PM +, Martyn Russell wrote: >> >>Hi all, >> >> >> >>For a while, I/we at Lanedo have thought that

Re: RtoL interface problem in Win32 (translation; UI turnaround)

2012-02-06 Thread Tomeu Vizoso
On Fri, Feb 3, 2012 at 23:14, Karl Kleinpaste wrote: > > Might anyone offer a clue as to why Win32 is alone in this nightmare? Don't know myself, but the other day I found this explanation of how Win32 does RTL differently than Gtk+. http://wxwidgets.blogspot.com/2006/10/right-to-left-layout-rtl

Re: gir stability

2012-02-01 Thread Tomeu Vizoso
On Tue, Jan 31, 2012 at 21:37, Matthias Clasen wrote: > On Tue, Jan 31, 2012 at 2:40 PM, Ryan Lortie wrote: > >> >> What makes this particular incident of note is that popup_for_device() >> existed in Gtk 3.2 and was bound as such.  Python applications[1] >> started using it, and then, with this

Re: I want to fix a bug in GTK and need some guidance

2012-01-24 Thread Tomeu Vizoso
On Tue, Jan 24, 2012 at 11:30, wrote: > Hi Noam, > > On 24 January 2012 10:12, Noam Yorav-Raphael wrote: >> Can someone guide me on how to compile GTK with debugging enabled, and >> how to compile a C program that would use the GTK I compiled, so I can >> run it under gdb and try to fix the bug?

Re: gobject-introspection and GBoxed

2012-01-12 Thread Tomeu Vizoso
On Wed, Jan 11, 2012 at 14:47, wrote: > Hi all, > > I'm adding gobject-introspection support to my library. It's working > well for the GObject classes, but I just can't get it to work for > GBoxed objects. I'm sure I'm missing something obvious. Do I need to > write an override to make a class f

Re: State of cairo introspection?

2011-07-25 Thread Tomeu Vizoso
On Sat, Jul 23, 2011 at 06:33, Just Fill Bugs wrote: > What's the state of gobject introspection for Cairo? It seems the > cairo-1.0.typelib include in the gobject-introspection was a minimal attempt > to wrap cairo. It did event have cairo.FORMAT.ARGB32 like enum defined. > > According to http://

Re: using xlib with gobject-introspection

2011-06-14 Thread Tomeu Vizoso
On Tue, Jun 14, 2011 at 13:52, tomw wrote: > On Di, 2011-06-14 at 11:42 +0100, Emmanuele Bassi wrote: >> On 2011-06-14 at 11:53, tomw wrote: >> > I'm trying to use xlib via gobject-introspection but I could not find >> > any documentation or examples. The xlib-2.0.gir does not provide any >> > met

Re: Need approval to submit a patch

2011-05-17 Thread Tomeu Vizoso
On Tue, May 17, 2011 at 09:04, mar...@saepia.net wrote: > > Would GIO team would be interested in patch that provides such > high-level functionality? Normally people just go ahead, write the patch and submit it to bugzilla, where discussion would happen. Patch preparation is a small share of the

Re: decrease widget show time

2011-03-25 Thread Tomeu Vizoso
2011/3/21 czk : > Following is my test program and test result: As someone else said on this thread, most of the time is likely going into some lazy initializations and not on showing widgets. If you are going to do any work that may require looking at performance issues then you are going to nee

Re: Problems with Orca and Accerciser calling GConf client and at-spi2

2011-01-24 Thread Tomeu Vizoso
On Sat, Jan 22, 2011 at 16:27, Piñeiro wrote: > From: Tomeu Vizoso > >> On Fri, Jan 21, 2011 at 17:22, Piñeiro wrote: >>> >>> So my question (please, if there are a best ml, point that, AFAIK, >>> there isn't a gobject introspection mailing list): >

Re: Problems with Orca and Accerciser calling GConf client and at-spi2

2011-01-21 Thread Tomeu Vizoso
On Fri, Jan 21, 2011 at 17:22, Piñeiro wrote: > > So my question (please, if there are a best ml, point that, AFAIK, > there isn't a gobject introspection mailing list): > >  * There is a way to force to "load the old python bindings" when you >    call "import gconf" ? The problem here is that t

Re: GTK+ policy (was RE:rendering-cleanup-next)

2010-09-14 Thread Tomeu Vizoso
On Tue, Sep 14, 2010 at 09:14, Jon Cruz wrote: > > On Sep 13, 2010, at 10:49 PM, Kristian Rietveld wrote: > >> >> To add to this, it does not specify how to deal with braces in nested >> if-statements.  When I start to nest if-statements (also with a >> single-statement body) I typically start a

Re: [GObjectIntrospection] Cleaning up GIRepository

2010-08-26 Thread Tomeu Vizoso
On Mon, Aug 23, 2010 at 14:10, Johan Dahlin wrote: > >> 3) g_object_info_get_properties: >> transfer could be placed as a GParamFlag and array fixed size / array >> null terminated could be added as part of a new g_param_spec_array() >> (I am not sure about the latter, are there properties which a

Re: [pygtk] PyGtk and gtk-3.0 compatibility

2010-07-09 Thread Tomeu Vizoso
overrides" that expand the API provided by g-i for compatibility with the static bindings. The idea is that this will make easier to port existing software and will make existing documentation useful for a longer time. Regards, Tomeu > 2010/7/8 Tomeu Vizoso : >> On Thu, Jul 8, 2010 at

Re: [pygtk] PyGtk and gtk-3.0 compatibility

2010-07-08 Thread Tomeu Vizoso
On Thu, Jul 8, 2010 at 16:19, Gerald Britton wrote: > On Thu, Jul 8, 2010 at 4:03 AM, Tomeu Vizoso wrote: >> On Mon, Jul 5, 2010 at 15:48, John Stowers >> wrote: >>> Hi, >>> >>> First of all, PyGI and GObject introspection is the way forward. >&

Re: [pygtk] PyGtk and gtk-3.0 compatibility

2010-07-08 Thread Tomeu Vizoso
On Mon, Jul 5, 2010 at 15:48, John Stowers wrote: > Hi, > > First of all, PyGI and GObject introspection is the way forward. > > Now, that being said, it seems a little silly to spend all this effort > porting C apps in GNOME to gtk-3.0 only to see the first PyGtk app drag > back in the gtk-2.0 li

Re: What would you do to encourage application developers on GNOME Mobile?

2010-06-01 Thread Tomeu Vizoso
On Tue, May 11, 2010 at 21:43, Stormy Peters wrote: > * Provide bounties for GTK+ mobile applications. (Have a list of things we > need or need improved like multitouch.) Improve interoperability between Qt and GTK+ apps? Regards, Tomeu ___ gtk-devel-

Re: g_bus_watch_proxy and introspection

2010-05-24 Thread Tomeu Vizoso
On Mon, May 24, 2010 at 09:06, Tomeu Vizoso wrote: > On Sun, May 23, 2010 at 18:00, muppet wrote: >> >> On May 23, 2010, at 11:41 AM, Tomeu Vizoso wrote: >> >>> This implies that GDestroyNotify is per callback, but in this case we >>> have two callbacks an

Re: g_bus_watch_proxy and introspection

2010-05-24 Thread Tomeu Vizoso
On Sun, May 23, 2010 at 18:00, muppet wrote: > > On May 23, 2010, at 11:41 AM, Tomeu Vizoso wrote: > >> This implies that GDestroyNotify is per callback, but in this case we >> have two callbacks and a single GDestroyNotify. >> >> What are bindings supposed to d

g_bus_watch_proxy and introspection

2010-05-23 Thread Tomeu Vizoso
Hi, was giving a try at using GDBus from PyGI and found a showstopper right away. g_bus_watch_proxy gets passed two callbacks and has a single user_data and GDestroyNotify for both. guint g_bus_watch_proxy (GBusType bus_type,

Re: Testing for memory leaks in GTK

2010-01-06 Thread Tomeu Vizoso
On Wed, Jan 6, 2010 at 22:59, Erik de Castro Lopo wrote: > Tomeu Vizoso wrote: > >> RefDbg is useful in these cases. > > I've had a look at RefDbg. On configure I get: > >  *** >  * WARNING: glib >

Re: Testing for memory leaks in GTK

2010-01-05 Thread Tomeu Vizoso
On Tue, Jan 5, 2010 at 13:32, Erik de Castro Lopo wrote: > Hi all, > > I have written a small test program that can create independent toplevel > windows based on a command line parameter. Currently these top level > windows contain nothing more than a GtkLabel widget and destroy > themselves usin

Re: [introspection] GArrays, GPtrArrays, etc

2009-12-04 Thread Tomeu Vizoso
On Fri, Dec 4, 2009 at 01:59, Iain Nicol wrote: > Hi, > > It seems there is no GI_TYPE_TAG_ for GArrays, GPtrArrays or GByteArrays. > Well, there is GI_TYPE_TAG_ARRAY and associated annotation "(array)", but > this is for plain C arrays.  I presume it doesn't e.g. make sense to > overload GI_TYPE_

Re: gtk

2009-08-27 Thread Tomeu Vizoso
On Fri, Aug 21, 2009 at 12:23, Shivaprasad P wrote: >> Hi, > >> > >> > >> > >> Can we copy entrire gnome canvas content(some area of which is embedded in >> scroll window) into a jpeg file? What about gtk_widget_get_snapshot? http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-get

Re: GZip{In,Out}putStream in GIO?

2009-08-15 Thread Tomeu Vizoso
On Sat, Aug 15, 2009 at 16:07, Morten Welinder wrote: >> FWIW, Sugar uses zip quite extensively to bundle content and software >> and we would love to move from using python's zipfile to something >> glib-based. > > Why all this reinvent-the-wheel effort?  libgsf gives you access > to zipfiles and

Re: GZip{In,Out}putStream in GIO?

2009-08-15 Thread Tomeu Vizoso
On Fri, Aug 14, 2009 at 22:38, Shaun McCance wrote: >> > 2009/7/31 Brian J. Tarricone: >> >> On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote: >> >> >> >>>   From the looks of it, it should be straight forward to write >> >>> GZip{In,Out}putStream classes based on zlib >> >> I'd say call it

Re: gtk-doc for non-library.

2009-07-17 Thread Tomeu Vizoso
On Fri, Jul 17, 2009 at 09:22, Ali Abdallah wrote: > Stefan Kost wrote: >> >> hi, >> >> Ali Abdallah schrieb: >> >>> >>> Hi, >>> >>> I want to document C code written let's say in files obj.c obj.h >>> contain GObject, signals, properties, in order to doc these gtk-doc >>> needs the _get_type funct

Re: expose the functionality of xdg_mime_list_mime_parents

2009-07-07 Thread Tomeu Vizoso
On Wed, Jul 1, 2009 at 16:50, Tomeu Vizoso wrote: > Hi, > > what do people think about exposing that functionality as perhaps > g_content_type_get_supertypes()? > > Rationale in this ticket: > > http://bugzilla.gnome.org/show_bug.cgi?id=584388 Have added a patch to the ti

expose the functionality of xdg_mime_list_mime_parents

2009-07-01 Thread Tomeu Vizoso
Hi, what do people think about exposing that functionality as perhaps g_content_type_get_supertypes()? Rationale in this ticket: http://bugzilla.gnome.org/show_bug.cgi?id=584388 Thanks, Tomeu ___ gtk-devel-list mailing list gtk-devel-list@gnome.org h