gtkmm r962 - in branches/gtkmm-2-12: . docs/reference docs/reference/images docs/reference/images/widgets gtk/src



Author: jjongsma
Date: Mon Feb 18 17:35:48 2008
New Revision: 962
URL: http://svn.gnome.org/viewvc/gtkmm?rev=962&view=rev

Log:
	* docs/reference/Doxyfile.in: add an image directory with widget screenshots
	to the doxygen config file
	* gtk/src/arrow.hg:
	* gtk/src/button.hg:
	* gtk/src/buttonbox.hg:
	* gtk/src/checkbutton.hg:
	* gtk/src/colorbutton.hg:
	* gtk/src/combobox.hg:
	* gtk/src/comboboxentry.hg:
	* gtk/src/filechooserbutton.hg:
	* gtk/src/fontbutton.hg:
	* gtk/src/image.hg:
	* gtk/src/label.hg:
	* gtk/src/linkbutton.hg:
	* gtk/src/menubar.hg:
	* gtk/src/radiobutton.hg:
	* gtk/src/scale.hg:
	* gtk/src/scrollbar.hg:
	* gtk/src/separator.hg:
	* gtk/src/statusbar.hg: add a widget screenshot to the class overview
	documentation.
	* docs/reference/images/widgets/*.png: add screenshots of some common
	widgets.  More will come eventually.


Added:
   branches/gtkmm-2-12/docs/reference/images/
   branches/gtkmm-2-12/docs/reference/images/widgets/
   branches/gtkmm-2-12/docs/reference/images/widgets/arrow1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/button2.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/checkbutton1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/colorbutton1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/combobox1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/comboboxentry1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/filechooserbutton1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/fontbutton1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/hbuttonbox1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/hscale1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/hscrollbar1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/hseparator1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/image1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/label1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/linkbutton1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/menubar1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/radiobutton1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/statusbar1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/toggletoolbutton1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/toolbar1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/toolbutton1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/vscale1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/vscrollbar1.png   (contents, props changed)
   branches/gtkmm-2-12/docs/reference/images/widgets/vseparator1.png   (contents, props changed)
Modified:
   branches/gtkmm-2-12/ChangeLog
   branches/gtkmm-2-12/docs/reference/Doxyfile.in
   branches/gtkmm-2-12/gtk/src/arrow.hg
   branches/gtkmm-2-12/gtk/src/button.hg
   branches/gtkmm-2-12/gtk/src/buttonbox.hg
   branches/gtkmm-2-12/gtk/src/checkbutton.hg
   branches/gtkmm-2-12/gtk/src/colorbutton.hg
   branches/gtkmm-2-12/gtk/src/combobox.hg
   branches/gtkmm-2-12/gtk/src/comboboxentry.hg
   branches/gtkmm-2-12/gtk/src/filechooserbutton.hg
   branches/gtkmm-2-12/gtk/src/fontbutton.hg
   branches/gtkmm-2-12/gtk/src/image.hg
   branches/gtkmm-2-12/gtk/src/label.hg
   branches/gtkmm-2-12/gtk/src/linkbutton.hg
   branches/gtkmm-2-12/gtk/src/menubar.hg
   branches/gtkmm-2-12/gtk/src/radiobutton.hg
   branches/gtkmm-2-12/gtk/src/scale.hg
   branches/gtkmm-2-12/gtk/src/scrollbar.hg
   branches/gtkmm-2-12/gtk/src/separator.hg
   branches/gtkmm-2-12/gtk/src/statusbar.hg

Modified: branches/gtkmm-2-12/docs/reference/Doxyfile.in
==============================================================================
--- branches/gtkmm-2-12/docs/reference/Doxyfile.in	(original)
+++ branches/gtkmm-2-12/docs/reference/Doxyfile.in	Mon Feb 18 17:35:48 2008
@@ -97,7 +97,7 @@
 EXAMPLE_PATTERNS       = *.h \
                          *.cc
 EXAMPLE_RECURSIVE      = YES
-IMAGE_PATH             = $(DOXYGEN_IMAGE_PATH)
+IMAGE_PATH             = $(DOXYGEN_IMAGE_PATH) images/widgets
 INPUT_FILTER           = 
 FILTER_PATTERNS        = 
 FILTER_SOURCE_FILES    = NO

Added: branches/gtkmm-2-12/docs/reference/images/widgets/arrow1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/button2.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/checkbutton1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/colorbutton1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/combobox1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/comboboxentry1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/filechooserbutton1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/fontbutton1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/hbuttonbox1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/hscale1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/hscrollbar1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/hseparator1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/image1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/label1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/linkbutton1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/menubar1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/radiobutton1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/statusbar1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/toggletoolbutton1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/toolbar1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/toolbutton1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/vscale1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/vscrollbar1.png
==============================================================================
Binary file. No diff available.

Added: branches/gtkmm-2-12/docs/reference/images/widgets/vseparator1.png
==============================================================================
Binary file. No diff available.

Modified: branches/gtkmm-2-12/gtk/src/arrow.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/arrow.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/arrow.hg	Mon Feb 18 17:35:48 2008
@@ -37,6 +37,9 @@
  * from Gtk::Misc, it can be padded and/or aligned, to fill exactly the
  * space the programmer desires.
  *
+ * The Arrow widget looks like this:
+ * @image html arrow1.png
+ *
  * @ingroup Widgets
  */
 class Arrow : public Misc {

Modified: branches/gtkmm-2-12/gtk/src/button.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/button.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/button.hg	Mon Feb 18 17:35:48 2008
@@ -36,6 +36,9 @@
  * This widget is generally used with a signal handler that is called when the button is pressed.
  * It can hold any valid child widget.  The most commonly used child is the Gtk::Label.
  *
+ * The Button widget looks like this:
+ * @image html button2.png
+ *
  * @ingroup Widgets
  */
 class Button : public Bin

Modified: branches/gtkmm-2-12/gtk/src/buttonbox.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/buttonbox.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/buttonbox.hg	Mon Feb 18 17:35:48 2008
@@ -92,6 +92,9 @@
  * The layout/spacing can then be altered by the programmer, or if desired,
  * by the user to alter the 'feel' of a program to a small degree. 
  *
+ * The HButtonBox widget looks like this:
+ * @image html hbuttonbox1.png
+ *
  * @ingroup Widgets
  * @ingroup Containers
  */

Modified: branches/gtkmm-2-12/gtk/src/checkbutton.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/checkbutton.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/checkbutton.hg	Mon Feb 18 17:35:48 2008
@@ -33,6 +33,9 @@
  * information about toggle/check buttons.  The important signal,
  * signal_toggled() is also inherited from Gtk::ToggleButton.
  *
+ * The CheckButton widget looks like this:
+ * @image html checkbutton1.png
+ *
  * @ingroup Widgets
  */
 class CheckButton : public ToggleButton

Modified: branches/gtkmm-2-12/gtk/src/colorbutton.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/colorbutton.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/colorbutton.hg	Mon Feb 18 17:35:48 2008
@@ -34,6 +34,9 @@
  * open a color selection dialog to change the color. It is suitable widget for selecting a
  * color in a preference dialog.
  *
+ * The ColorButton widget looks like this:
+ * @image html colorbutton1.png
+ *
  * @ingroup Widgets
  */
 class ColorButton : public Button

Modified: branches/gtkmm-2-12/gtk/src/combobox.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/combobox.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/combobox.hg	Mon Feb 18 17:35:48 2008
@@ -45,6 +45,9 @@
  * valid choices is not restricted to a flat list, it can be a real tree, and the popup will reflect the tree 
  * structure.
  *
+ * The ComboBox widget looks like this:
+ * @image html combobox1.png
+ *
  * See also ComboBoxText, which is specialised for a single text column.
  *
  * @ingroup Widgets

Modified: branches/gtkmm-2-12/gtk/src/comboboxentry.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/comboboxentry.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/comboboxentry.hg	Mon Feb 18 17:35:48 2008
@@ -40,6 +40,9 @@
  *
  * To add and remove strings from the list, just modify the model using its data manipulation API. You can get the * Entry by using get_child().
  *
+ * The ComboBoxEntry widget looks like this:
+ * @image html comboboxentry1.png
+ *
  * @ingroup Widgets
  */
 class ComboBoxEntry : public ComboBox

Modified: branches/gtkmm-2-12/gtk/src/filechooserbutton.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/filechooserbutton.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/filechooserbutton.hg	Mon Feb 18 17:35:48 2008
@@ -40,6 +40,9 @@
  * space, you should call size_request(), set_width_chars(), or pack the button in such a way that other interface 
  * elements give space to the widget.
  *
+ * The FileChooserButton widget looks like this:
+ * @image html filechooserbutton1.png
+ *
  * @ingroup Widgets
  */
 class FileChooserButton

Modified: branches/gtkmm-2-12/gtk/src/fontbutton.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/fontbutton.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/fontbutton.hg	Mon Feb 18 17:35:48 2008
@@ -32,6 +32,10 @@
  * The Gtk::FontButton is a button which displays the currently selected font and
  * allows to open a font selection dialog to change the font. It is suitable widget
  * for selecting a font in a preference dialog.
+ *
+ * The FontButton widget looks like this:
+ * @image html fontbutton1.png
+ *
  * @ingroup Widgets
  */
 class FontButton : public Button

Modified: branches/gtkmm-2-12/gtk/src/image.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/image.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/image.hg	Mon Feb 18 17:35:48 2008
@@ -48,6 +48,9 @@
  * image, such as button clicks, place the image inside a Gtk::EventBox, then
  * connect to the event signals on the event box. 
  *
+ * The Image widget looks like this:
+ * @image html image1.png
+ *
  * @ingroup Widgets
  */
 class Image : public Misc

Modified: branches/gtkmm-2-12/gtk/src/label.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/label.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/label.hg	Mon Feb 18 17:35:48 2008
@@ -33,6 +33,10 @@
 /** A widget that displays a small to medium amount of text.
  *
  * A simple setable widget for holding a Glib::ustring.
+ *
+ * The Label widget looks like this:
+ * @image html label1.png
+ *
  * @ingroup Widgets
  */
 class Label : public Misc

Modified: branches/gtkmm-2-12/gtk/src/linkbutton.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/linkbutton.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/linkbutton.hg	Mon Feb 18 17:35:48 2008
@@ -37,6 +37,9 @@
  * and retrieved using get_uri().
  * Gtk::LinkButton offers a global hook, which is called when the used clicks on it: see set_uri_hook(). 
  *
+ * The LinkButton widget looks like this:
+ * @image html linkbutton1.png
+ *
  * @newin2p10
  * @ingroup Widgets
  */

Modified: branches/gtkmm-2-12/gtk/src/menubar.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/menubar.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/menubar.hg	Mon Feb 18 17:35:48 2008
@@ -31,6 +31,10 @@
 
 /** A standard menu bar which usually holds Gtk::Menu submenu items.
  * The useful methods are in the base class - Gtk::MenuShell.
+ *
+ * The MenuBar widget looks like this:
+ * @image html menubar1.png
+ *
  * @ingroup Widgets
  * @ingroup Menus
  */

Modified: branches/gtkmm-2-12/gtk/src/radiobutton.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/radiobutton.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/radiobutton.hg	Mon Feb 18 17:35:48 2008
@@ -33,6 +33,9 @@
  * After constructing the first RadioButton in a group, use get_group() and provide this Group to the constructors ot the other RadioButtons in the same group.
  * To remove a Gtk::RadioButton from one group and make it part of a new one, use set_group().
  *
+ * The RadioButton widget looks like this:
+ * @image html radiobutton1.png
+ *
  * @ingroup Widgets
  */
 class RadioButton : public CheckButton

Modified: branches/gtkmm-2-12/gtk/src/scale.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/scale.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/scale.hg	Mon Feb 18 17:35:48 2008
@@ -149,6 +149,9 @@
  * The Gtk::HScale widget is used to allow the user to select a value using a
  * horizontal slider. See the Gtk::Scale documentation for more information
  * on how to use a Gtk::HScale.
+ *
+ * The HScale widget looks like this:
+ * @image html hscale1.png
  * 
  * @ingroup Widgets
  */

Modified: branches/gtkmm-2-12/gtk/src/scrollbar.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/scrollbar.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/scrollbar.hg	Mon Feb 18 17:35:48 2008
@@ -81,6 +81,9 @@
  * adjustment of the scrollbar. If not specified, one will be created for
  * you. See Gtk::Adjustment for details.
  *
+ * The HScrollbar widget looks like this:
+ * @image html hscrollbar1.png
+ *
  * @ingroup Widgets
  */
 class HScrollbar : public Scrollbar

Modified: branches/gtkmm-2-12/gtk/src/separator.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/separator.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/separator.hg	Mon Feb 18 17:35:48 2008
@@ -60,6 +60,10 @@
  * Filler widget used to separate widgets with a visible line.
  * This widget has no window and receives no configuration events.
  * It should be considered a leaf widget.
+ *
+ * The HSeparator widget looks like this:
+ * @image html hseparator1.png
+ *
  * @ingroup Widgets
  */
 class HSeparator : public Separator

Modified: branches/gtkmm-2-12/gtk/src/statusbar.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/statusbar.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/statusbar.hg	Mon Feb 18 17:35:48 2008
@@ -36,6 +36,9 @@
  * It derives from Gtk::HBox so that additional information can be added
  * easily.
  *
+ * The Statusbar widget looks like this:
+ * @image html statusbar1.png
+ *
  * @ingroup Widgets
  */
 class Statusbar : public HBox



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