Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
efd2dbf0
Commit
efd2dbf0
authored
Jul 03, 2008
by
Matthias Clasen
Browse files
Add gtk_scale_button_get_popup
svn path=/trunk/; revision=20748
parent
5d0421f6
Changes
5
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
efd2dbf0
2008-07-03 Matthias Clasen <mclasen@redhat.com>
Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
private
* gtk/gtk.symbols:
* gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
accessor for the popup. Patch by Christian Dywan
2008-07-03 Matthias Clasen <mclasen@redhat.com>
Bug 535498 – Printing demo broken
...
...
docs/reference/gtk/gtk-sections.txt
View file @
efd2dbf0
...
...
@@ -3147,6 +3147,7 @@ gtk_scale_button_set_icons
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
...
...
gtk/gtk.symbols
View file @
efd2dbf0
...
...
@@ -3311,6 +3311,7 @@ gtk_scale_button_get_adjustment
gtk_scale_button_set_adjustment
gtk_scale_button_get_orientation
gtk_scale_button_set_orientation
gtk_scale_button_get_popup
#endif
#endif
...
...
gtk/gtkscalebutton.c
View file @
efd2dbf0
...
...
@@ -758,6 +758,22 @@ gtk_scale_button_set_orientation (GtkScaleButton *button,
}
}
/**
* 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.
*/
...
...
gtk/gtkscalebutton.h
View file @
efd2dbf0
...
...
@@ -98,6 +98,7 @@ void gtk_scale_button_set_adjustment (GtkScaleButton *button,
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment