help me!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hai all

I add an image on a window. This window is appeared by a parent window after clicking a button.

The code is follows,

  GdkPixmap *pixmap=NULL;
        GdkBitmap *mask=NULL;

  window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_container_set_border_width (GTK_CONTAINER (window1), 0);
    gtk_widget_show (window1);
        pixmap=gdk_pixmap_create_from_xpm  (window1->window,&mask,
                                             NULL,"About.xpm");
        window1->style->bg_pixmap[0] = pixmap;  

while i run it The pixmap shows successfuly but the part of the pixmap is also appeared in button background(ie the image part is shown on the button and also the buttton label),in scrollbar navigation button and other child windows botton.

This effect is still in it after close the pixmap window.

Is any solution to avoid this. ie after closing the image is completely disappeared from all windows.
For this what can i do?.

Thanks in advance
Manoj


-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux