Hello All.
I have a tiny problem, that doesn't really matter, but I would like it to be fixed.
In my program I have the following command
gtk_signal_connect( GTK_OBJECT( robot_name[1] ), "clicked",
GTK_SIGNAL_FUNC( display_info ), 1 );
which calls the following function
void display_
Hi.
A quick question, which is more one of style and programming practice. What is the
best way to structure a GTK Program. I have written a program which contains many
dialog boxes, all which hold buttons, text boxes etc.. I felt that the best way to
program this would be to use classes as
Hi. I was trying to change the color of a button.
I tried the command
button->style->bg = black;
where black is defined as
black.red = 0;
black.greeen = 0;
black. blue = 0;
but I get the error
incompatible types in assignment of `_GdkColor' to `_GdkColor[5]'
Any Ideas.
Ciaran.
Hi.
I want to place a pixmap in a label or something which will be place in a table in
the window. The reason that I want to place it in a label is that it may be hidden or
shown depending on the state of th sytem. The usual call for a pixmap is
pixmap = gdk_pixmap_new( area->window, 160, 1
Hi.
Is there a simple way to change the text in the label of a button set in the
function gtk_button_new_with_label(), during runtime. I have looked at the example in
the Tutorial Chapter 6.1 and it seems to complicated to just change the text in a
button. Is there a quick and easy way to d
Ignore the last question. I figured it out I hope.
char *temp = gtk_editable_get_chars( GTK_EDITABLE( text ), 0, -1);
int size = strlen(temp);
gtk_text_backward_delete( GTK_TEXT( text ), size );
I think that this should work.
Is there a better way.
[EMAIL PROTECTED] wrote:
>
> Hello.
> I
Hello.
I am having a problem with GtkText. I have a Text Box, which is updated bu a
function finding errors in a script. If errors are found a dialog box appears with all
the errors in the Text Box. If I close this dialog box, and try to parse the script
again, naturally it should have the
Hello.
Just a quick question? I have written an application in GTK had have many dialog
boxes. When I press the X button on the top right of the dialog box it is killed, and
when I try and show the dialog box again I get a run time error, which is natural
because by pressing the X Button,
Hi
I am writing a game and have to use GTK. THe game is similar to Robot Battle for
Windows (www.RobotBattle.com) On screen there are up to 6 tanks, numerous bullets,
mines and health kits. The graphics are very simple, looking from above.
I tried numerous ways to program the simple ami
Hello All.
I am just new to this mailing list and posted my first message the other day. I
was very impressed with the way people were so quick to respond, even though my
question could have been easily answered by looking at the GTK Tutorial, (which I did
not know about at the time but wil
Hello All.
I am just new to this mailing list and posted my first message the other day. I
was very impressed with the way people were so quick to respond, even though my
question could have been easily answered by looking at the GTK Tutorial, (which I did
not know about at the time but wil
Hello.
I have a question regarding concurrent instructions in gtk+. I will use the
following example. Consider a program that creates a window using gtk+ and also prints
variables to the terminal from which the program was run. Usless program I know, but
good for the example. I want to b
Hello All.
I am new to this liat, so Hello. Also I am totally new to using GTK and have
absolutly no clue at all. I was in my local book store and saw a book, THE GNOME FOR
LINUX BIBLE. Would this be a good buy, to learn the basics, or would it be better just
to follow a few basic tutorial
13 matches
Mail list logo