Ted's Blog

Happy coding

GtkStatusicon

Ted posted @ 2008年9月05日 21:28 in gtk with tags example , 2016 阅读

#include <gtk/gtk.h>

int main(int argc, char **argv) {
    GtkStatusIcon *tray_icon;

    gtk_init(&argc, &argv);
    tray_icon = gtk_status_icon_new();
    gtk_status_icon_set_from_file(tray_icon, "/tmp/trayicon.png");
    gtk_status_icon_set_tooltip(tray_icon, "Hello Tray Icon!!");
    gtk_status_icon_set_visible(tray_icon, TRUE);
    gtk_main();

    return 0;
}

Avatar_small
free dvd player wind 说:
2018年11月17日 20:33

This is for your information that I found a website related free dvd player windows is a awesome quality just play the video and full enjoy i sure like it.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter