Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

My 1st Gtk+ program in C

Loading...

Sign in or sign up now!
5,529
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 15, 2008

とても簡単なgtkプログラムをgccでコンパイルする様子。

#include <gtk/gtk.h>

int main(int argc, char **argv)
{
  GtkWidget *win;
  gtk_init(&argc, &argv);
  win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
  gtk_widget_show(win);
  gtk_main();
  return 0;
}

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • It's just an editor...everyone has different preferences.

    Get over it.

  • Isn't gtk fun? :] sure helps with rad, imo.

  • I was just wondering...how many japanese letters do you got and how are they mapped on the keyboard?

  • fuck nano, vi and emacs

    long live VIM

  • Sorry for its low resolution.

    I can't provide another high quality video, because I deleted the original one.

    So I added annotations for better readability.

    Looks good.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more