simple example of gtk-scrolled-window not working

2005-07-26 Thread David Morse
I took the "hello world" example from the gtk+2 tutorial, but with a gtk_scrolled_window. The resulting program runs fine except that THERE'S NO WINDOW VISIBLE ON THE SCREEN! What am I doing wrong? The source is attached, you can quickly find the changed lines because the originals are commented

adjustments and text_views

2005-07-20 Thread David Morse
I read that text_views have native support for scrolling, if so, is there some way I can coax an adjustment out of a text_view and pass it to a freshly created vscrollbar? Or am I supposed to learn to love the hairy details of adjustments and signals and stuff myself __

text_view + vscrollbar communication

2005-07-19 Thread David Morse
How do I make a gtk_text_view react to a gtk_scrollbar? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

g_free results of

2005-07-12 Thread David Morse
Should a PangoFontDescription created by pango_font_description_from_string be g_free'd after I use it to create a font? The doc is below the horizontal line below. Also, is there an easy way to create a PangoFontDescription from a string that looks like: "-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*

randomly accessing "man pages" of gtk doc.

2005-07-11 Thread David Morse
Are there no man pages for gtk &c functions? I see the web-based doc, but I find myself hopping around from gtk to gdk to glib to pango to gnome, and never having the right index loaded. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org ht

width of string rendered by pango font?

2005-07-11 Thread David Morse
How does one figure out the width of a certain string in a certain pango font? (Other than abandoning pango fonts and reverting to gdkfonts, of course. ; ) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/list

whatever happened to the gtk_kennel?

2005-07-11 Thread David Morse
Back in the day there were plans to incorporate "kennels" into gtk - it was a method for sizing widgets without the contraints of the widget heirarchy. I think they were first used in "BEAST", but were planned for general consumption. I don't see them in the docs now.

Re: What's the deal with gtkglarea?

2005-07-10 Thread David Morse
Is there any porting guide or migration guide for gtk-1.2 -> gtk 2.0 ? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: What's the deal with gtkglarea?

2005-07-07 Thread David Morse
On 7/7/05, David Necas (Yeti) <[EMAIL PROTECTED]> wrote: > On Wed, Jul 06, 2005 at 11:37:03PM -0400, David Morse wrote: > > What's up with gtkglarea? The version in Fedora Core 4 has its most > > recent ChangeLog entry in 2002. The author's page for it is 404. >

What's the deal with gtkglarea?

2005-07-06 Thread David Morse
What's up with gtkglarea? The version in Fedora Core 4 has its most recent ChangeLog entry in 2002. The author's page for it is 404. Yet its popular enough to be in every distro. I thought I'd test compatibility of my app with Fedora Core 4. The compile barfs on this source code (which is ripp