[GTK] Gdk-WARNING **: Creating pixmap from xpm with NULL window?
-
Hi!
Ich bekomme beim erstellen einer Pixmap den folgenden fehler angezeigt:
(TeamOrga.phpap:352): Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap
Also, der Code dazu sieht so aus:
$BoxTopBottomSplit = &new GtkTable(1, 3, FALSE); $HeaderImage = HeaderImage(); $BoxTopBottomSplit->attach($HeaderImage, 0, 1, 1, 2); $BoxHoldBox->pack_start($BoxTopBottomSplit, TRUE, TRUE, 0); //Und die function Header: function HeaderImage() { global $imgPath; list($pixmap, $mask) = Gdk::pixmap_create_from_xpm($win->window,null,$imgPath.'header.xpm'); $HeaderImage = &new GtkPixmap($pixmap, $mask); return $HeaderImage; }
Die Pixmap wird jedoch ordentlich angezeigt, trozdem sieht der fehler unschön aus^^
Also, wenn jemand weiß, wie ich den weg bekomme, bitte melden
Ach, und in welches Forum gehören GTK fragen denn am besten? Hab imo nämlich vile, da ich "anfänger" bin, was GTK angeht..thx, EMCee