Re: Serial data to a gtk window
- From: lrcgtk red4est com
- To: gtk-list gnome org
- Subject: Re: Serial data to a gtk window
- Date: Thu, 27 May 2004 03:02:26 -0700
I've been asked what I've learned...
It's funny, researching g_io_channel led me to the program gtkterm.
I went through the code and found vte and vteterminal.
I went through that and was lead back to g_io_channel.
I realized I need to sync my palm pilot, and while I was doing that it
dawned on me that jpilot is written in gtk, and that it has a window
at the bottom of the screen that does something very similar to what I
want. That window is a gtk_text_view widget. I've looked at that code
and it seems like it should be easy.
The vte libraries look promising, but I can't find a decent tutorial
document on them.
On Wed, May 26, 2004 at 10:36:59PM -0700, lrcgtk red4est com wrote:
> I probably should have asked this earlier, but I wanted to do some
> research first. Unfortunately I just seem a bit more confused after
> finding out a couple of things.
>
> I have an app, with several windows.
>
> I want to take some serial input (or a file with asynchronous data
> coming in if you prefer) and print it out as text in the window.
>
> This thread:
> http://mail.gnome.org/archives/gtk-list/1999-July/msg00001.html
> http://mail.gnome.org/archives/gtk-list/1999-July/msg00002.html
>
> Points to gdk_input_add()
>
> But I couldn't find any reference to gdk_input_add in any of my
> books. When I found it online:
>
> http://developer.gnome.org/doc/API/2.0/gdk/gdk-Input.html
> It says:
> Warning
>
> gdk_input_add is deprecated and should not be used in newly-written
> code.
>
> It pointed me to g_io_channel_* but I haven't been able to find a good
> explanation of how that works, or how to use it. Pointers to good
> reference material would be greatly appreciated.
>
>
> Larry
> lrc red4est com
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]