Re: activating a button

2000-11-07 Thread Stephen Witkop
Below is a copy of an email that I sent to Davina and forgot to CC the list. The only way that I know of to get the effect of a button being pressed when a key is pressed is rather messy and involved for what you want to do. You connect to both the "key_press_event" and the "key_release_event"

C Gtk, ada and gnat

2000-11-07 Thread jones
I have a problem that you may be able to help with I have a C Gtk program that interfaces with a ada program, I have compressed the C program in to *.o files and the packed them in to *.a file and then try to link them to the ada program but in linking the ada link program can not find any of the

Re: C Gtk, ada and gnat

2000-11-07 Thread Arnaud Charlet
> I have a problem that you may be able to help with I have a C Gtk program > that interfaces with a ada program, I have compressed the C program in to > *.o files and the packed them in to *.a file and then try to link them to > the ada program but in linking the ada link program can not find any

Label Alignment

2000-11-07 Thread Jay LeBlanc
Thanks Darin Fisher and Caleb Land for your replies. That worked great for that label but it doesn't seem to work well for a multi-line label. The label is attached to a large section of a table and seems to want to center each line again. Any ideas? Thanks, Jay --

Re: Label Alignment

2000-11-07 Thread Darin Fisher
Jay LeBlanc wrote: > Thanks Darin Fisher and Caleb Land for your replies. That worked great > for that label but it doesn't seem to work well for a multi-line label. > The label is attached to a large section of a table and seems to want > to center each line again. Any ideas? > > Thanks, > Jay

Re: C Gtk, ada and gnat

2000-11-07 Thread jones
- Original Message - From: "Johan Groth" <[EMAIL PROTECTED]> To: "jones" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 07, 2000 3:16 PM Subject: Re: C Gtk, ada and gnat > jones wrote: > > > > I have a problem that you may be able to help with I have a C Gtk program

Need just a user adress Field in GTK+

2000-11-07 Thread Thomas Haeberli
Hi all Is there any chance that there's a user Varfield in the GTK+ ? I have a bigger preprocessing before i call the Window Creator, and there are already Values in the Data Tree, so i have to pass the Adress of the DataTree to the GTK, but how do i do that ?

Object Destroy

2000-11-07 Thread tcarter
I have an area in the window I use to create a "pop-up" vertical scroll bar with an adjustment.    When I'm finished with the "pop-up", I try to destroy the scroll bar and adjustment object.   When I execute the gtk_object_destroy for the adjustment object, I get:   Gtk-WARNING: gtk_sign

drawing GtkEntry

2000-11-07 Thread Davina Armstrong
I'm trying to change the appearance of GtkEntry to be a dotted underline rather than a white box. I've got the dotted line being drawn, but I can't figure out where the white rectangle is being drawn. I was able to draw a gray box *over* the white one, but I'd prefer not to draw the white one in

Locale and fonts.

2000-11-07 Thread Alexei Gromov
Hi, All. I want to know, what and where do I have to change to set the default font for different locales. If I don't set LANG and LC_CTYPE environment, then GTK applications (Gnapster, XMMS) are using one font. If I set the locale, then they are using another one. I would like to change the font

Re: drawing GtkEntry

2000-11-07 Thread Havoc Pennington
Davina Armstrong <[EMAIL PROTECTED]> writes: > I'm trying to change the appearance of GtkEntry to be a dotted underline > rather than a white box. I've got the dotted line being drawn, but I > can't figure out where the white rectangle is being drawn. I was able > to draw a gray box *over* the

Re: MDI-like widget?

2000-11-07 Thread Havoc Pennington
Timo Sirainen <[EMAIL PROTECTED]> writes: > So the questions: Has anyone done anything like this yet? Does anyone want > this kind of widget? Is anyone willing to code it? ;) I might try it, but it > would take a long time and probably would just end up as ugly and buggy code. > We want a widg

Help with gtk+ developing a real time graphical tool

2000-11-07 Thread Rasoul Hajikhani
Hi there, I am trying to develop a real time graphical statistical tool for loads on our servers. I would like to show bars change their hight in accordance to their new values continuously. The bars would indicate the load on our servers. Can any one tell me what I should use for displaying the b

Re: Help with gtk+ developing a real time graphical tool

2000-11-07 Thread Paul Barton-Davis
>Hi there, >I am trying to develop a real time graphical statistical tool for loads on >our servers. I would like to show bars change their hight in accordance to >their new values continuously. The bars would indicate the load on our >servers. Can any one tell me what I should use for displaying

very basic gcc question

2000-11-07 Thread Brian J. Rohan
I am new to C++, and realize this may not be the best group to post C++ questions in (what group would be best?). I have tried to compile a very basic C++ program as follows: #include int main() { cout <<"Hello World!\n"; return 0; } I then go to the directory contaiing the .cc file ab

Re: very basic gcc question

2000-11-07 Thread Antony Stace
try using "g++" instead of "gcc" "Brian J. Rohan" wrote: > > I am new to C++, and realize this may not be the best group to post > C++ questions in (what group would be best?). I have tried to compile a > very basic C++ program as follows: > > #include > > int main() > { > cout <<"Hello

Re: very basic gcc question

2000-11-07 Thread D-Man
As Anthony said, using the C++ compiler instead of the C compiler fixes the problem. Brian, it would be better for you to use 'endl' instead of '\n' to print a newline. Using the endl manipulator flushes the stream, otherwise you may not get the output. ex: cout << "Hello World." << endl ;

Re: Locale and fonts.

2000-11-07 Thread Vlad Harchev
On Tue, 7 Nov 2000, Alexei Gromov wrote: Hi Alexey, File /etc/gtk/gtkrc.${LANG} defines default fontset used by gtk under that locale. But you should add similar constructs to .gtkrc to override defaults. Gnome Control Center edits it for example when you override font. I personally dumped