controlling a modem through GTK+ program

2005-10-27 Thread Rajesh Jha
I have developed a small routine in gtk, that dials a number through a modem on click of GtkButton. The modem dials the number but the parent GtkWindow becomes unresponsive because the program control is on the modem. How do I get the control back on GtkWindow. Attached is the code. void

strange problem with radiomenuitem

2005-10-27 Thread Alexander Nagel
Hi all, i created some radiomenuitem with this. string tmp; for (int i = 0; i10;i++) { ostringstream outStream; outStream i; tmp = Gruppe +outStream.str(); Widgets_MainWindow.menugroupitems[i] = gtk_radio_menu_item_new_with_label (Widgets_MainWindow.GroupList,

Re: re-filter GtkFileChooser widget after changing custom GtkFileFilter

2005-10-27 Thread Olivier Sessink
Iago Rubio wrote: I've tried to simply set the filter function in the callback: GtkFileFilter *filter = gtk_file_chooser_get_filter(GTK_FILE_CHOOSER(dialog)); gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), filter); but that doesn't trigger the refiltering... Not quite elegant and

Re: *UPDATE* Binary writing to an input pipe and ASCII reading from an output one

2005-10-27 Thread Olivier Sessink
Colossus wrote: The red bytes do not correspond to the written ones: Bytes letti: 65536 Bytes scritti: 65536 Bytes letti: 65536 Bytes scritti: 2015 Bytes letti: 65536 Bytes scritti: 0 Bytes letti: 65536 Bytes scritti: 0 Bytes letti: 65536 Bytes scritti: 0 Bytes

Re: Meaning of G_IO_STATUS_AGAIN apart from resource temporarily unavailable ?

2005-10-27 Thread Olivier Sessink
Colossus wrote: Hi, I red the docs on GIOChannels but I'm stuck regarding what means resource temporarily available with non-blocking I/O that means that the buffers are full, so the call will not process all your data, and to avoid that this function will block your application, it will

Gtk+ and Autoconf?

2005-10-27 Thread Daniel Pekelharing
Hi all, I'm busy trying to setup my project to use the autoconf tools for compilation (I'm very new to using autoconf). Can anyone tell me how Gtk+ is normally detected using autoconf? I'm not sure how I'd go about using pkg-config with autoconf.. Thanks.. -- Daniel Pekelharing [EMAIL

using right click in creating pop up menus

2005-10-27 Thread philip zuniga
Good day to all, Does anyone here knows how to use the right-click event. I would like to show a popup menu, when the user right clicks in my application... Any help/reply would really be appreciated ___ gtk-app-devel-list mailing list

Re: strange problem with radiomenuitem

2005-10-27 Thread Stefan Kost
Hi Alexander Nagel wrote: Hi all, i created some radiomenuitem with this. string tmp; for (int i = 0; i10;i++) { ostringstream outStream; outStream i; tmp = Gruppe +outStream.str(); char tmp[10]; // length of Gruppe xx for (int i = 0; i10;i++) { sprintf(tmp,Gruppe

Re: Gtk+ and Autoconf?

2005-10-27 Thread Allin Cottrell
On Thu, 27 Oct 2005, Daniel Pekelharing wrote: Can anyone tell me how Gtk+ is normally detected using autoconf? I'm not sure how I'd go about using pkg-config with autoconf.. The standard thing is to use the macro PKG_CHECK_MODULES(), e.g. something like: if test -z $PKG_CONFIG; then

Re: Gtk+ and Autoconf?

2005-10-27 Thread Daniel Pekelharing
On Thu, 2005-10-27 at 10:46 -0400, Allin Cottrell wrote: The standard thing is to use the macro PKG_CHECK_MODULES(), e.g. something like: if test -z $PKG_CONFIG; then AC_PATH_PROG(PKG_CONFIG, pkg-config, no) fi if test $PKG_CONFIG = no ; then echo *** pkg-config not found, can't

Re: Gtk+ and Autoconf?

2005-10-27 Thread Ralf Corsepius
On Thu, 2005-10-27 at 17:00 +0200, Daniel Pekelharing wrote: On Thu, 2005-10-27 at 10:46 -0400, Allin Cottrell wrote: The standard thing is to use the macro PKG_CHECK_MODULES(), e.g. something like: if test -z $PKG_CONFIG; then AC_PATH_PROG(PKG_CONFIG, pkg-config, no) fi if

Re: Gtk+ and Autoconf?

2005-10-27 Thread Daniel Pekelharing
On Thu, 2005-10-27 at 17:03 +0200, Ralf Corsepius wrote: Actually, the whole PKG_CONFIG magic above is unnecessary. Have a look into /usr/share/aclocal/pkg.m4 you probably have installed on your system. Ralf Thanks! I found it.. thats even easier! -- Daniel Pekelharing [EMAIL

RV: GtkComboBox 2.6.7 and 2.8.5

2005-10-27 Thread Jorge Monsalvo
-Mensaje original- De: Jorge Monsalvo [mailto:[EMAIL PROTECTED] Enviado el: Thursday, 27 October, 2005 14:21 Para: 'Gtk-App-Devel-List' Asunto: GtkComboBox 2.6.7 and 2.8.5 Hi all, I were working in a project with GTK 2.6.7 on Windows and I'm trying to move it to 2.8.5 to use some new