[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: ignored -- wrong list maybe?
- From: Havoc Pennington <hp redhat com>
- To: gtk-app-devel-list redhat com
- Subject: Re: ignored -- wrong list maybe?
- Date: Sat, 28 Aug 1999 20:39:20 -0400 (EDT)
On 29 Aug 1999, Danny Dulai wrote:
> I have posted a few messages to this list, only to have gotten absolutly no
> feedback.. maybe I'm asking on the wrong list. Is there another gtk list?
>
mailing lists are just like that... if no one happens to see the message
and know the answer before newer messages appear and scroll yours off the
bottom, your message gets lost. :-) Repost, as you are doing.
> I've discovered i need to use Gnome Canvas for its object model. First, i
> can't actually find the pkg. Only talk about it.. but no actual src. Can
> someone point me to that src? Also, can the canvas be used with gtk alone?
> or must I compile with all the gnome stuff too? I don't really want to use
> gnome, just gtk.
>
It comes with gnome-libs. You can rip it out of gnome-libs if you like,
but it will be about 9000 lines of code, where only semicolon-terminated
lines count. More like 25000 without the grep ';' in there. Oh, plus you
need Imlib, so add a few thousand more. :-)
> before:
> ---------
> | 1 | 2 |
> ---------
>
> after hide(2):
>
> ---------
> | 1 | |
> ---------
>
Is your 1 packed with expand and fill set to TRUE?
> desired after hide(2):
>
> -------
> | 1 |
> -------
>
If you want to center something, a GtkAlignment is often a good choice,
perhaps pack 1 into an alignment. You'll need to pack with TRUE, TRUE
though to get any effect.
> Is there a signal I should be sending to widget 1 to tell it to wake up and
> resize? or maybe the table?
>
gtk_widget_queue_resize() on the child widget (widget 1) can force a
resize, but it may not be necessary if you set expand/fill to TRUE.
Havoc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]