gtk rc file
- From: Stefan Davids <smd hopf demon co uk>
- To: GTK List <gtk-list redhat com>
- Subject: gtk rc file
- Date: Mon, 8 Jun 1998 21:58:27 +0100 (BST)
I can't seem to get the rcfile to behave as in the Gtk tutorial. I'm
trying to use different styles for different buttons, so I have somthing
like:
button = gtk_button_new_with_label("Some text");
gtk_widget_set_name (button, "Label");
in my program and then something like
widget_class "Label.GtkButton" style "button_style"
in the rcfile. The above doesn't do anything, although setting
widget_class "*GtkButton*" style "button"
will set the style for all the buttons, so the rcfile is getting parsed.
My reading of the tutorial is that the above should work, although it does
have [<--- Verify ME!] by it so I guess whoever wrote it was a bit
dubious....
Am I being thick? Has anyone got this to work? Can anyone point me in the
right direction? I'm using Gtk 1.0.4.
TIA
Stefan
Stefan Davids ------- smd@maths.nott.ac.uk ------- smd@hopf.demon.co.uk
http://www.maths.nott.ac.uk/personal/smd
perl -we 'printf "\n%32s%s\n\n"," ",pack "H20","6261682068756d627567";'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]