WM icons



Hi,
I want to create icon from file "icon.xpm" for "my_window", so I add th
following to my source:
    GdkPixmap* icon;

    ***

    icon=gdk_pixmap_create_from_xpm(my_window->window,
				    NULL,
				    NULL,
				    "icon.xpm");
    gdk_window_set_icon(my_window->window,
				   NULL,
				   icon,
				   NULL);

But I have no warnings and no icon, can anyone explain me what's up or
send me a simple example?
Thanks,
Sasha.

_____
Alexander Kotelnikov
Saint-Petersburg, Russia
mailto:sasha@ak2614.spb.edu



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