Re: [gtk-list] Re: .99.4 broke GTK_TOGGLE_BUTTON(button)->active (PLEASE READ)
- From: <nuke bayside net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: .99.4 broke GTK_TOGGLE_BUTTON(button)->active (PLEASE READ)
- Date: Tue, 3 Mar 1998 15:15:45 -0500 (EST)
On Tue, 3 Mar 1998, Tom Bech wrote:
>
> [snip]
> >
> > GTK_WIDGET(GTK_LABEL(GTK_BUTTON(button)->child))->allocation.x--;
> > GTK_WIDGET(GTK_LABEL(GTK_BUTTON(button)->child))->allocation.y--;
> >
>
> Hm. You are aware that a button can have children that may not be
> labels? Not that it matters in this case, - but why the typecast to
> a label in the snippet above?
well, is there a better way to do that? i'm only trying to get the effect
of having the button contents pressed. i'm very open to ideas if anyone
knows how i *should* do it :)
_ _ __ __ _ _ _
| / |/ /_ __/ /_____ | Nuke Skyjumper |
| / / // / '_/ -_) | "Master of the Farce" |
|_ /_/|_/\_,_/_/\_\\__/ _|_ nuke@bayside.net _|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]