Re: GtkAdjustment properties?
- From: Owen Taylor <otaylor redhat com>
- To: murrayc usa net
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: GtkAdjustment properties?
- Date: 14 Nov 2001 15:37:25 -0500
murrayc t-online de (Murray Cumming) writes:
> gtk_adjustment_new() sets struct fields directly (see below). Would you
> like a patch to make these properties instead?
This sounds like something that could easily be added in the future
so I'd rather not take the patch for it at this point.
Regards,
Owen
> GtkObject*
> gtk_adjustment_new (gdouble value,
> gdouble lower,
> gdouble upper,
> gdouble step_increment,
> gdouble page_increment,
> gdouble page_size)
> {
> GtkAdjustment *adjustment;
>
> adjustment = gtk_type_new (gtk_adjustment_get_type ());
>
> adjustment->value = value;
> adjustment->lower = lower;
> adjustment->upper = upper;
> adjustment->step_increment = step_increment;
> adjustment->page_increment = page_increment;
> adjustment->page_size = page_size;
>
> return GTK_OBJECT(adjustment);
> }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]