Re: [gtk-list] Notebook + Text problems
- From: Shevek <shevek plaice valhalla net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Notebook + Text problems
- Date: Mon, 25 May 1998 22:40:08 +0000 ( )
You need to realize textboxes before you mess with them. Else they will
realize themselves and DIY themselves a window.
On Mon, 25 May 1998, Brian C. Lane wrote:
> -----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-----
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
--
S.
GM/CS/MU -d+ H+>++ s+: !g p2 au0 !a w+++ v-(---) C++++$ UL++++$ UB+
US++ UI+++$ P+>++++ L++++$ 3+ E--- N+ K !W(-----) M+(-) !V -po+ Y+ t+
5++ !j !R G' !tv b+++ D++ B--- e+ u+* h++ f? r-- n---- y?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]