New GObject Introspection tutorial

2013-06-13 Thread Simon Kågedal Reimer
Hello! I've written a tutorial on how to make a basic multilevel Hello World using GObject Introspection: http://helgo.net/simon/introspection-tutorial/ It's written in Mallard; the markup is in a git repository at https://www.gitorious.org/gobject-introspection-tutorial There's a fine

Re: Windows 32/64bit downloads and/or bundles for 2.x and 3.x

2013-06-13 Thread John Emmas
On 13/06/2013 00:06, Garrett Serack wrote: Awesome! I'll pop into your #hexchat-devel IRC channel tomorrow if you want to chat about it, or need some help getting started with our tools (we're still a bit behind on docs) Hi Garrett and Arnav, I'm the lead Windows developer for

Re: Windows 32/64bit downloads and/or bundles for 2.x and 3.x

2013-06-13 Thread tarnyko
Hi Garrett, I maintain a GCC/MinGW build environment for GTK+ these days ; but I'm interested as well, so I might join the channel if nobody minds. Regards, Tarnyko Garrett Serack writes: Awesome! I’ll pop into your #hexchat-devel IRC channel tomorrow if you want to chat about it, or

Attention: State propagation changed in master, themes may need changes

2013-06-13 Thread Alexander Larsson
So, I just landed GtkListBox in Gtk+ master. Its essentially a slightly evolved version of EggListBox. One of the main differences compared to EggListBox is that it has a specific row widget GtkListBoxRow which is the only thing that can be a child of a GtkListBox (well, if you add anything else

RE: Windows 32/64bit downloads and/or bundles for 2.x and 3.x

2013-06-13 Thread Garrett Serack
Sure, the more the merrier! In the longer term, I *really* want to make sure we can support GCC as well. G -Original Message- From: tarn...@tarnyko.net [mailto:tarn...@tarnyko.net] Sent: Thursday, June 13, 2013 1:45 AM To: Garrett Serack Cc: Arnavion; gtk-devel-list Subject: Re:

Re: Pango Hindi Text rendering error

2013-06-13 Thread Behdad Esfahbod
On 13-06-12 10:01 PM, Mayank Jha wrote: you mean to say that these fonts aren't supposed to render conjugate characters ? Unless the fonts render correctly on *some* environment, I'd say the font is just incomplete. -- behdad http://behdad.org/

Fwd: Attention: State propagation changed in master, themes may need changes

2013-06-13 Thread Emmanuele Bassi
forwarding to gtk-list and gtk-app-devel-list, to reach a wider audience. remember: discussions about gtk development (which include themes) happen on gtk-devel-list. ciao, Emmanuele. -- Forwarded message -- From: Alexander Larsson al...@redhat.com Date: 13 June 2013 11:46

Setting yalign on CellRendererText

2013-06-13 Thread Avi
I'm having issues using the yalign property on a CellRendererText. At the moment, it appears that this property is being ignored, and CellRendererText seems to always behave as if yalign = 0.5, its default value. Any tips or workarounds? ___

Re: GUI freeze and long blocking operation

2013-06-13 Thread jcupitt
Hi Kip, On 13 June 2013 06:40, Kip Warner k...@thevertigo.com wrote: If I start the long job function from within my assistant's prepare signal callback, as opposed to en-queueing it there via idle_add(), then the GUI doesn't refresh throughout the duration of the long job. This happens even

Fwd: Attention: State propagation changed in master, themes may need changes

2013-06-13 Thread Emmanuele Bassi
forwarding to gtk-list and gtk-app-devel-list, to reach a wider audience. remember: discussions about gtk development (which include themes) happen on gtk-devel-list. ciao, Emmanuele. -- Forwarded message -- From: Alexander Larsson al...@redhat.com Date: 13 June 2013 11:46

Re: Prevent sort of GtkListStore.

2013-06-13 Thread Tristan Van Berkom
On Wed, Jun 12, 2013 at 11:38 PM, dE de.tec...@gmail.com wrote: With gtk_tree_view_column_set_sort_column_id (), it appears that GtkListStore also gets sorted. I don't want that to happen, since the data in it has to be compared. The sorting of GtkTreeView actually sorts the model, it does so

Re: Prevent sort of GtkListStore.

2013-06-13 Thread dE
On 06/13/13 18:49, Tristan Van Berkom wrote: On Wed, Jun 12, 2013 at 11:38 PM, dE de.tec...@gmail.com wrote: With gtk_tree_view_column_set_sort_column_id (), it appears that GtkListStore also gets sorted. I don't want that to happen, since the data in it has to be compared. The sorting of

Re: GUI freeze and long blocking operation

2013-06-13 Thread Kip Warner
On Thu, 2013-06-13 at 08:59 +0100, jcup...@gmail.com wrote: Hi Kip, Hey John, There are two easy ways to do a long operation in Python. First, with idle_add(). Your callback should run for no more than 50ms or so before returning. If you need to do more work than that, just wait to be

Invisible GtkImage

2013-06-13 Thread Kip Warner
Hey list, I am attempting to create a GtkImage that resizes to fill its parent container while maintaining its aspect ratio. I do this by subclassing GtkImage and overriding do_size_allocate(). http://pastebin.com/SD4RBkes The code mostly works in that I can see that the area the widget

Fwd: Setting yalign on CellRendererText

2013-06-13 Thread Avi
Not sure which list is more appropriate. -- Forwarded message -- From: Avi avi.w.l...@gmail.com Subject: Setting yalign on CellRendererText Date: Fri, 14 Jun 2013 01:58:17 -0005 To: gtk-l...@gnome.org I'm having issues using the yalign property on a CellRendererText. At the

Re: Invisible GtkImage

2013-06-13 Thread Andrew Potter
On Thu, Jun 13, 2013 at 6:09 PM, Kip Warner k...@thevertigo.com wrote: The code mostly works in that I can see that the area the widget is taking appears to be the correct size as I resize its parent. However, the actual image pixels do not appear to be painted. Hi Kip, After setting the

Re: Invisible GtkImage

2013-06-13 Thread Kip Warner
Hi Kip, After setting the rescaled image, you should probably Chain Up to the default size_allocate method. I'm not a python expert, but I believe Gtk.Image.do_size_allocate(self, allocation) Hey Andrew. You are right. I had no idea that that had to be done, but based on my knowledge of

Re: Invisible GtkImage

2013-06-13 Thread Andrew Potter
On Thu, Jun 13, 2013 at 8:42 PM, Kip Warner k...@thevertigo.com wrote: That makes sense, but should the allocation passed to the base class's do_size_allocate() be the original allocation parameter that was passed into the override, or the one that I modified to contain the new image

Re: Invisible GtkImage

2013-06-13 Thread Kip Warner
On Thu, 2013-06-13 at 21:32 -0700, Andrew Potter wrote: What you can't do is allocate additional height to yourself in do_size_allocate(). So if you have a short wide image and are allocated more width than the height at your aspect ratio allows, you _shouldn't_ scale up or else your image

[gtk-osx-users] when to call gtkosx_application_ready() in an application that initializes in an idle callback

2013-06-13 Thread Olivier Sessink
Hi all, we're currently working to fix some issues with Bluefish on OSX. Bluefish initializes the GUI in an idle callback. So gtk_main() is called very early (before there is a window created). I have a question when to call gtkosx_application_ready(). If I call it when the first window is