Re: gtk_label_new_with_mnemonic() and g_object_new()
- From: murrayc t-online de (Murray Cumming)
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: gtk_label_new_with_mnemonic() and g_object_new()
- Date: 26 Oct 2001 22:24:12 +0200
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]