Notebook + Text problems



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


  I'm having trouble adding a scrolling text window to a notebook page. I
have 3 pages and the other two work fine (they have buttons, combo box,
etc. in them).

  I create a vbox and then a table. The table is packed into the vbox,
then I create the text widget and attach the hscroll and vscroll to the
table and the text widget. I add my text, then append it to the notebook.
When I run it I get several errors like:

** WARNING **: file gtkstyle.c: line 266 (gtk_style_attach): "window !=
NULL"

** WARNING **: file gdkwindow.c: line 665 (gdk_window_ref): "window !=
NULL"

** WARNING **: file gtkstyle.c: line 266 (gtk_style_attach): "window !=
NULL"

** WARNING **: file gdkwindow.c: line 856 (gdk_window_clear_area): "window
!= NULL"


  I've basically lifted the scrolling text window example from testgtk.c
(in create_text) and am trying to stick it onto a page in a notebook. Any
help would be appreciated!

  also, it still displays the text window, its just not associated with
the program, its floating free, all by itself.

  Brian

- ---------------------------------------------------------------------------
Nexus Computing                                http://www.tatoosh.com/nexus
Software & Electronics for Linux                          nexus@tatoosh.com
Inside is a comfortable 70.05 F and Outside is a chilly 50.07 F

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNWnme1mSMHwmmkwfEQJYIgCgj5zUNhpSm8oaYgMnASFNgIe6ukkAoPlW
8Ezr9F5RqgKRP0jakZ8jX/tS
=dC8O
-----END PGP SIGNATURE-----



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