C/GTK - Packing GtkImage inside GtkEventBox loses reference

2005-11-18 Thread Marcus Reis
_set_from_file(). The objective is when user clicks on images the image changes to another trough the function. I'm really messy with child widgets access... Thanks in advance. Marcus Reis [EMAIL PROTECTED] _

[SOLVED] Re: C/GTK - Packing GtkImage inside GtkEventBox loses reference

2005-11-19 Thread Marcus Reis
> > static void movimento_do_jogador(GtkWidget *widget, GtkWidget *image) > > This is a wrong prototype for a "button-press-event" > callback, see > > > http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-button-press-event > > The callback gets the event as its second argumen

C/GTK+ Is it possible? access child widgets having only the its container?

2005-11-19 Thread Marcus Reis
Hello, suppose the scenario that we have a GtkTable declared as global variable. Inside that table we have 9 event boxes with 1 GtkImage packed in each one. Now we have a function that must change properties from some images that are inside event boxes or even destroy the boxes. I have tried to ach

[SOLVED] Re: C/GTK+ Is it possible? access child widgets having only the its container?

2005-11-19 Thread Marcus Reis
Em Dom, 2005-11-20 às 00:13 +0100, Luca Cavalli escreveu: > On Sat, 2005-11-19 at 21:03 -0200, Marcus Reis wrote: > > Hello, suppose the scenario that we have a GtkTable declared as global > > variable. Inside that table we have 9 event boxes with 1 GtkImage packed > > in ea

win32 compiled exe icon

2005-11-20 Thread Marcus Reis
Hello, I'm experimenting with mingw to compile gtk apps on win32. How can icon can be inserted to a gtk win32 exe ? Is there a function that do such thing? Thanks. ___ Yahoo! Acesso Grátis: Internet rápida

gthreads missing

2005-11-30 Thread Marcus Reis
Hi, I dont know if is that right list to do this kind of question. When compiling an app with -lgthread ld returns "cannot find -lgthread". I'm using Ubuntu 5.10, so anybody get success using gthreads in Ubuntu 5.10?? Maybe are devel libraries compiled without gthreads support in this distro? any

Prevent gtk_label from request resize to parent

2005-12-01 Thread Marcus Reis
hello, I have a some buttons inside a table like a matrix. Lets pick one of this buttons, we have one vbox set as child of the button and inside the box we have 4 labels. But we have a problem, one of this labels have a very random width, so would be desired that this specific label does not make r

[SOLVED] Re: Prevent gtk_label from request resize to parent

2005-12-02 Thread Marcus Reis
Em Sex, 2005-12-02 às 08:25 +, Axel Simon escreveu: > On Thu, 2005-12-01 at 22:57 -0200, Marcus Reis wrote: > > hello, I have a some buttons inside a table like a matrix. Lets pick one > > of this buttons, we have one vbox set as child of the button and inside > > the box