cvs: presentations /slides/gtk-csg rcs2.xml styles2.xml
| From: | Andrei Zmievski | Date: | Wed, 28 Jul 2004 18:18:02 +0000 |
| Subject: | cvs: presentations /slides/gtk-csg rcs2.xml styles2.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1013@lists.php.net to get a copy of this message | ||
andrei Wed Jul 28 14:18:02 2004 EDT
Modified files:
/presentations/slides/gtk-csg rcs2.xml styles2.xml
Log:
http://cvs.php.net/diff.php/presentations/slides/gtk-csg/rcs2.xml?r1=1.2&r2=1.3&ty=u
Index: presentations/slides/gtk-csg/rcs2.xml
diff -u presentations/slides/gtk-csg/rcs2.xml:1.2 presentations/slides/gtk-csg/rcs2.xml:1.3
--- presentations/slides/gtk-csg/rcs2.xml:1.2 Thu Nov 21 15:38:53 2002
+++ presentations/slides/gtk-csg/rcs2.xml Wed Jul 28 14:18:02 2004
@@ -45,9 +45,9 @@
]]></example>
<blurb fontsize="3em">
- Note that the wildcards are important: "**GtkScrolledWindow*" makes
+ Note that the wildcards are important: "\*GtkScrolledWindow\*" makes
sure that it applies to the scroll window inside "main window" even
- if it's bundled in a box or something like that, and "**GtkButton**"
+ if it's bundled in a box or something like that, and "\*GtkButton\*"
says that the button can be packed up in a box and that the style
will also apply to the child of the button, that is, label. Without
the final asterisk the button label font would not be affected.
http://cvs.php.net/diff.php/presentations/slides/gtk-csg/styles2.xml?r1=1.2&r2=1.3&ty=u
Index: presentations/slides/gtk-csg/styles2.xml
diff -u presentations/slides/gtk-csg/styles2.xml:1.2 presentations/slides/gtk-csg/styles2.xml:1.3
--- presentations/slides/gtk-csg/styles2.xml:1.2 Thu Nov 21 15:38:53 2002
+++ presentations/slides/gtk-csg/styles2.xml Wed Jul 28 14:18:02 2004
@@ -33,7 +33,7 @@
$style = $style->copy();
$cmap = $button->get_colormap();
$color = $cmap->alloc('#406090');
- $style->bg[GTK_STATE_NORMAL] = $color;
+ $style->bg[GTK_STATE_PRELIGHT] = $color;
$button->set_style($style);
$label = $button->child;