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?

How to scale Gtk-GUI application

2006-11-16 Thread ashish.mondal
Hi; I want to scale my Gtk-GUI application (which is basically large in size, not fitted with the screen) dynamically depending upon screen size. I am thinking that can be done by modifying .gtkrc-2.0 file. Please help me, how can I modify .gtkrc-2.0 file or please tell me any other approach

Re: Gtk 2.10 DnD Behaves differently then 2.8 DnD

2006-11-16 Thread Colossus
Colossus wrote: Can someone of you tell me how to overcome this problem? I really need the notebook widget in my app. Obvious things are under the nose. I forgot to gtk_drag_dest_set () the notebook widget. -- Colossus Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org

Re: Change an image on a button

2006-11-16 Thread Guillaume Charhon
But I have read everything and it doesn't work ! I've tested all example from http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#floating-ref But the result is the same ! ImageTwo is destroyed. Thanks. Ed Catmur a écrit : Tristan Van Berkom writes: Guillaume

GTK+ and threads question - main GTK+ lock.

2006-11-16 Thread Przemyslaw Tokarski
Hello list ! I'm in the process of coding a multithreaded GTK+ application. The application opens a window which contenst is being updated by a worker thread, however it is possible that the window does not exist anymore (it received a delete-event signal) while the worker thread still tries

GTK+

2006-11-16 Thread natarajan
Hi all, Is there a way in GTK+ which I can use to stop users from running multiple instances of an application program. I am looking for this as I want my program to work cross platform, in windows as well as in Linux. Many Thanks for your time and response in advance, Kind regards, Natarajan.

Re: Change an image on a button

2006-11-16 Thread Yeti
On Wed, Nov 15, 2006 at 10:40:06PM +0100, Guillaume Charhon wrote: But I have read everything and it doesn't work! You are right. The problem is not with reference counting any more. Something strange happens to the image widget that makes it invisible after removal from the button. This is

GTK+ Signals

2006-11-16 Thread natarajan
Hi, Is there a place where I can find information about the sequence of signals that will be emitted when a widget is created / destroyed and also which signal is to be used for what purpose ? Also is there anything like a hook which I can use to capture any signal emitted for an widget ?

Re: Change an image on a button

2006-11-16 Thread Yeti
On Thu, Nov 16, 2006 at 03:45:25PM +0100, Guillaume Charhon wrote: I've find a solution with gtk_container_remove() and gtk_container_add() But I must do a gtk_widget_show_all(pButton) !!! Calling gtk_widget_show() on the images (as my second demo program does) does not work for you?

Re: Change an image on a button

2006-11-16 Thread Guillaume Charhon
Oh yes ! It works too ! David Nec(as (Yeti) a e'crit: On Thu, Nov 16, 2006 at 03:45:25PM +0100, Guillaume Charhon wrote: I've find a solution with gtk_container_remove() and gtk_container_add() But I must do a gtk_widget_show_all(pButton) !!! Calling gtk_widget_show() on the

Gtk/C code development tools

2006-11-16 Thread Steven Boyls
I'd like to get an idea on what development processes and tools tools people are using for their Gtk/C applications. My previous experience was object oriented and included C++/Java/C#. We used a number to different development processes such as RUP and others. I now work in a small group and

Re: GTK+ Signals

2006-11-16 Thread Yeti
On Thu, Nov 16, 2006 at 08:20:34PM +0530, natarajan wrote: Is there a place where I can find information about the sequence of signals that will be emitted when a widget is created / destroyed and also which signal is to be used for what purpose ? Not exactly, but see

how to create a window containing a drawing area of a specific size?

2006-11-16 Thread Britton Kerin
I want to create a window containing a drawing area of a specific size in pixels. I have the following widget tree: window | +--Table (2x2) | +--DrawingArea +--vscale +--hscale I don't want to use gtk_window_set_default_size, because