Re: List of gtkrc-2.0 options?
- From: Matthias Clasen <mclasen redhat com>
- To: Manuel Op de Coul <manuel op de coul eon-benelux com>
- Cc: gtk-list gnome org
- Subject: Re: List of gtkrc-2.0 options?
- Date: Tue, 02 Nov 2004 14:11:04 -0500
On Tue, 2004-11-02 at 18:26 +0100, Manuel Op de Coul wrote:
> I could use the "gtk-button-images" setting. The stock buttons
> are sensitive to this setting, but I have my own buttons with
> a custom pixmap and label inside.
>
Getting the properties from the settings object using g_object_get()
works, e.g in gtkbutton.c:
static gboolean
show_image (GtkButton *button)
{
GtkSettings *settings = gtk_widget_get_settings (GTK_WIDGET
(button));
gboolean show;
g_object_get (settings, "gtk-button-images", &show, NULL);
return show;
}
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]