gtk_fixed_move called from size-allocated event freezes the GUI

2008-12-17 Thread Giuseppe Torelli
Hi, I have a gtk fixed widget with a viewport as a child. I connected the size-allocated signal to the gtk fixed widget: hbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX(vbox1), hbox, TRUE, TRUE, 0); fixed = gtk_fixed_new (); gtk_box_pack_start (GTK_BOX (hbox), fixed, TRUE, TRUE, 0);

Re: status bars with multiples part

2008-12-17 Thread Luiz Rafael Culik Guimaraes
Hi Lance I would just pack 4 different statusbars in an hbox, and have each statusbar have it's own information. thanks for the info, but is possible to specify the size of each part of statusbar ? Regards Luiz ___ gtk-app-devel-list mailing

Re: status bars with multiples part

2008-12-17 Thread Lance Dillon
I believe you can set the size of a widget (gtk_widget_set_size_request). That is the minimum size for the widget. It can still be bigger if the containing widget is bigger. - Original Message From: Luiz Rafael Culik Guimaraes l...@xharbour.com.br To: Lance Dillon

Re: valgrind reports memory leak on g_main_loop_run

2008-12-17 Thread Alexander Semenov
Sune Ahlgren wrote: Hi, I use 1 GMain event loop in my main context for monitoring of events on file descriptors. I shut down my program by receiving a SIGTERM. In this signal handler I do the following: g_main_loop_quit(loop); g_main_loop_unref(loop); loop = NULL; I've also tried to

status bars with multiples part

2008-12-17 Thread Luiz Rafael Culik Guimaraes
Dear Friends is possible to create an statusbar in gtk with multiples parts? example part 1 show the filename, part 2 show row number, part 3 show col number, part 4 show ins/CAPS status on/off Regards Luiz ___ gtk-app-devel-list mailing list

gint on gtk_entry_set_text

2008-12-17 Thread frederico schardong
Please look: gint dado; dado = inb(0x37A); gtk_entry_set_text(GTK_ENTRY(entry2),dado); Whow I can show gint in my entry2? Tanks ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: gint on gtk_entry_set_text

2008-12-17 Thread Tadej Borovšak
Hello. I think this should work: - gint dado; gchar *tmp; dado = 0x37A; /* replace %d with %x if you need your number in hex */ tmp = g_strdup_printf( %d, dado ); gtk_entry_set_text( GTK_ENTRY( entry2 ), tmp ); g_free( tmp ); - 2008/12/17 frederico schardong