Re: gdk_window_set_icon()



does anybody know, how I can set an icon to my application, which
appears in the taskbar, just as every other Gnome application does?

I've learned, that it should work with something like
gdk_window_set_icon(),
but I haven't found a perl binding yet.

$ man Gtk::reference
      ...
      $window->set_icon ($icon_window, $pixmap, $mask)

       o $icon_window (Gtk::Gdk::Window) may be undef

       o $pixmap (Gtk::Gdk::Pixmap)

       o $mask (Gtk::Gdk::Bitmap)

       $window->set_icon_name ($name)

       o $name (string)

       Set the name of the icon for window.
 
-- 
Best regards
Pavel.





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