About flash(*.swf) in gtk

2007-03-23 Thread Zhang Yang
Hello. I want to make a program with an widget in it can play flash files (*.swf) . I think if I can take use of libflashplayer.so which is used in firefox will be great. But I cann't find any API's or headers related to that library . Can anyone give me a hint or copy? Or just another library I c

when and where to destroy "popup menu"?

2007-02-07 Thread Zhang Yang
Hello. I have created a popup menu in my function(list below). But I have a question "when and where to destroy it?". I tried connect its selection-done handler to gtk_widget_destroy.But it seems nothing happened. I run the program and monitor it through "system monitor". The program continuing ea

Re: A question about threads

2006-12-11 Thread Zhang Yang
In your callback , try to use g_thread_create. 在 星期一 11 十二月 2006 18:13,Paolo Franzetti 写道: > Hi. > > I would like to put in a GTK application a button which is > "connected" to a function that performs a very long computational > task which do not freezes the application. > > In other word I woul

Is there a standard/offical gtk+ opengl library for game programming?

2006-11-16 Thread Zhang Yang
I want to program a game for linux desktop. I want to use gtk+ so I need a opengl libray to corporate with gtk+. I googled and found gtkgl, GtkGLExt,OGLTK and SDL can be used. Which one should I use? And another question.Is there a 3d design tool I can use under linux? like 3dMax under windows?

where is GtkStatusIcon

2006-06-27 Thread zhang yang
I have read gtk-reference on www.gtk.org. I found GtkStatusIcon - Display an icon in the system tray I want to set a icon in my tray,but I cann't find the difinition of GtkStatusIcon in gtk-devel package.I use suse-10 with gtk2-2.8.3-4.Why ?Can anyone tell me.Thanks in advance! __