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

Re: Japanese Display for gtk+-1.2.9

2005-10-27 Thread mpsuzuki
On Thu, 27 Oct 2005 13:58:13 +0800 Xyber Blue [EMAIL PROTECTED] wrote: Within my preparation, please install strace program onto FR-V. It is a tool to trace all system calls from a process, and useful to check which directories are scanned, which files are checked, and which files are opened. We

Re: How to render Hindi text on a button

2005-10-27 Thread Florian Boor
Hello, Lalit Kumar wrote: I need help from the group. Can anyone help me in rendering Hindi textover a button? I have Open type font but not able to render Hindi text. basically i don't see a reason why this shouldn't work out of the box if you set this font to be the default font and fill

should I use wxWidgets or is GTK+ enough?

2005-10-27 Thread bob self
I write windows programs but would like to start making my apps cross-platform. Originally I thought that wxWidgets was the way to go, but I wanted to consider alternatives before I make the switch. Could I accomplish mostly the same thing by using GTK+ instead? WxWidgets uses gtk, I've heard,

Re: Japanese Display for gtk+-1.2.9

2005-10-27 Thread Xyber Blue
Hello, Attach is the following logs from strace using locale C and locale ja_JP.eucJP. I don't know what's wrong with the locale but ja_JP.eucJP is not originally build in our system. We are creating it using localedef command so that the error GDK-Warning: locale not supported by library will

Re: should I use wxWidgets or is GTK+ enough?

2005-10-27 Thread Jose Hevia
I write windows programs but would like to start making my apps cross-platform. Originally I thought that wxWidgets was the way to go, but I wanted to consider alternatives before I make the switch. Could I accomplish mostly the same thing by using GTK+ instead? WxWidgets uses gtk, Short

should I use wxWidgets or is GTK+ enough?

2005-10-27 Thread Tor Lillqvist
bob self writes: WxWidgets uses gtk, I've heard, so maybe it's just another (unnecessary?) layer. I think wxWidgets uses GTK only on X11. On Windows it presumably uses the Microsoft widgets (common controls, or whatever their official name is). --tml

RE: should I use wxWidgets or is GTK+ enough?

2005-10-27 Thread Robert Thorpe
I think GIMP uses GTK+ this way on Windows. It works, but it's slow on Windows. You don't have to use C++ which is an advantage. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bob self Sent: 27 October 2005 13:41 To: gtk-list@gnome.org Subject:

Re: Japanese Display for gtk+-1.2.9

2005-10-27 Thread mpsuzuki
On Thu, 27 Oct 2005 21:07:26 +0800 Xyber Blue [EMAIL PROTECTED] wrote: Hello, Attach is the following logs from strace using locale C and locale ja_JP.eucJP. I don't know what's wrong with the locale but ja_JP.eucJP is not originally build in our system. We are creating it using localedef

GTK+ on Mac OS X

2005-10-27 Thread John M. Gabriele
I've heard about the new GTK+ port to OS X and was hoping to find out more. This was news around the beginning of October: http://micke.hallendal.net/archives/2005/10/gtk-macosx.html http://www.osnews.com/story.php?news_id=12153 but I haven't heard anything since. Just curious: 1. Is this

X render and theme engines

2005-10-27 Thread Andrew Shafer
Greetings, Is there any good documentation on GTK theme engines? I want a 'pixbuff like' theme engine that will push the majority (all?) of the work to the X server. Has any work been done in this area? Any guidance, comments or questions are welcome. Regards, Andrew Shafer Realm Systems,

Re: X render and theme engines

2005-10-27 Thread Tommi Komulainen
On 10/27/05, Andrew Shafer [EMAIL PROTECTED] wrote: I want a 'pixbuff like' theme engine that will push the majority (all?) of the work to the X server. The 'sapwood' theme engine derived from the pixbuf engine does exactly this. The gtkrc files are almost compatible, you only need to replace

Re: X render and theme engines

2005-10-27 Thread Andrew Shafer
Excellent. . . thanks Tommi Looking at the code and the effects, the corners of images are just put in place, the top and bottom borders are scaled only horizontally, the sides are scaled vertically and then the center is scaled to fit. On Thu, 2005-10-27 at 19:41 +0300, Tommi Komulainen

Upgrading Gtk

2005-10-27 Thread Joe Van Dyk
Hi, I've got a bunch of Redhat Enterprise 3 boxes here that I'd like to upgrade Gtk on. I created new packages for: pango-1.10.1 atk-1.10.1 automake17 cairo-1.0.0 glib2-2.8.3 gtk-2.8.6 libart_lgpl-2.3.17 libgnomecanvas-2.12.0 libtiff-3.7.3 Now, when I launch a gnome application, it doesn't seem

Re: Upgrading Gtk

2005-10-27 Thread Joe Van Dyk
On 10/27/05, Joe Van Dyk [EMAIL PROTECTED] wrote: Hi, I've got a bunch of Redhat Enterprise 3 boxes here that I'd like to upgrade Gtk on. I created new packages for: pango-1.10.1 atk-1.10.1 automake17 cairo-1.0.0 glib2-2.8.3 gtk-2.8.6 libart_lgpl-2.3.17 libgnomecanvas-2.12.0

Opening dialogs outside the Gtk thread?

2005-10-27 Thread Matthias Kaeppler
Hi, I want to display a message dialog from a thread B running parallel to the Gtk main thread A (it's a thread invoked by the async transfer methods from gnome-vfs). When running the dialog directly, the program locks up, which is what I expected since Gtk is not thread safe. So I

Re: should I use wxWidgets or is GTK+ enough?

2005-10-27 Thread Michael Torrie
On Thu, 2005-10-27 at 08:41 -0400, bob self wrote: I write windows programs but would like to start making my apps cross-platform. Originally I thought that wxWidgets was the way to go, but I wanted to consider alternatives before I make the switch. Could I accomplish mostly the same thing

Re: Opening dialogs outside the Gtk thread?

2005-10-27 Thread Tim Janik
On Thu, 27 Oct 2005, Matthias Kaeppler wrote: Hi, I want to display a message dialog from a thread B running parallel to the Gtk main thread A (it's a thread invoked by the async transfer methods from gnome-vfs). When running the dialog directly, the program locks up, which is what I