i'm finishing up my latest project at sourceforge (
http://sourceforge.net/projects/gtz [yahtzee clone]), and this last "bug" is impossible. everytime i change the pixmap (dice image) on the toggle button it tells me "Invalid cast from ToggleButton to Pixmap". normaly, the code should be similar to:
Code:
gtk_pixmap_set(GTK_PIXMAP(GTK_TOGGLE_BUTTON(button)->pixmap), ...);
but i'm using an array of structs that contain the button...so following the above example, it should look like this:
Code:
gtk_pixmap_set(GTK_PIXMAP(GTK_TOGGLE_BUTTON(dice[di-1].button)->pixmap), ...);
in that case i get the compilation error of "Invalid member: pixmap"...
this isn't an emergency situation or anything...but it would be great to get rid of it.
verigoth