Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Lars Wirzenius
ke, 2009-10-14 kello 18:52 -0700, Daniel B. Thurman kirjoitti: I have a FileViewer application that I am working on and so far I have not been able to force expanders on TreeView when there are only top-level directories/files populated in the TreeStore. As I understand it, the expander will

The difference of mapping between toplevel window and popup window

2009-10-15 Thread eric_zhang
Hello, I'm new to GTK+ programming.I encountered a problem in my program. There is a window which contain more widgets in my program, the widgets were mapped with more pictures(via gtkrc file ). The problem is: if the window is a toplevel window,you would saw flicker phenomenon; if the window

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Daniel B. Thurman
On 10/14/2009 11:56 PM, Lars Wirzenius wrote: ke, 2009-10-14 kello 18:52 -0700, Daniel B. Thurman kirjoitti: I have a FileViewer application that I am working on and so far I have not been able to force expanders on TreeView when there are only top-level directories/files populated in the

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Lars Wirzenius
to, 2009-10-15 kello 07:44 -0700, Daniel B. Thurman kirjoitti: (1) I am trying to find the expander-open event for the connect method. I think it is something like: http://library.gnome.org/devel/gtk/stable/ has a list of all widgets, and lists for each widgets the signals they support.

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread David Nečas
On Thu, Oct 15, 2009 at 07:44:56AM -0700, Daniel B. Thurman wrote: On 10/14/2009 11:56 PM, Lars Wirzenius wrote: (1) I am trying to find the expander-open event for the connect method. I think it is something like: self.treeview.connect('expander-open', self.on_expander_open)

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Shaun McCance
On Wed, 2009-10-14 at 18:52 -0700, Daniel B. Thurman wrote: I have a FileViewer application that I am working on and so far I have not been able to force expanders on TreeView when there are only top-level directories/files populated in the TreeStore. You would think that doing something

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Daniel B. Thurman
On 10/15/2009 07:53 AM, Lars Wirzenius wrote: to, 2009-10-15 kello 07:44 -0700, Daniel B. Thurman kirjoitti: (1) I am trying to find the expander-open event for the connect method. I think it is something like: http://library.gnome.org/devel/gtk/stable/ has a list of all

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Daniel B. Thurman
On 10/14/2009 06:52 PM, Daniel B. Thurman wrote: [snip!] Apologies. It appears that there is something wrong with email-deliveries and I am not getting every posting, so I will have to reply to certain individuals that I have not received directly into my mailbox. (I am looking directly at the

Pango problems

2009-10-15 Thread geoff . jay
Out of no where my program decided to starthaving problems with Pango rendering. The GUI now shows text as thestandard no character boxes and all of the icons that were there havebeen replaced by the red x file icon. When I run the program I get a lot of errors like: (xpath_test:11200):

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread David Nečas
On Thu, Oct 15, 2009 at 10:25:23AM -0700, Daniel B. Thurman wrote: (1) The signal is called row-expanded. [Dan] Thank you! But how did you find this signal? I know about it. However, if I didn't I would go to http://library.gnome.org/devel/gtk/stable/GtkTreeView.html#GtkTreeView.signals

GDBus API Questions; was: GDBus/GVariant plans for next GLib release

2009-10-15 Thread Mikkel Kamstrup Erlandsen
2009/10/15 David Zeuthen da...@fubar.dk: Hey, At the GNOME summit this weekend, Ryan Lortie, Matthias Clasen, Will Thompson and myself had a hallway conversation about how to get D-Bus functionality into the GLib stack. This mail is an attempt at summarizing what we talked about. Thanks for

Gdk motion event changed behavior in 2.18

2009-10-15 Thread Nicola Fontana
Hi all, after upgrading GTK+ from 2.16.4 to 2.18.2, an application I was working on stopped to react to GDK_BUTTON2_MOTION_MASK events. I resolved by adding GDK_BUTTON_PRESS_MASK but this issue will likely affect other applications too. A simple test case attached. Ciao. -- Nicola/* gcc -o

Re: GDBus/GVariant: well-known vs unique names

2009-10-15 Thread Simon McVittie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, 14 Oct 2009 at 21:34:26 -0400, David Zeuthen wrote: - Ideally make insane things impossible to do - e.g. only allow proxy creation for unique bus names - not well-known names. Instead people will discover they should be

Re: GDBus/GVariant plans for next GLib release

2009-10-15 Thread Ryan Lortie
Hi everyone, On Wed, 2009-10-14 at 21:34 -0400, David Zeuthen wrote: There was an amazing amount of consensus; here's a brief list I am in complete agreement with any point in the list that I am not directly addressing. Other comments below: - Ideally make insane things impossible to do

Re: GDBus API Questions; was: GDBus/GVariant plans for next GLib release

2009-10-15 Thread David Zeuthen
Hey Mikkel, On Thu, 2009-10-15 at 08:24 +0200, Mikkel Kamstrup Erlandsen wrote: * Can I register a GDBusInterfaceVTable without registering an object? The use case I have in mind is something akin to dynamically spawning objects on the server side when messages are send to objects under a

Re: GDBus/GVariant plans for next GLib release

2009-10-15 Thread Tor Lillqvist
 - The libdbus-1 on Win32 / OS X story. Gah.   So either we a) restrict this to UNIX (put headers in gio-unix-2.0)   or; b) we just tell people they need to use e.g. WinDBus on Win32, There is a relatively new effort to clear up the dbus situation on Windows situation, dbus4win, see

GDBus extension points (Was Re: GDBus/GVariant plans for next GLib release)

2009-10-15 Thread David Zeuthen
On Thu, 2009-10-15 at 10:54 -0400, Ryan Lortie wrote: - Make the code available in libgio (perhaps with the libdbus-1 using implementation in e.g. GVfs through GIOExtensionPoint - maybe not worth the effort) This would have the advantage of forcing a good design upon us -- the

Message-based API vs signal/method-based API (Was Re: GDBus/GVariant plans for next GLib release)

2009-10-15 Thread David Zeuthen
On Thu, 2009-10-15 at 10:54 -0400, Ryan Lortie wrote: The API does not expose a GDBusMessage type since that would cause unwanted API that would assist in using the API as a whole in a wrong way (e.g. exposing on-wire details like message headers can be nasty). Instead, the API

GVariant support for Unix fds (Was Re: GDBus/GVariant plans for next GLib release)

2009-10-15 Thread David Zeuthen
On Thu, 2009-10-15 at 10:54 -0400, Ryan Lortie wrote: 2. GVariant doesn't yet handle the new 'h' type (e.g. unix fd) Holy crap! This is insane! I had no idea that this was going on upstream -- I might have had something to say about it. It seems kind of unfortunate that the DBus type

Re: GDBus/GVariant: well-known vs unique names

2009-10-15 Thread David Zeuthen
On Thu, 2009-10-15 at 13:31 +0100, Simon McVittie wrote: On Wed, 14 Oct 2009 at 21:34:26 -0400, David Zeuthen wrote: - Ideally make insane things impossible to do - e.g. only allow proxy creation for unique bus names - not well-known names. Instead people will discover they