gtk+ r20748 - in trunk: . docs/reference/gtk gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20748 - in trunk: . docs/reference/gtk gtk
- Date: Thu, 3 Jul 2008 18:03:13 +0000 (UTC)
Author: matthiasc
Date: Thu Jul 3 18:03:13 2008
New Revision: 20748
URL: http://svn.gnome.org/viewvc/gtk+?rev=20748&view=rev
Log:
Add gtk_scale_button_get_popup
Modified:
trunk/ChangeLog
trunk/docs/reference/gtk/gtk-sections.txt
trunk/gtk/gtk.symbols
trunk/gtk/gtkscalebutton.c
trunk/gtk/gtkscalebutton.h
Modified: trunk/docs/reference/gtk/gtk-sections.txt
==============================================================================
--- trunk/docs/reference/gtk/gtk-sections.txt (original)
+++ trunk/docs/reference/gtk/gtk-sections.txt Thu Jul 3 18:03:13 2008
@@ -3147,6 +3147,7 @@
gtk_scale_button_set_value
gtk_scale_button_get_adjustment
gtk_scale_button_get_value
+gtk_scale_button_get_popup
<SUBSECTION Standard>
GTK_SCALE_BUTTON
GTK_IS_SCALE_BUTTON
Modified: trunk/gtk/gtk.symbols
==============================================================================
--- trunk/gtk/gtk.symbols (original)
+++ trunk/gtk/gtk.symbols Thu Jul 3 18:03:13 2008
@@ -3311,6 +3311,7 @@
gtk_scale_button_set_adjustment
gtk_scale_button_get_orientation
gtk_scale_button_set_orientation
+gtk_scale_button_get_popup
#endif
#endif
Modified: trunk/gtk/gtkscalebutton.c
==============================================================================
--- trunk/gtk/gtkscalebutton.c (original)
+++ trunk/gtk/gtkscalebutton.c Thu Jul 3 18:03:13 2008
@@ -758,6 +758,22 @@
}
}
+/**
+ * gtk_scale_button_get_popup:
+ * @button: a #GtkScaleButton
+ *
+ * Retrieves the popup of the #GtkScaleButton.
+ *
+ * Since: 2.14
+ */
+GtkWidget*
+gtk_scale_button_get_popup (GtkScaleButton *button)
+{
+ g_return_if_fail (GTK_IS_SCALE_BUTTON (button));
+
+ return button->priv->dock;
+}
+
/*
* button callbacks.
*/
Modified: trunk/gtk/gtkscalebutton.h
==============================================================================
--- trunk/gtk/gtkscalebutton.h (original)
+++ trunk/gtk/gtkscalebutton.h Thu Jul 3 18:03:13 2008
@@ -98,6 +98,7 @@
GtkOrientation gtk_scale_button_get_orientation (GtkScaleButton *button);
void gtk_scale_button_set_orientation (GtkScaleButton *button,
GtkOrientation orientation);
+GtkWidget * gtk_scale_button_get_popup (GtkScaleButton *button);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]