Signals...
- From: Nuno Afonso <hunchback netcabo pt>
- To: gtk-list gnome org
- Subject: Signals...
- Date: 17 Feb 2002 22:53:59 +0000
Hi,
i have a button that is connected to a function called
restartApp(GtkWidget *widget, Tabuleiro *tabuleiro) .
(Tabuleiro is a static cast of a drawing area).
When the button is clicked the restartApp is called
and executes the following line
tabuleiro->paint();
the function paint() has the following content:
void Tabuleiro::paint(){
gdk_draw_rectangle(this->window, this->style->white_gc, true, 0,
0,
100, 100);
...
}
when i click the button i get segmentation fault when it tries to do the
gdk_draw_rectangle. It gets in Tabuleiro::paint(), but it doesn't do the
gdk_draw_rectangle.
Does anyone know what is the problem with this signal? i use
Tabuleiro::paint on other ocasions and it works...
Afonso
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]