Adding Entry into a MenuItem

2008-09-29 Thread Norbert Schultz
Hi, I am working on streamlining my Gtk-Application for faster use. It is currently running inside a StatusIcon and showing up a Menu right clicking on it. Here the user shall enter a String for before starting an action, for example a Search-Pattern before searching. It seems not to be a

Utf8 strings manipulation

2008-09-29 Thread Perriman
Hi all, I'm trying to transform an utf8 string. I have some problems with it because I don't know how to do it or where I can see an example (a tutorial, doc or application). I need transform this text (in utf8): gtk_source_completion to: GtkSourceCompletion. I don't know how replace

Re: Transparent Draw Area

2008-09-29 Thread Thomas Dybdahl Ahle
You can not make widgets transparent, other than to the other windows/desktop. Thus in your case, you need to create a new gtk.Window, and lay it over the rest of your app. You use the POPUP flag to remove the window-border and some set_colormap(self.get_screen().get_rgba_colormap()) If you read

Re: Utf8 strings manipulation

2008-09-29 Thread Tadej Borovšak
Hello, what I would do (not necessarily the smartest thing;) is try to determine what strings I'll be operating on. If I'm operating on ANSI/iso8859-1 strings, I don't need to use uft8-specialized functions, since characters from those have the same codes in all encodings. That thing out of the

Re: Utf8 strings manipulation

2008-09-29 Thread Michael Torrie
Perriman wrote: Hi all, I'm trying to transform an utf8 string. I have some problems with it because I don't know how to do it or where I can see an example (a tutorial, doc or application). I need transform this text (in utf8): gtk_source_completion to:

Re: Transparent Draw Area

2008-09-29 Thread michael
Hi, for now I do it: Change the window expose event: static gboolean window_expose_event (GtkWidget *widget, GdkEventExpose *event) { GdkRegion *region; GtkWidget *child; cairo_t *cr; /* get our child (in this case, the draw area) */ child = gtk_bin_get_child

Re: Utf8 strings manipulation

2008-09-29 Thread Perriman
Thanks a lot Tadej!! I will try this to learn more about utf8 string manipulation but I will use regexp because I need to replace more characters (This is only an example) Thanks again!!! El Mon, 29 Sep 2008 16:18:50 +0200 Tadej Borovšak [EMAIL PROTECTED] escribió: Hello, what I would do

Re: Utf8 strings manipulation

2008-09-29 Thread Perriman
Hi Michael, Thanks a lot for the idea!! I will use regexp because it will be easier than doing by hand. Thanks all!! El Mon, 29 Sep 2008 08:25:02 -0600 Michael Torrie [EMAIL PROTECTED] escribió: Perriman wrote: Hi all, I'm trying to transform an utf8 string. I have some problems

Composite children

2008-09-29 Thread Jeffrey Barish
I surround the creation of a particular widget with widget_push_composite_child and widget_pop_composite_child. Afterward, I see that property composite-child is True for the new widget. However, when I run get_children on the parent, the widget appears in the list even though documentation says

gio-standalone fails to build 'G_GNUC_PRETTY_FUNCTION'

2008-09-29 Thread comicinker
Hi I'm trying to build the svn version of gio-standalone (Rev 761) on a Ubuntu Hardy machine. I receive following error message: make[3]: Entering directory `/home/comic/zzz_unindexed/gio-standalone/trunk/gio' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DGIO_MODULE_DIR= \/usr/local/lib/gio/modules\

Re: gio-standalone fails to build 'G_GNUC_PRETTY_FUNCTION'

2008-09-29 Thread Sven Neumann
Hi, On Sat, 2008-09-27 at 11:27 +0200, comicinker wrote: I'm trying to build the svn version of gio-standalone (Rev 761) on a Ubuntu Hardy machine. I receive following error message: make[3]: Entering directory `/home/comic/zzz_unindexed/gio-standalone/trunk/gio' gcc -DHAVE_CONFIG_H

Re: gio-standalone fails to build 'G_GNUC_PRETTY_FUNCTION'

2008-09-29 Thread Jürg Billeter
Hi, On Sat, 2008-09-27 at 11:27 +0200, comicinker wrote: Hi I'm trying to build the svn version of gio-standalone (Rev 761) on a Ubuntu Hardy machine. gio-standalone has been merged into glib in 2.15.x. You shouldn't use gio-standalone anymore. Jürg

Patch biohazard report, Sep 29th

2008-09-29 Thread Christian Dywan
Hello Gtk+ people, time for another Bio Hazard! Low hanging fruits: - Bug 524203 – GtkRanges should send ::change-value even if not realized + Easy patch, removing a bogus if(realized) - Patch applies fine http://bugzilla.gnome.org/show_bug.cgi?id=524203 - Bug 307963 – GtkSpinButton clamps

Re: Patch biohazard report, Sep 29th

2008-09-29 Thread Sven Herzberg
Am Montag, den 29.09.2008, 15:34 +0200 schrieb Christian Dywan: Low hanging fruits: Plus this one: http://bugzilla.gnome.org/show_bug.cgi?id=548666 Bug 548666 – [PATCH] Allow searching for a given item in a GSequence Patch attached; applies cleanly; documentation in there; even a test case