Re: Getting a nultiple selection from a CList

2002-03-28 Thread Jean-Christophe Berthon
Hello Neil, Here is how I'm doing it (I have a Selection Extended CList) GList *pxGList= NULL; gint32 iColumn; pxGList = GTK_CLIST(lstTemplate)-selection; pxGList = g_list_first(pxGList); while (pxGList != NULL) { gtk_clist_set_text(GTK_CLIST(lstTemplate),

newbi: Problems to Link Gtk on Windows98

2002-03-28 Thread Boris Fiedler
Hello, i try to compile and linking on win98 with minigw (i installed Bloodshed Dev-C++ 4.0) and gtk 2.0 the hello world programm. #include gtk/gtk.h int main( int argc, char *argv[] ) { GtkWidget *window; gtk_init (argc, argv); window = gtk_window_new

How convert a xpixel to rgb ?

2002-03-28 Thread GONZALOMZ
How convert a xpixel to rgb ?. Thanks. -- Gonzalo Montesdeoca Zamora Santa Brigida Canarias -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Want slider/scrollbar AND box to enter value in by hand if de sired - how do this?

2002-03-28 Thread John . Cupitt
Christian Seberino wrote: Thanks! I saw your jpeg and it is pretty similar to what I am trying to do. I noticed you don't have the value above your sliders. How does user know what value he is getting when he uses your sliders??? Hi, the text in the entry changes as you drag the slider.

Re: newbi: Problems to Link Gtk on Windows98

2002-03-28 Thread Philip Bunce
The docs I read said that in order to use the precompiled gtk from Lillqvist's site you must use Microsoft's Visual C++, and that certainly worked for me. At 10:41 AM 3/28/2002 +0100, Boris Fiedler wrote: Hello, i try to compile and linking on win98 with minigw (i installed Bloodshed Dev-C++

Toolbars

2002-03-28 Thread Punit Neb
Hi folks! i am a newbie to this list as well as gtk programming. i have writtena small application which has a toolbar. is it possible to keep the toolbar docked at a fixed position ie i want to prevent the user from moving the toolbar?? have a nice day rgds Punit [EMAIL PROTECTED]

Re: How center a small button horizontally like in this picture....

2002-03-28 Thread Deborah Swayne
I want to do something similar, and I've tried to follow the suggestions put forth in this thread, but to no avail. Objective: To vertically center a label in an hbox in a vbox (or in any other arrangement of widgets that would produce this pattern) It's easy to control the horizontal position

Anyone know of a Graphical Timeline Widget?

2002-03-28 Thread Bradley F. Hartman
Hello, Does anyone know of a configurable timeline widget? I'm looking for something that would graphically depict a timeline of events that conceptually resembles the following: - |

Re: How center a small button horizontally like in this picture....

2002-03-28 Thread Bradley F. Hartman
Debby, I think the problem is that you have a \n at the end of your label: buffer = g_strdup_printf (variable %d\n, j); Thus, in your attempts to align the label, you're attempting to align two lines of text instead of one. I modified your code such that there was no \n and there was

Re: Want slider/scrollbar AND box to enter value in by hand if de sired - how do this?

2002-03-28 Thread Christian Seberino
John Thanks, I think your way is the best. I didn't know you could make the value appear in the GtkEntry widget and update it with regards to the slider/scrollbar movements. Can you please send me smallest code snippet that showes name of slider/scrollbar thing you used and how you update

Writing a new widget - gtk_type_unique has been deprecated

2002-03-28 Thread Bradley F. Hartman
Hello, I'm going through the tutorial on how to create a new widget. The tutorial indicates that every new widget needs to have a _get_type() function (the tutorial function name is tictactoe_get_type()) (http://www.gtk.org/tutorial/sec-creatingacompositewidget.html#AEN2136). In the tutorial,

Re: Getting a nultiple selection from a CList

2002-03-28 Thread Neil Hodge
Jean: Thanks for the information. Now I have one more question related to this. I have activated GTK_SELECTION_MULTIPLE on the CList in question. However, when I try to actually do a multiple selection (mouse + shift or ctrl), nothing happens. Is this behavior not built in? If not, then how

Re: Writing a new widget - gtk_type_unique has been deprecated

2002-03-28 Thread Sven Neumann
Hi, Bradley F. Hartman [EMAIL PROTECTED] writes: I'm going through the tutorial on how to create a new widget. The tutorial indicates that every new widget needs to have a _get_type() function (the tutorial function name is tictactoe_get_type())

FW: How convert a xpixel to rgb ?

2002-03-28 Thread Kason Huang
You could try GIMP,that is good. kason -Original Message- From: GONZALOMZ [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 10:01 PM To: [EMAIL PROTECTED] Subject: How convert a xpixel to rgb ? How convert a xpixel to rgb ?. Thanks. -- Gonzalo

GTK+-2.0: no correct exit in multithreaded application

2002-03-28 Thread michael
Hello, my configuration is: Linux Mandrake 8.1 gtk+-directfb-2.0 (with framebuffer) console multithreaded application, which calls GTK in some thread (from subroutine, not main). GTK starts and runs normally, but after gtk_main_quit() I can't see my console again. It hangs. All I can see is