Re: when wride my own widget, how to keep the rate of the widget's height and width at a constant value
- From: "Daniel Haude" <dunno stoptrick com>
- To: "chao yeaj" <yeajchao gmail com>, gtk-list gnome org, gtk-app-devel-list gnome org
- Subject: Re: when wride my own widget, how to keep the rate of the widget's height and width at a constant value
- Date: Tue, 04 Jul 2006 16:37:15 +0200
On Tue, 04 Jul 2006 09:33:41 +0200, chao yeaj <yeajchao gmail com> wrote:
I am writing my own gtk widget for my application
What i want to achieve is that: when the user change the
widget's size with his mouse,i want the widget keep this:
height/width = 3/4 .
i did not knowe how to write the widget's
"gtk_xxxx_size_allocate" function to achieve this
Maybe you can pack the widget into a GtkAspectFrame.
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]