Re: selection signal on ctree

2001-05-21 Thread Rolf Schaeuble
On Sun, May 20, 2001 at 10:03:37PM -0400, Paul Davis wrote: Is there any way to get an GdkEventButton on a tree_select_row event? I need one to popup a context menu when user presses the rigth mouse button on a GtkCTree item. I cannot connect to a GtkCList-select_row event, because then I

Re: GTKCTree justification

2001-05-21 Thread Rolf Schaeuble
On Mon, May 21, 2001 at 03:57:06AM -0600, rhfreeman wrote: Rolf, Is it possible to use gtk_clist_set_column_justification() with a gtkctree? If so, can someone tell me how! I'd like my ctree to be right justified if that is possible? As CTree is 'derived' (in C++ terms) from

Re: customised menu

2001-05-21 Thread John Cupitt
[EMAIL PROTECTED] wrote: How do i build a customised menu , say like, i want a application menu like Reports , how do i create such a header menu. Hi Darshan, check out the tutorial: http://www.gtk.org/tutorial/ch-menuwidget.html ___

GSList corruption?

2001-05-21 Thread rhfreeman
Hi folks, I'm having some problems with a GSList and I don't know why. I can't find any examples of g_slist_foreach now either! Anyway, it goes like this... g_slist_foreach(wl-signals, remove_signal, wl); Where wl-signals is a GSList and wl is a structure containing a few other things I

Re: A FAQ? What do I need to build GTK+ these days?

2001-05-21 Thread Havoc Pennington
Rick Campbell [EMAIL PROTECTED] writes: I wouldn't phrase it quite that way, but perhaps, ``Don't force support for disabled users and/or internationalization on those that don't need it.'' This is the approach that XEmacs development takes on things ranging in importance from

color gradients in windows?

2001-05-21 Thread Gary Scavone
I've looked through some of the documentation but I haven't been able to figure out whether it is possible to have gtk windows with background color gradients. For example, I wrote a gtk program for psychoacoustic tests that lets the user move items (buttons) around in a gtk_layout widget.

making tooltips immediately appear?

2001-05-21 Thread Gary Scavone
I've used tooltips in a slightly non-standard way in my program. The user has a number of items (buttons) to organize within a gtk_layout widget. During the course of their organizing, they can add a label to the item, which I implement using gtk_tooltips. In general, it works great. But

Re: making tooltips immediately appear?

2001-05-21 Thread Paul Davis
I've used tooltips in a slightly non-standard way in my program. The user has a number of items (buttons) to organize within a gtk_layout widget. During the course of their organizing, they can add a label to the item, which I implement using gtk_tooltips. In general, it works great. But when

CList event problems

2001-05-21 Thread rhfreeman
More GTK oddities for you folks I've got this clist which I call using: gtk_signal_connect(GTK_OBJECT(signal_lists), button_press_event, GTK_SIGNAL_FUNC(clist_select), GINT_TO_POINTER(number)); I would prefer to use select_row signal but it won't work with a right mouse button event so

Re: color gradients in windows?

2001-05-21 Thread Paul Davis
I've looked through some of the documentation but I haven't been able to figure out whether it is possible to have gtk windows with background color gradients. For example, I wrote a gtk program for psychoacoustic tests that lets the user move items (buttons) around in a gtk_layout widget. We'd

Saving/Restoring

2001-05-21 Thread Andrej Prsa
Hello! 1. Is there a way of saving/restoring EVERYTHING in an application? I've created an application that has about 100 adjustable parameters through combo boxes, spin buttons and so on. So instead of writting every one of them individually to an ASCII file, is there a way to flush their

Re: Saving/Restoring

2001-05-21 Thread Paul Davis
2. Has anyone ever written the spin button alternative to work with double ins tead of float? I'd sell my soul for such a thing! (; cd /usr/src/gtk+-1.2.8/gtk/ sed -e s/SpinButton/DblSpinButton/g' \ -e s/spinbutton/dblspinbutton/g' \ -e s/spin_button/dbl_spin_button/g' \ -e

Re: CList event problems

2001-05-21 Thread Rolf Schaeuble
On Mon, May 21, 2001 at 09:51:57AM -0600, rhfreeman wrote: More GTK oddities for you folks I've got this clist which I call using: gtk_signal_connect(GTK_OBJECT(signal_lists), button_press_event, GTK_SIGNAL_FUNC(clist_select), GINT_TO_POINTER(number)); I would prefer to use

vertical label

2001-05-21 Thread franco spinella
Hi t all, does someone knows how to create a button in gtk with a vertical label ? thanks Franco

Re: Saving/Restoring

2001-05-21 Thread Loban Amaan Rahman
1. Is there a way of saving/restoring EVERYTHING in an application? I've created an application that has about 100 adjustable parameters through combo boxes, spin buttons and so on. So instead of writting every one of them individually to an ASCII file, is there a way to flush their values to

pixmap spacing problem

2001-05-21 Thread Vicki Stanfield
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First, I want to thank everyone who has answered my earlier questions. This is all starting to make sense. I do, however, have another question. I have created a window which is intended to contain a pixmap (logo) at the top and then, after some

Re: pixmap spacing problem

2001-05-21 Thread Havoc Pennington
Hi, A simple way to add space when there's no other convenient method is to create a GtkAlignment, and call gtk_widget_set_usize() to set the size of the alignment. GtkAlignment is invisible so it will just be a spacer. Havoc ___ gtk-list mailing

Re: color gradients in windows?

2001-05-21 Thread Robert Wilkens
Didn't catch if someone already replied, but mightI suggest: If you can plot points (new to GTK, don't ask me how), just get the RGB color values (or - which i think is the format gtk uses : k=black level, r=red level g=green level and b=blue level).. Call "StartR" "StartG"