Re: [gtk-list] Re: GDK



pavel writes:

> Can anyone point to an example which does a lot of multicolor drawing,
> erasing and genereally demonstrates the capabilities of the drawing
> toolkit? I think many many people will find it useful.

ObAnswer: I remember someone citing gstripchart on this list, it's
probably in the GNOME software map. It might be helpful.

If anyone can give me some clues (or work on the documentation!)
regarding the X11-specific functions in gdkx.h and gdkprivate.h, I
would really appreciate it. I think I posted it before but I'm trying
to decipher this code:

  dummy_win = gtk_window_new(GTK_WINDOW_POPUP);
  gtk_widget_realize(dummy_win);
  gdk_window_set_user_data(GDK_ROOT_PARENT(), dummy_win);
  gdk_window_ref(GDK_ROOT_PARENT());
  gdk_xid_table_insert(&(GDK_WINDOW_XWINDOW(GDK_ROOT_PARENT())), 
                       GDK_ROOT_PARENT());
  gtk_signal_connect(GTK_OBJECT(dummy_win), "property_notify_event",
                     GTK_SIGNAL_FUNC(cb_root_prop_change), NULL);
  XSelectInput(GDK_DISPLAY(), GDK_WINDOW_XWINDOW(GDK_ROOT_PARENT()), 
               PropertyChangeMask);

Well, see my previous posting (if this list is archived), I just have
to snap up any opportunity to whine about it again.

> Pavel

Nice to see you here... :)

-- 
None of us can say who will succeed, or even who has or who has not
talent. The only certain thing about us is that we are too many.
                                             --William Butler Yeats



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