Re: some help on gtk



Friday, August 9, 2002, 4:40:58 PM, you wrote:
> hi there,
>          I just wanted to know what i should be going
> thru to do things like depress a button - so that it
> is not highlighted, and the user can never click
See gtk_widget_set_state() or gtk_widget_set_sensitive().

> can anyone tell me what i should be looking for in
> order to access the attributes of a button, a window
> etc.
Attributes or properties?
If properties see gtk_object_set() or g_object_set().
example: gtk_object_set( GTK_OBJECT(window),
                         "GtkContainer::border_width",
                         (gulong)10,
                         NULL);

Alexander Chemeris




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