gmain loop and listening on a port

2005-08-05 Thread Tim Fulcher - Clickatell
Title: Message Hi all   Please forgive as I'm a newbie with linux and gcc.   I'm trying to listen on a socket and am restricted to using g_main_loop, I have set up the socket and have attached the socket to the gmainloop as using g_io_add_watch and then using "accept()" but the port will o

How to create round shape push buttons

2005-08-05 Thread abhijeet singh panwar
Hi, I am building an application using GTK library. In this application i have to create round shape buttons with different colors. Can anybody tell me how can i change the shape of a button. Regards Abhijeet ___ gtk-list mailing list gtk-list@gnome.org

Re: Troubleshooting segfault

2005-08-05 Thread Baurzhan Ismagulov
Hello Jonathan, On Thu, Aug 04, 2005 at 02:34:50PM -0500, Jonathan Hayward wrote: > I've been developing an application, and now it crashes shortly after > starting; it segfaults (secondary damage?) either on the first attempt to > strncpy() from a text input, or gtk_image_new_from_pixbuf(). Bot

Re: Troubleshooting segfault

2005-08-05 Thread Jan-Espen Pettersen
Jonathan Hayward wrote: > I've been developing an application, and now it crashes shortly after > starting; it segfaults (secondary damage?) either on the first attempt > to strncpy() from a text input, or gtk_image_new_from_pixbuf(). Both > of these were working reliably, and I haven't touched th

RE: [gtkextra] No text is drawn

2005-08-05 Thread Marco Quezada
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Wednesday, August 03, 2005 9:03 AM > To: [EMAIL PROTECTED]; gtk-list@gnome.org > Subject: Re: [gtkextra] No text is drawn > > > On Wed, Aug 03, 2005 at 02:49:28PM +0200, Christop

Re: Troubleshooting segfault

2005-08-05 Thread Jonathan Hayward
On 8/5/05, Jan-Espen Pettersen <[EMAIL PROTECTED]> wrote: Jonathan Hayward wrote:> I've been developing an application, and now it crashes shortly after> starting; it segfaults (secondary damage?) either on the first attempt> to strncpy() from a text input, or gtk_image_new_from_pixbuf(). Both > of

Expose events not occurring from gdk_window_invalidate_rect

2005-08-05 Thread Douglas Vechinski
I sent this problem out a few days ago and never heard anything. This is a modified form of it plus I've attached a stripped down version of the code which demonstrates the problem (at least on my platforms). I'm having a problem with an application I am developing to display a 3D object in a dra

Re: Writing to a buffer

2005-08-05 Thread Jonathan Hayward
It's now manifesting a different problem. I can write at the end of a text_buffer inside a text_view, but not tell it to scroll down. The last two calls are meant to scroll all the way down: void new_pmsg(char* message)     {     GtkTextIter iterator;     gtk_text_buffer_insert_at_cursor(GTK_TEXT_

Re: Expose events not occurring from gdk_window_invalidate_rect

2005-08-05 Thread Sven Neumann
Hi, Douglas Vechinski <[EMAIL PROTECTED]> writes: > The problem I am having is that depending upon the size of the drawing > area window, the expose event handler (to redraw the scene) is not > called after I issue a gdk_window_invalidate_rect. Does your application ever become idle? The invalid

Re: Expose events not occurring from gdk_window_invalidate_rect

2005-08-05 Thread Douglas Vechinski
Yes it is idle a lot. Whenever your not moving the mouse or interacting with the GUI it should be sitting in main GTK event loop. On Fri, 2005-08-05 at 17:31 +0200, Sven Neumann wrote: > Hi, > > Douglas Vechinski <[EMAIL PROTECTED]> writes: > > > The problem I am having is that depending upon

GLib 2.7.7 released

2005-08-05 Thread Matthias Clasen
GLib 2.7.7 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.7/ glib-2.7.7.tar.bz2 md5sum: 1524e5300d6bbdc6682be057744ddc53 glib-2.7.7.tar.gz md5sum: b62b3e91b04a93c8c717f733b79843ed This is another release candidate for GLib 2.8. Notes: * We consider this release to be a re

Grabbing space for a widget

2005-08-05 Thread Jonathan Hayward
I currently have a window that's laid out like this: 111 222 222 333 444333 444 333 444333 444333 333 33