Re: GtkButton, enter-notify signal, and GdkWindow

2010-11-23 Thread Mike Massonnet
Hi, 2010/11/24 Brian Tietz sdbti...@yahoo.com: I am creating two widget subclasses, one which is a subclass of GtkContainer and one which is a subclass of GtkButton.  Both need to receive the enter-notify signal.  I can successfully obtain the enter-notify signal fot GtkButton in

g_value_type_transformable String to Enum fails

2010-09-28 Thread Mike Massonnet
Hi, By compiling the following code snippet, at execution it prints a critical message. Is this a bug or just normal? (process:1545): GLib-GObject-CRITICAL **: g_value_type_transformable: assertion `G_TYPE_IS_VALUE (dest_type)' failed // cc `pkg-config --cflags --libs gobject-2.0` #include

Re: g_value_type_transformable String to Enum fails

2010-09-28 Thread Mike Massonnet
of this is important, it is out of curiosity. Mike 2010/9/28 Mike Massonnet mmasson...@gmail.com: Hi, By compiling the following code snippet, at execution it prints a critical message. Is this a bug or just normal? (process:1545): GLib-GObject-CRITICAL **: g_value_type_transformable: assertion

Re: Website proposal for usability

2010-09-03 Thread Mike Massonnet
One website that has its own coordinators: http://webkitgtk.org/ It could deserve an update with the html skel that you have come up with. My 2 cents Mike ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: Website proposal for usability

2010-08-22 Thread Mike Massonnet
Hi, 2010/8/21 Devin Samarin eboyj...@gmail.com: I thought I'd give up update of what the site is looking like now, and I hope everyone is fine with using this mailing list. I have integrated tweets from identi.ca in the News Feed on the main page. I finished the re-design of the GTK-Doc

Re: horizontal rule in GtkTextView?

2010-08-20 Thread Mike Massonnet
Hi Petr, 2010/8/12 Petr Tomasek toma...@etf.cuni.cz: Hello! Is it possible to insert an horizontal rule into the GtkTextView? I tried to search the Google but found nothing. I think the solution is to use a pixbuf, those can be inserted inside GtkTextView (gtk_text_buffer_insert_pixbuf),

Git commit message with tag

2010-08-12 Thread Mike Massonnet
Hi, This wiki page[1] has a note on how to prepend a commit message with a tag. This form of a tag is actually buggy with git am, git am will eat any text at the beginning of a subject line that is embraced by brackets. Instead, it should be updated to use this form: tag: . I hope you are fine

Re: Git commit message with tag

2010-08-12 Thread Mike Massonnet
2010/8/12 Steve Frécinaux nudr...@gmail.com: On 08/12/2010 03:34 PM, Frederic Peters wrote: Also we have been using [tags] since the Git migration, is this a new feature/bug of 'git am' ? I guess people just didn't care, but it has been there from the beginning. The rationale is simple:

Re: putting icon on GtkImageMenuItem tutorial(ette)

2010-06-23 Thread Mike Massonnet
2010/6/23 Mick bare...@tpg.com.au: can any one point me to a tutorial or clear example code that covers placing an icon on a GtkImageMenuItem with label. I've been trying all day and when I cast my way out of type mismatches I keep getting segfaults. GtkWidget *image = gtk_image_new_...

Re: GtkApplication

2010-06-04 Thread Mike Massonnet
2010/6/4 Matthias Clasen matthias.cla...@gmail.com: 3)   /* TODO look up .desktop file on freedesktop platform, initialize title etc. */ On a more-or-less unrelated topic, I have been wondering if GApplication can take care of setting the application name (g_set_application_name) it is one of

Re: Unable to get Python/Gtk code to work...

2009-10-13 Thread Mike Massonnet
Hi, From a quick view there is no Gtk.init at the beginning (I don't know python/gtk very well, but from a search it doesn't seem to be needed there), and at the end it doesn't enter the main loop with gtk.main(). 2009/10/12 Daniel B. Thurman d...@cdkkt.com: I am a first timer here and I am

Re: catching esc pressed in a dialog with entry and treeview

2009-10-13 Thread Mike Massonnet
Hi, Right thing to do should be to connect the dialog to the signal GtkWidget:key-press-event, possibly filter on GDK_Escape, and return true (see the api for more info on the return value, true will block any further calls). 2009/10/12 Manu TM manutm...@gmail.com: Hi I'm having a problem

Fwd: Bug with g_file_load/replace_contents and utf-8

2009-06-30 Thread Mike Massonnet
Hello, I have been porting a part of a program to GIO for file monitoring. By this move I also switched g_file_get/set_contents to the ones available in the GFile object, g_file_load/replace_contents. At the first run I was surprised that it didn't work (of course errors may always be introduced

Re: mouse enter/leave notifications for insenstive widgets

2009-04-09 Thread Mike Massonnet
Le Thu, 9 Apr 2009 14:28:11 +0530, Praveen Innamuri ajay.praveen2...@gmail.com a écrit : I have a insensitive (disabled) widget (let's call it as widget-3) and is drawn over a GtkContainer (let's call it as widget-2). Both widget-2 and widget-3 are children of a GtkContainer (let's call it

Re: Moving GLib and GTK+ to git

2009-04-01 Thread Mike Massonnet
Le Tue, 31 Mar 2009 18:06:56 -0400, David Zeuthen da...@fubar.dk a écrit : On Tue, 2009-03-31 at 17:03 -0400, Matthias Clasen wrote: On Tue, Mar 31, 2009 at 3:58 PM, Behdad Esfahbod beh...@behdad.org wrote: On 03/31/2009 03:50 PM, David Zeuthen wrote: Personally I prefer non-capital

Re: GTK+ web site [PATCH]

2009-03-28 Thread Mike Massonnet
Le Sat, 28 Mar 2009 12:54:41 +0100, Sven Herzberg he...@gnome-de.org a écrit : Am Samstag, den 28.03.2009, 12:37 +0100 schrieb Christian Dywan: Am Fri, 27 Mar 2009 17:38:12 -0700 schrieb Eugenia Loli-Queru el...@hotmail.com: So, what about that link? :-) Here's a patch. I'm not quite

Re: How to realize a battery-indicator with a trayicon? How to show the current capacity

2008-11-16 Thread Mike Massonnet
Le Sun, 16 Nov 2008 10:56:40 -0700, Jim George [EMAIL PROTECTED] a écrit : 2008/11/16 Rorschach [EMAIL PROTECTED]: Hi, I wanna write a little battery-indicator in C with GTK. It's already working nicly in the console and I know how to write a trayicon with gtk but what I don't know is:

Re: Glade signal connect data and full

2008-11-10 Thread Mike Massonnet
Hi, and really quickly, Le Mon, 10 Nov 2008 08:38:53 -0500, dhk [EMAIL PROTECTED] a écrit : All, Could some explain how to use glade_xml_signal_connect_data() and glade_xml_signal_connect_full()? Some good examples would be helpful also.

Re: how can i scale big pixbuf in realtime?

2008-10-07 Thread Mike Massonnet
Le Mon, 6 Oct 2008 16:13:25 +0800, chen zhixin [EMAIL PROTECTED] a écrit : hello i have to scale the image i recived,NTSC,30f/s,yuyv-gray and 720*480 because i need to do something on image,so i use gray-pixmap,and use cairo_t to do . then i must scale the 720*480, use gdk_pixbuf_scale make

Re: The menu popup direction

2008-09-24 Thread Mike Massonnet
Le Wed, 24 Sep 2008 16:16:20 +0800, XiuHua Wu [EMAIL PROTECTED] a écrit : Hi All: Can GTK+ control the menu popup direction ?? When I create a popup menu and use the function gtk_menu_popup to show the menu, and the menu alway pops from up to down. Is it possible to pop the menu from

Re: The menu popup direction

2008-09-24 Thread Mike Massonnet
Le Thu, 25 Sep 2008 09:00:21 +0800, XiuHua Wu [EMAIL PROTECTED] a écrit : Yes, I know it can use this function to determine the position of the menu. But if the menu is dynamic, I mean the length is not fixed and can be changed during the program running, so the menu position must be

API has links that ends in 404

2008-09-05 Thread Mike Massonnet
Hello, Just to let you know that the page about GtkStatusIcon[0] links against GIcon which ends to return 404[1]. Cheers Mike [0] http://library.gnome.org/devel/gtk/stable/GtkStatusIcon.html [1] http://library.gnome.org/usr/share/gtk-doc/html/gio/GIcon.html

Re: g_signal_emit and parameters

2008-08-30 Thread Mike Massonnet
Le Sat, 30 Aug 2008 17:45:32 +0200, Salvatore De Paolis [EMAIL PROTECTED] a écrit : Hi all, I have in a library such a signal emission g_signal_emit(view, MY_SIGNAL, NULL, menu); and from the program I'm connecting a callback to it in the way gboolean my_callback_menu (TYPE_VIEW

Re: GtkBuilder bug?

2008-02-27 Thread Mike Massonnet
On Wed, Feb 27, 2008 at 12:04:10PM +0300, Pavel Syomin wrote: Hi, all! I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in UI-file, then application crashes. Is it a GtkBuilder bug? Test program: #include

Re: GtkTextView and GtkScrolledWindow

2008-02-24 Thread Mike Massonnet
Sorry, I misstyped around y (send) and t (To:). - Forwarded message from Mike Massonnet [EMAIL PROTECTED] - From: Mike Massonnet [EMAIL PROTECTED] To: Barret Rennie [EMAIL PROTECTED] Subject: Re: GtkTextView and GtkScrolledWindow On Sun, Feb 24, 2008 at 10:47:22AM -0600, Barret Rennie

Re: question on using GtkCellRendererProgress

2008-02-18 Thread Mike Massonnet
On Mon, Feb 18, 2008 at 10:27:03PM +0800, Gregory Hosler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Massonnet wrote: | On Mon, Feb 18, 2008 at 09:29:26PM +0800, Gregory Hosler wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | Hi all, | | I've got