Re: Learning Glade

2008-09-26 Thread Ruben Safir
On Mon, Apr 28, 2008 at 08:01:13PM +0200, Luis Menina wrote: If you have a recent version of GTK+ (= 2.12), just go with GtkBuilder instead of libglade: this is the way things should be done nowadays, if you create a simple interface (GtkBuilder is still young). You can design your

simple question about gtk_notebook

2008-09-26 Thread Vasiliy Tolstov
Hello. I have this code (window with 2 tabs), if i'm try to run - displays only window without tabs, where is error ? gtk_init (argc, argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_title (GTK_WINDOW (window), Services); gtk_window_set_position

Re: simple question about gtk_notebook

2008-09-26 Thread Damien Caliste
Hello, Le 26/09/2008, Vasiliy Tolstov [EMAIL PROTECTED] a écrit : Hello. I have this code (window with 2 tabs), if i'm try to run - displays only window without tabs, where is error ? Isn't the gtk_container_add(GTK_CONTAINER(window), notebook); missing? Damien.

Re: simple question about gtk_notebook

2008-09-26 Thread Vasiliy Tolstov
On Fri, 2008-09-26 at 11:26 +0200, Damien Caliste wrote: Hello, Le 26/09/2008, Vasiliy Tolstov [EMAIL PROTECTED] a écrit : Hello. I have this code (window with 2 tabs), if i'm try to run - displays only window without tabs, where is error ? Isn't the

gtk+ signal handler problem

2008-09-26 Thread Orcan Kolankaya
Hi, i will really appreciate if anyone can help me! I have just started to use gtk+ and glade with dev-cpp in windows, and i ve been following the tutorial, http://www.micahcarrick.com/12-24-2007/gtk-glade-tutorial-part-1.html#Introduction_to_Glade3.. Finally i have managed to compile and run the

Transparent Draw Area

2008-09-26 Thread michael
Hi all, I want to create a transparent draw area and using cairo to draw line with the window background. My backed is directfb and I don't know if it is supported. I want to start with an example working on X. Is there somenthing attribute or function to do this? Regards Michael

Re: Learning Glade

2008-09-26 Thread Murray Cumming
On Fri, 2008-09-26 at 02:31 -0400, Ruben Safir wrote: On Mon, Apr 28, 2008 at 08:01:13PM +0200, Luis Menina wrote: If you have a recent version of GTK+ (= 2.12), just go with GtkBuilder instead of libglade: this is the way things should be done nowadays, if you create a simple interface

GtkFileChooserDialog: something funny?

2008-09-26 Thread Allin Cottrell
After updating to glib 2.18.1, gtk 2.14.3 and pango 1.22.0 I'm seeing some funny behavior from GtkFileChooserDialog, which has started to emit a GLib-GObject-CRITICAL message on destruction. Simple test case, based on the example in the documentation for GtkFileChooserDialog: void

Re: GtkFileChooserDialog: something funny?

2008-09-26 Thread Tor Lillqvist
Any ideas on what's going on? http://bugzilla.gnome.org/show_bug.cgi?id=553135#c8 ? --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Why is minimizing an app and switching the desktop resulting in the same window-event: ICONIFIED ?

2008-09-26 Thread Rorschach
Really noone any ideo how to hide a window to tray when minimized but not when moving to another desktop with gtk? On Wed, 17 Sep 2008 19:57:05 +0200 Rorschach [EMAIL PROTECTED] wrote: Hi, I'm writing a trayicon (gtk-status-icon) in C for a linux-application. I created an event-handler

Re: GtkFileChooserDialog: something funny?

2008-09-26 Thread Allin Cottrell
On Fri, 26 Sep 2008, Tor Lillqvist wrote: Any ideas on what's going on? http://bugzilla.gnome.org/show_bug.cgi?id=553135#c8 ? Thanks, got it. -- Allin Cottrell Department of Economics Wake Forest University ___ gtk-app-devel-list mailing list

Re: GtkFileChooserDialog: something funny?

2008-09-26 Thread Allin Cottrell
On Fri, 26 Sep 2008, Tor Lillqvist wrote: Any ideas on what's going on? http://bugzilla.gnome.org/show_bug.cgi?id=553135#c8 ? On closer inspection, I see that Michael Natterer's patch is already in gtk 2.14.3, and does not solve the problem I mentioned, namely GLib-GObject-CRITICAL **:

possible memory leak help.

2008-09-26 Thread alee
Hi, I have a memory leak problem which I can't seem to understand. I have a GtkTreeview/ GtkTreeModelFilter/ GtkTreeStore setup. I have traced it to a case where memory leaks when I call gtk_tree_store_set multiple times. Here is a snipnet of my code demonstrating the problem. Am I suppose

Re: GtkFileChooserDialog: something funny?

2008-09-26 Thread Allin Cottrell
On Fri, 26 Sep 2008, Michael Natterer wrote: On Fri, 2008-09-26 at 14:29 -0400, Allin Cottrell wrote: On Fri, 26 Sep 2008, Tor Lillqvist wrote: Any ideas on what's going on? http://bugzilla.gnome.org/show_bug.cgi?id=553135#c8 ? On closer inspection, I see that Michael

Re: Minutes of the GTK+ Team Meeting - 2008-09-23

2008-09-26 Thread Christian Dywan
Am Thu, 25 Sep 2008 22:20:17 +0200 schrieb Michael Natterer [EMAIL PROTECTED]: On Thu, 2008-09-25 at 15:07 -0400, Morten Welinder wrote: If all you really want is to change the defaults for box packing, then why isn't that all you are proposing? It would be a simple 1-line patch to

Re: g_assert() semantics is changed without announce

2008-09-26 Thread Tim Janik
On Fri, 26 Sep 2008, Andrew Cowie wrote: On Thu, 2008-09-25 at 13:06 -0400, Matthias Clasen wrote: The important part of the assert semantics are: if the assertion fails, the program aborts. If you are using assertions in a way that make it important where or how the message is reported In

Moving to GtkBox (Re: Minutes of the GTK+ Team Meeting - 2008-09-23)

2008-09-26 Thread Tim Janik
On Thu, 25 Sep 2008, Mike Kestner wrote: The types would essentially be boilerplate, so it's not like they are going to be a maintenance issue. If the motivation for removing the types is that, things aren't as beautiful as they could be then that argument doesn't really outweigh the pain of

Re: Moving to GtkBox (Re: Minutes of the GTK+ Team Meeting - 2008-09-23)

2008-09-26 Thread Peter Clifton
On Fri, 2008-09-26 at 11:44 +0200, Tim Janik wrote: On Thu, 25 Sep 2008, Mike Kestner wrote: [snip] - Change the packing defaults for gtk_box_pack_start_defaults and friends unless old compat types are detected, i.e.: void gtk_box_pack_start_defaults (GtkBox *box, GtkWidget

Re: Moving to GtkBox (Re: Minutes of the GTK+ Team Meeting - 2008-09-23)

2008-09-26 Thread Tim Janik
On Fri, 26 Sep 2008, Peter Clifton wrote: On Fri, 2008-09-26 at 11:44 +0200, Tim Janik wrote: - Change additional defaults as needed, e.g.: gtk_box_init (GtkBox *self) { gboolean compat_type = g_type_is_named (G_OBJECT_TYPE (box), GtkHBox) || g_type_is_named

Re: Moving to GtkBox (Re: Minutes of the GTK+ Team Meeting - 2008-09-23)

2008-09-26 Thread Peter Clifton
On Fri, 2008-09-26 at 12:57 +0200, Tim Janik wrote: On Fri, 26 Sep 2008, Peter Clifton wrote: On Fri, 2008-09-26 at 11:44 +0200, Tim Janik wrote: - Change additional defaults as needed, e.g.: gtk_box_init (GtkBox *self) { gboolean compat_type = g_type_is_named

Re: Moving to GtkBox (Re: Minutes of the GTK+ Team Meeting - 2008-09-23)

2008-09-26 Thread Tim Janik
On Fri, 26 Sep 2008, Peter Clifton wrote: On Fri, 2008-09-26 at 12:57 +0200, Tim Janik wrote: As i said above, there is no need at all for micro speed optimization in these code paths. And using GTK_IS_HBOX() adds a type registration dependency, which prevents things like moving

Re: g_assert() semantics is changed without announce

2008-09-26 Thread Stefan Kost
Tim Janik schrieb: On Fri, 26 Sep 2008, Andrew Cowie wrote: On Thu, 2008-09-25 at 13:06 -0400, Matthias Clasen wrote: The important part of the assert semantics are: if the assertion fails, the program aborts. If you are using assertions in a way that make it important where or how the

Re: GtkFileChooserDialog: something funny?

2008-09-26 Thread Allin Cottrell
On Fri, 26 Sep 2008, Tor Lillqvist wrote: Any ideas on what's going on? http://bugzilla.gnome.org/show_bug.cgi?id=553135#c8 ? On closer inspection, I see that Michael Natterer's patch is already in gtk 2.14.3, and does not solve the problem I mentioned, namely GLib-GObject-CRITICAL **:

Re: GtkFileChooserDialog: something funny?

2008-09-26 Thread Michael Natterer
On Fri, 2008-09-26 at 14:29 -0400, Allin Cottrell wrote: On Fri, 26 Sep 2008, Tor Lillqvist wrote: Any ideas on what's going on? http://bugzilla.gnome.org/show_bug.cgi?id=553135#c8 ? On closer inspection, I see that Michael Natterer's patch is already in gtk 2.14.3, and does not

Re: GtkFileChooserDialog: something funny?

2008-09-26 Thread Allin Cottrell
On Fri, 26 Sep 2008, Michael Natterer wrote: On Fri, 2008-09-26 at 14:29 -0400, Allin Cottrell wrote: On Fri, 26 Sep 2008, Tor Lillqvist wrote: Any ideas on what's going on? http://bugzilla.gnome.org/show_bug.cgi?id=553135#c8 ? On closer inspection, I see that Michael

Re: GtkFileChooserDialog: something funny?

2008-09-26 Thread Michael Natterer
On Fri, 2008-09-26 at 17:24 -0400, Allin Cottrell wrote: On Fri, 26 Sep 2008, Michael Natterer wrote: On Fri, 2008-09-26 at 14:29 -0400, Allin Cottrell wrote: On Fri, 26 Sep 2008, Tor Lillqvist wrote: Any ideas on what's going on?

Re: Minutes of the GTK+ Team Meeting - 2008-09-23

2008-09-26 Thread Havoc Pennington
Even though the update to each line may be trivial, I would say that if a deprecation touches a lot of lines in every app, it really has to meet a high bar for worthwhile-ness, or we're just wasting a whole lot of people's time. Deprecation should not be about aesthetics, or second-guessing the

Re: Minutes of the GTK+ Team Meeting - 2008-09-23

2008-09-26 Thread Shawn Amundson
Havoc Pennington wrote: ... (if one is compelled to hack on boxes, my suggestion is to leave GtkBox alone but add a new nicer container like HippoCanvasBox, its features include: * have left/right/center/fill x/y alignment * you only need 1 expand boolean, alignment replaces fill with something