Manual Menu Stock Items, Moving/Hiding Mouse

2005-05-28 Thread Daniel Pekelharing
Hi all, A few Questions: How do I use stock items/icons in manually constructed menus? I know I a menu item is derived from GtkBin so I could manually put the icons and a label in a box into the item.. I just want to know if there's a shortcut. Is there a gtk/gdk function for moving the mouse

Re: gtk_text_entry

2005-05-28 Thread Gian Mario Tagliaretti
2005/5/27, srinivas [EMAIL PROTECTED]: now i would like to get the same with button widget. when i press the next_button it has to check whether text has entered to the text_entry or not, if entered it has to print to the console. if not warning msg will pop up. the main pbm is

RE: Questions about Overlay and multiple key-strokes

2005-05-28 Thread Freddie Unpenstein
Question 1. Is it possible to have an image (Jpeg) displayed and have a drawing area overlayed on top but still be able to view the image below it. If a drawing area is not allowed, is it possible to put something that resembles a drawing area over an image where the x/y coordinates from the

Re: garray beginner problem

2005-05-28 Thread Freddie Unpenstein
garray = g_array_new (FALSE, FALSE, sizeof (Machine)); for (i = 1; i 1; i++){ Machine *newMach = machine_new(i,trd11,d11,joe); g_array_append_val (garray, newMach); Two problems here: You pass a *pointer* to Machine, not a Machine, so a pointer is stored into garray. And newMach

Memory leak problem

2005-05-28 Thread John Coppens
Hi all. Please check this code fragment: pxb = gdk_pixbuf_new_from_file(path, err); // Check if the image was previously allocated. If so, destroy it // Note that this relies on the pxb being destroyed too. It seems // this does _not_ happen (Valgrind indicate this) if (img_item)

Re: GtkTextView Tutorial

2005-05-28 Thread Markus Fischer
[EMAIL PROTECTED] wrote: A tutorial on GtkTextView and friends is available at http://www.bravegnu.org/gtktext/ Feel free to send in your suggestions. Hi, first I think this tutorial is absolutely great and needed for a long time. I'm by no means a professional when it comes to english and