Re: confused about pango_cairo_font_map_set_resolution API

2005-11-15 Thread Stefan Kost
Hi Axel, Axel Simon wrote: Hi, I'm slightly confused about the pango_cairo_font_map_set_resolution function and friends, mainly because it only takes one argument, namely a scaling factor between em*1/72 (font size in inch (why oh why?!)) and pixels. Given that my monitor (and probably other

To make the menubar background transparent

2005-11-15 Thread sadhees kumar
Hi Friends, Im using my GTK+ in my embedded application, im using a menubar in it, all i want is to make the menubar's background transperent. If anybody have come cross across this problem please let me know with some example code. THANKS in advance. _ Regards, K.Sadheeskumar.

Re: confused about pango_cairo_font_map_set_resolution API

2005-11-15 Thread Axel Simon
On Tue, 2005-11-15 at 09:05 +0100, Stefan Kost wrote: Hi Axel, Axel Simon wrote: Hi, I'm slightly confused about the pango_cairo_font_map_set_resolution function and friends, mainly because it only takes one argument, namely a scaling factor between em*1/72 (font size in inch (why

Re: confused about pango_cairo_font_map_set_resolution API

2005-11-15 Thread Stefan Kost
Axel Simon wrote: On Tue, 2005-11-15 at 09:05 +0100, Stefan Kost wrote: Hi Axel, Axel Simon wrote: Hi, I'm slightly confused about the pango_cairo_font_map_set_resolution function and friends, mainly because it only takes one argument, namely a scaling factor between em*1/72 (font size in

Re: Win32 Glib 2.8.x g_io_channel issues (receiving window messages on socket io channel)

2005-11-15 Thread Tor Lillqvist
There are some problems both in your code, and in giowin32.c. For efficiency, your code should not read just one byte at a time in the callback. It should read in bigger chunks, and as much as possible in a loop, until it gets a WSAEWOULDBLOCK or an EOF. If it did this, it would probably also

Re: Odd font display problem on AIX 5.2/5.3 with _same_ fonts

2005-11-15 Thread Albert Chin
On Sat, Nov 12, 2005 at 10:15:30AM +0100, Iago Rubio wrote: On Sat, 2005-11-12 at 00:04 -0600, Albert Chin wrote: [Originally posted in October but no response so reposting] I'm having an odd font display problem with GTK+ 2.6.8 on AIX 5.3. I made sure both the AIX 5.2 and 5.3 systems

Motion event over pixmap.

2005-11-15 Thread marcodev
Hello, I am using the following function to load a bitmap file and display it inside a pixmap widget: GtkWidget *image1; image1 = gdk_pixbuf_new_from_file(file_name, error); The bitmap loads and displays fine but I would like to be ablle to track the position of the mouse pointer over the

GLib 2.8.4 released

2005-11-15 Thread Matthias Clasen
GLib 2.8.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.8/ glib-2.8.4.tar.bz2 md5sum: 349a0f039f53584df11d2043d36c49b8 glib-2.8.4.tar.gzmd5sum: 9ec21d9e7541fa6725de96455a8d9e31 GLib is the low-level core library that forms the basis for projects such as GTK+ and GNOME.

GTK+ 2.8.7 released

2005-11-15 Thread Matthias Clasen
GTK+ 2.8.7 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.8/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/ gtk+-2.8.7.tar.bz2 md5sum: d0f205f97fe6ae3ecb6eae7be5a68b39 gtk+-2.8.7.tar.gzmd5sum: efd1c122bbb0f655ac6ce5f3bb480551 This is a bugfix release in the 2.8.x

Is there a way to use Pango Markup in GtkTextBuffer

2005-11-15 Thread Douglas Vechinski
Is there any convenient way to insert text using the Pango Markup language into a GtkTextBuffer. Such functions exist for GtkLabel and GtkCellView but I haven't seen any for GtkTextBuffer. If none exist, is there a reason they don't? Seems like such functions would aid in inserting text with

how to active the modaless window

2005-11-15 Thread rion10 (sent by Nabble.com)
I've 2 modaless window created by the following way: a = gtk_window_new (GTK_WINDOW_DIALOG); gtk_window_set_modal (GTK_WINDOW (a), FALSE); b = gtk_window_new (GTK_WINDOW_DIALOG); gtk_window_set_modal (GTK_WINDOW (b), FALSE); in my application, how to active any one, let it to be top level?

Re: Win32 Glib 2.8.x g_io_channel issues (receiving window messages on socket io channel)

2005-11-15 Thread Daniel Atallah
On 11/15/05, Tor Lillqvist [EMAIL PROTECTED] wrote: There are some problems both in your code, and in giowin32.c. For efficiency, your code should not read just one byte at a time in the callback. It should read in bigger chunks, and as much as possible in a loop, until it gets a

row_activated error?????

2005-11-15 Thread ashley maher
G'day, I have the following run time error: (dump_key:16343): GLib-GObject-WARNING **: gsignal.c:1716: signal `row_activated' is invalid for instance `0x80a6d00' There are no compile time errors or warnings when using gcc -Wall. In the code below when I use changed all works well, when I use

Re: To make the menubar background transparent

2005-11-15 Thread Kevin Brooks
--- sadhees kumar [EMAIL PROTECTED] wrote: Hi Friends, Im using my GTK+ in my embedded application, im using a menubar in it, all i want is to make the menubar's background transperent. If anybody have come cross across this problem please let me know with some example code. THANKS

Re: Win32 Glib 2.8.x g_io_channel issues (receiving window messages on socket io channel)

2005-11-15 Thread Tor Lillqvist
I fixed that (and what do you know... it works!). Thanks for noticing. Good to hear! Should I make an attempt at the changes to giowin32.c, or is that something you've already got sorted out? See the patch below that clears up some of the issues: 1) After getting FD_CLOSE, make the knowledge

Re: Win32 Glib 2.8.x g_io_channel issues (receiving window messages on socket io channel)

2005-11-15 Thread Tor Lillqvist
Tor Lillqvist writes: See the patch below that clears up some of the issues: Forgot to mention, 3) Calls WSAEnumNetworkEvents() only if the event for the socket has fired. This means the spurious WSAEnumNetworkEvents() calls you noticed being logged when just moving the mouse don't happen any