(0.0, 0.0, 1001, 0.1, 1.0, 1.0);
slider = gtk_vscale_new (GTK_ADJUSTMENT (adj1));
it did work.
Any idea why?
-邮件原件-
发件人: Christopher Backhouse [mailto:[EMAIL PROTECTED]
发送时间: 2008年4月16日 9:40
收件人: Ke Jin
抄送: gtk-app-devel-list@gnome.org
主题: Re: A question about GTK Scale
Perhaps it ta
Dear All,
I have a VScale in my interface and I created button named "Play" that
once the button is clicked, the scale will move automatically.
Below is the function connected to the button. And it performed strangely.
The scale was not updated every iteration of the loop, which means the value
Dear All,
I am trying to use xlib function XDrawArc() to draw on a GTK drawing
area but it doesn't work, while the GDK function gdk_draw_arc() works
perfect. Does anyone know why? Below are my code:
#include
#include
#include
#include
#include
#include
#include
#include
void destroy
Hi Bin,
Thanks for the reply. I am new to GTK and could you please explain it in
more details?
Thanks,
Kay
-邮件原件-
发件人: Bin Chen [mailto:[EMAIL PROTECTED]
发送时间: 2008年3月2日 7:33
收件人: Ke Jin
抄送: gtk-app-devel-list@gnome.org
主题: Re: Please help: How to embed a X window in a GTK window?
On
O I see, maybe it is the way to embed a GTK one to a window whose XID is
known. But my aim is to embed an X window to a GTK one.
-邮件原件-
发件人: Kevin DeKorte [mailto:[EMAIL PROTECTED]
发送时间: 2008年3月2日 9:16
收件人: Ke Jin
抄送: 'Bin Chen'; gtk-app-devel-list@gnome.org
主题: Re: 答复: Please
s,
Ke
-邮件原件-
发件人: Kevin DeKorte [mailto:[EMAIL PROTECTED]
发送时间: 2008年3月2日 8:38
收件人: Bin Chen; gtk-app-devel-list@gnome.org; [EMAIL PROTECTED]
主题: Re: Please help: How to embed a X window in a GTK window?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bin Chen wrote:
> On 3/2/08, Ke Jin
Dear All,
I am working on a project whose code was written in Xlib and now I
need to develop a GUI for it. I want to use GTK so I wonder if I could
embed the former xlib window into a GTK top-level window. I wrote a
small test program as below but it doesn't work. Does anyone have any
id
Dear All,
I am working on a project whose code was written in Xlib and now I need to
develop a GUI for it. I want to use GTK so I wonder if I could embed the
former xlib window into a GTK top-level window. I wrote a small test program
as below but it doesn't work. Does anyone have any idea about