long line in GtkTextBuffer

2005-09-11 Thread Nick Watts
I'm writing an application which largely consists of a text editor based around the Gtk multiline text widgets. My problem is that when I use gtk_text_buffer_set_text() to set the text in the widget, I have display issues with large lines. I would probably never have realised except that I trie

Re: Warning: implicit declaration of function `lstat'

2005-09-11 Thread Pseudo Nym
I have just discovered that I can lose the error message by replacing 'g_lstat' with 'gstat', or I can keep 'g_lstat' and remove the '-ansi' flag from my makefile. It seems that 'stat' is ansi compliant, but 'lstat' is not. Kevin ___ gtk-app-devel-li

Re: Semi-transparent GdkWindows?

2005-09-11 Thread Christian Neumair
Matthias Clasen schrieb: On Sun, 2005-09-11 at 12:49 +0200, Christian Neumair wrote: Help appreciated! You need to use an RGBA visual for your window, see gdk_screen_get_rgba_visual(). Thanks! Even then, the window will not be transparent unless a compositing manager is running,

Re: GtkImage size

2005-09-11 Thread John Vetterli
On Sat, 10 Sep 2005, Barry Demchak wrote: Can anyone tell me how I find out the height and width of a GtkImage widget?? I also need to know how to set up an event to tell me when the size changes. I think the widget->allocation.width and widget->allocation.height fields and the "size-allocate"

Re: Semi-transparent GdkWindows?

2005-09-11 Thread Matthias Clasen
On Sun, 2005-09-11 at 12:49 +0200, Christian Neumair wrote: > Help appreciated! > You need to use an RGBA visual for your window, see gdk_screen_get_rgba_visual(). Even then, the window will not be transparent unless a compositing manager is running, which is not really detectable currently. Tha

GtkImage size

2005-09-11 Thread Barry Demchak
Hi, all -- Can anyone tell me how I find out the height and width of a GtkImage widget?? I also need to know how to set up an event to tell me when the size changes. I have been going 'round and 'round in the documentation, and it's just not very obvious. Thanks! v

Re: Warning: implicit declaration of function `lstat'

2005-09-11 Thread Pseudo Nym
Thanks for the reply ztl_post, gstdio.h #includes , so I did not think I had to include it myself. Adding it to my source file does not solve the problem, nor did adding all the #includes shown by 'man lstat': #include #include #include I have checked for stat.h on my system - it

Re: Semi-transparent GdkWindows?

2005-09-11 Thread Christian Neumair
Am Sonntag, den 11.09.2005, 10:41 +0200 schrieb Christian Neumair: > Am Sonntag, den 11.09.2005, 10:26 +0200 schrieb Christian Neumair: > > I'm currently trying to implement a semi-transparent drag window for > > Nautilus. I'm trying to do this by creating a window widget and > > connecting to its

unsubscrip

2005-09-11 Thread Norbert Haefke
unsubscrip ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Semi-transparent GdkWindows?

2005-09-11 Thread Christian Neumair
Am Sonntag, den 11.09.2005, 10:26 +0200 schrieb Christian Neumair: > I'm currently trying to implement a semi-transparent drag window for > Nautilus. I'm trying to do this by creating a window widget and > connecting to its "expose-event", and then drawing onto it this handler. > Unfortunately, gdk

Semi-transparent GdkWindows?

2005-09-11 Thread Christian Neumair
I'm currently trying to implement a semi-transparent drag window for Nautilus. I'm trying to do this by creating a window widget and connecting to its "expose-event", and then drawing onto it this handler. Unfortunately, gdk_window_shape_combine_mask takes a bilevel alpha mask, i.e. full alpha vs.