Help with Gtk TreeModel RowReference problem...

2009-07-07 Thread Freddie Unpenstein
Howdy folks... I'm stuck trying to find a non-horribly-hackish way to do something... So here goes... I have a ListStore containing records (rows) of the usual kinda thing, date, description, a few other fields. Selecting a row in the TreeView, brings up a dialog with that records details,

Re: one question about glib

2009-07-07 Thread Tor Lillqvist
When replying to a message on a mailing list (especially one about Open Source software), please reply to the mailing list, not to the message sender. The very point with public mailing lists is that discussion threads are kept public and archived for others to see. I am adding gtk-app-devel-list

one question about glib

2009-07-07 Thread Leao
Hello, List! Recently, I am writing a little program with gtk+ on win32 platform. In this program I use g_spawn_async_with_pipes(NULL,cmd_line,NULL,G_SPAWN_SEARCH_PATH,NULL,NULL,NULL,NULL,std_out,NULL,NULL); to call gcc and as a result the command line has executed successfully .However when I

Re: Simulating mouse input with gdk_event_put()?

2009-07-07 Thread neoTheSavior
I am a newbie in Gtk word. I am also want to emulate Mouse click event at given X, Y coordinates. Any help will be greatly appriciated. Thanks Bugzilla from d...@kegel.com wrote: I have figured out how to inject synthetic, or fake, keyboard events using gdk_event_put(), but I'm having

GtkLabel, GtkMisc, alignment and containers; an idea

2009-07-07 Thread Davyd Madeley
So, I was looking at why a GtkLabel with a RTL control code didn't seem to right-align the text in a GtkLabel. The answer being that the width of the PangoLayout is set to -1, rather than the width of the allocation. So I was wondering how you'd fix this. My immediate thought was to set the

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 Vizosoto...@sugarlabs.org 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 ticket in case

Re: GtkLabel, GtkMisc, alignment and containers; an idea

2009-07-07 Thread Behdad Esfahbod
On 07/07/2009 09:53 AM, Davyd Madeley wrote: So, I was looking at why a GtkLabel with a RTL control code didn't seem to right-align the text in a GtkLabel. The answer being that the width of the PangoLayout is set to -1, rather than the width of the allocation. So I was wondering how you'd fix

Re: GtkLabel, GtkMisc, alignment and containers; an idea

2009-07-07 Thread Davyd Madeley
On Tue, 2009-07-07 at 13:25 +0100, Behdad Esfahbod wrote: Generally agreed. Makes the code so much simpler... How do we avoid breaking API/ABI though? One idea was to use a #define GTK_LABEL_NEW_SEMANTICS which renamed GtkLabel and gtk_label_* to GtkNewLabel and gtk_new_label_* until GTK+

Re: generating documentation in a printable format...

2009-07-07 Thread Stefan Kost
Simos Xenitellis schrieb: On Wed, Jul 1, 2009 at 8:41 PM, Stefan Kostenso...@hora-obscura.de wrote: hi, Simos Xenitellis schrieb: On Wed, Jul 1, 2009 at 12:11 AM, Simos Xenitellissimos.li...@googlemail.com wrote: On Tue, Jun 30, 2009 at 9:39 PM, Stefan

Re: generating documentation in a printable format...

2009-07-07 Thread Stefan Kost
Stefan Kost schrieb: Simos Xenitellis schrieb: On Wed, Jul 1, 2009 at 8:41 PM, Stefan Kostenso...@hora-obscura.de wrote: hi, Simos Xenitellis schrieb: On Wed, Jul 1, 2009 at 12:11 AM, Simos Xenitellissimos.li...@googlemail.com wrote: On Tue,

Re: generating documentation in a printable format...

2009-07-07 Thread Stefan Kost
Stefan Kost schrieb: Stefan Kost schrieb: Simos Xenitellis schrieb: On Wed, Jul 1, 2009 at 8:41 PM, Stefan Kostenso...@hora-obscura.de wrote: hi, Simos Xenitellis schrieb: On Wed, Jul 1, 2009 at 12:11 AM, Simos

Re: generating documentation in a printable format...

2009-07-07 Thread Sven Neumann
Hi, guys, your thread is impressing. Just look at the last post and enjoy how the quotation level raises to its maximum in the middle of this mail where the author replies to himself for the third time in a row, always quoting the full previous post. Brilliant. Thanks for this wonderful work. It