RE: drawing upon a widget




On 23-Sep-99 Svanberg Liss wrote:
> It's not useful, but it really proves that you *can* add any widget you like
> to the button as a container.
> 
> gtk_container_add( GTK_CONTAINER( button ), any_widget );
> 
> But if you wan't many widgets inside the button, I think you need to store a
> box inside the button first, and then add your widgets to the box.
> ( gtk_hbox / gtk_vbox )
>
I just did a pixmap widget inside a button with no box.

Just my $.02

                                        -Govind Salinas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]