Could I make some signal instead of keyboard signal to a widget?

2006-11-12 Thread Kim Jongha
greeting. I'm developing a embedded program. when specified input from serial port is coming, I want to change that interrupt to keyboard signal. Ex ) 0xff (from serial port ) -> "clicked" event give me an advise : ) ___ gtk-app-devel-list mailing list

Re: questionfor progress bar

2006-11-05 Thread Kim Jongha
Using timeouts can work too, if G_PRIORITY_HIGH is > used. > Ok, it's just my 2 cents. I used this in my > application before and it worked. Hope it helps > > Cheers > TranVan Hoang, > > --- Kim Jongha <[EMAIL PROTECTED]> wrote: > > > Greeting, >

Re: questionfor progress bar

2006-11-04 Thread Kim Jongha
-- double val = 0; g_idle_add(show_bar_idle_cb, INT_TO_POINT(val)); for(i = 0; i< SOME_NUMBER; i++) { val = (100.0 /SOME_NUMBER)* i /100.0; **SOMEWORK** } -- upper codes don't work too. 2006/11/5, Kim Jongha <[EMAIL PROTECTED]>: > Greeting, >

questionfor progress bar

2006-11-04 Thread Kim Jongha
Greeting, progress bar is updated "only" using timeouts ? I read some big file and want to show up the progress how much App. read file. so I use progress bar like below double val; for(i = 0; i< SOME_NUMBER; i++) { val = (100.0 /SOME_NUMBER)* i /100.0; gtk_progress_bar_set_fraction(GTK_PR

Motion picture with gdkpixbuf

2006-10-08 Thread Kim Jongha
Greeting, I want to move a picture with gdkpixbuf when I press some key. It's hard to explain , but when I press some key, I want some image to move from position 1 to position 2, just like a motion picture . - -- | 2 | | 1 | - --- Anyway I moved th

Pixbuf for gtk-demo

2006-09-30 Thread Kim Jongha
Greeting, I'm a newbie for GTK+ I'm programming with pixbuf, so I want to get good examples. Finally I found gtk-demo. It's wonderful for newbie. But in the page of Pixbuf, paste all source code to some file, removing #include "demo-common.h"(Because I don't know where demo-common.h is) and repla

question for tree

2005-12-28 Thread Kim Jongha
Hi. Merry Christmas . I got a problem. I implemented tree (like left side tree of windows explorer) on GTK 1.2 using function void gtk_tree_set_view_lines(GtkTree*tree, gboolean flag); If flag is TRUE, then connecting lines shown. But, I can't find API which can show connecting lines on GTK +2.

question for tree

2005-12-28 Thread Kim Jongha
Hi. Merry Christmas . I got a problem. I implemented tree (like left side tree of windows explorer) on GTK 1.2 using function void gtk_tree_set_view_lines(GtkTree*tree, gboolean flag); If flag is TRUE, then connecting lines shown. But, I can't find API which can show connecting lines on GTK +2.