Comparison of GTK+, Tcl/Tk, Qt, wxWidgets

2006-10-11 Thread Douglas Vechinski
I am interested in information comparing using GTK+, Tcl/Tk, Qt, wxWidgets for writing GUI apps. A potential rewrite of a Tcl/Tk app. is under consideration. This app is to be supported on Unix/Linux and Window XP platforms. This app presently peforms some 2d drawing with user interaction from

Re: OpenGL Zoom / Pan

2006-02-22 Thread Douglas Vechinski
Try taking a look at the shapes.c example that comes with the gtkglext package. There are different ways do to them and it sort of depends upon how you plan on setting up the scene/object to view how how you plan to view it. For example, if you are viewing an object and want to simulate a zoom

How to perform 2D drawing on top of 3D OpenGL scene

2006-02-09 Thread Douglas Vechinski
I'm writing a program using Gtk and GtkGLExt. I have a drawing area which is using OpenGL to display a scene. I receive mouse motion events to rotate, translate, zoom, on this scene. In the display window, I would also like to draw some primitives on top of the scene rendered by OpenGL. For

Is there a way to use Pango Markup in GtkTextBuffer

2005-11-15 Thread Douglas Vechinski
Is there any convenient way to insert text using the Pango Markup language into a GtkTextBuffer. Such functions exist for GtkLabel and GtkCellView but I haven't seen any for GtkTextBuffer. If none exist, is there a reason they don't? Seems like such functions would aid in inserting text with

Signal for a button-2 paste event in a TextView

2005-11-09 Thread Douglas Vechinski
I have a GtkTextView with an associated GtkTextBuffer. I want to act on the condition when text is pasted into the textview or textbuffer when the middle mouse button is pressed. That is, suppose I have some text selected in another application (like a gnome-terminal, evolution, etc.) or when

Preventing cursor movement via mouse in GtkTextView

2005-11-08 Thread Douglas Vechinski
I'm attempting to create a command line input area for a GTK application using a GtkTextView with GtkTextBuffer. The user will type in commands and some output may be sent to the text buffer. After a command line is entered I make the text and any output not editable with a tag so they can not

Is it possible to put all necessary GTK runtime files in a single directory

2005-10-25 Thread Douglas Vechinski
I have a GTK application that I'm porting to run under Windows. This application is part of a package that has several other native Windows (non-GTK) executables all of which are to reside in a bin directory. The wish, desire, command of the project leader for this project would like

Re: Is it possible to put all necessary GTK runtime files in a single directory

2005-10-25 Thread Douglas Vechinski
HuamiSoft Hubert Sokolowski wrote: On Tue, 25 Oct 2005 10:58:32 -0500 Douglas Vechinski [EMAIL PROTECTED] wrote: I have a GTK application that I'm porting to run under Windows. This application is part of a package that has several other native Windows (non-GTK) executables all

Re: A few GtkFileChooserDialog questions

2005-08-25 Thread Douglas Vechinski
On Thu, 2005-08-25 at 21:40 +0200, Sven Neumann wrote: Hi, Douglas Vechinski [EMAIL PROTECTED] writes: First, is it possible to make a GtkFileChooserDialog when in GTK_FILE_CHOOSER_ACTION_SAVE action to activate when the user presses Enter or Return in the name entry box so that one

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread Douglas Vechinski
I've had a similar/relate question that I've been curious about for some time. This emits a signal evertime the contents is changed. Unfortunately, taking action everytime it is changed may not be what is desired. What may be desired is when the changes are done. Suppose the entry contained a

Expose events not occurring from gdk_window_invalidate_rect

2005-08-05 Thread Douglas Vechinski
I sent this problem out a few days ago and never heard anything. This is a modified form of it plus I've attached a stripped down version of the code which demonstrates the problem (at least on my platforms). I'm having a problem with an application I am developing to display a 3D object in a