Re: gtk_label_new_with_mnemonic() and g_object_new()



On Fri, 2001-10-26 at 14:49, Havoc Pennington wrote:
> 
> murrayc t-online de (Murray Cumming) writes:
> > Is there a construct-time property that can be used with g_object_new()
> > so that language bindings can have the equivalent of
> > gtk_label_new_with_mnemonic()?
> 
> g_object_new (GTK_TYPE_LABEL, 
>               "label", "_Foo", "use_underline", TRUE, NULL);
> 
> should work.

Thanks. That works fine, and it seems to be the same for other things,
such as GtkCheckButton.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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