Re: size
- From: Greg Suing <suing tconl com>
- To: gnome-devel-list gnome org
- Subject: Re: size
- Date: Mon, 17 Jan 2000 22:26:12 -0600
Why do questions such as this _never_ get answered on this list?
It's difficult to get started with Gnome programming due to minimal
documentation. Answers to questions like these help new programmers
get started. When they aren't answered, it's very discouraging.
I asked the same question several weeks ago - with no response.
Here's what I use to get the size of my main window... it seems to
work:
GtkWidget *app;
int w, h;
...
w = GTK_WIDGET(GNOME_APP(app)->contents)->allocation.width;
h = GTK_WIDGET(GNOME_APP(app)->contents)->allocation.height;
Greg Suing
Martin Oberzalek wrote:
>
> How can I get the current size of a widget?
>
> --
> 2 Pi || ! 2 Pi <- == ?
>
> --
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]