forked from AuroraMiddleware/gtk
d9c9259861
It doesn't make sense to keep them separate as GtkSizeRequest requires a GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have one without the other. It also makes the code a lot easier because no casts are required when calling functions. Also, the names would translate to gtk_widget_get_width() and people agreed that this would be a too generic name, so a "preferred" was added to the names. So this patch moves the functions: gtk_size_request_get_request_mode() => gtk_widget_get_request_mode() gtk_size_request_get_width() => gtk_widget_get_preferred_width() gtk_size_request_get_height() => gtk_widget_get_preferred_height() gtk_size_request_get_size() => gtk_widget_get_preferred_size() gtk_size_request_get_width_for_height() => gtk_widget_get_preferred_width_for_height() gtk_size_request_get_height_for_width() => gtk_widget_get_preferred_height_for_width() ... and moves the corresponding vfuncs to the GtkWidgetClass. The patch also renames the implementations of the vfuncs in widgets to include the word "preferrred". |
||
---|---|---|
.. | ||
images | ||
tmpl | ||
building.sgml | ||
compiling.sgml | ||
drawing-model.xml | ||
glossary.xml | ||
gtk3-sections.txt | ||
gtk3.types | ||
gtk-builder-convert-3.0.xml | ||
gtk-docs.sgml | ||
gtk-query-immodules-3.0.xml | ||
gtk-update-icon-cache-3.0.xml | ||
Makefile.am | ||
migrating-2to3.xml | ||
migrating-checklist.sgml | ||
migrating-ClientSideWindows.sgml | ||
migrating-GtkAboutDialog.sgml | ||
migrating-GtkAction.sgml | ||
migrating-GtkAssistant.sgml | ||
migrating-GtkBuilder.sgml | ||
migrating-GtkColorButton.sgml | ||
migrating-GtkComboBox.sgml | ||
migrating-GtkEntry-icons.sgml | ||
migrating-GtkFileChooser.sgml | ||
migrating-GtkIconView.sgml | ||
migrating-GtkLabel-links.sgml | ||
migrating-GtkLinkButton.sgml | ||
migrating-GtkRecentChooser.sgml | ||
migrating-GtkTooltip.sgml | ||
objects_grouped.sgml | ||
osx.sgml | ||
other_software.sgml | ||
question_index.sgml | ||
resources.sgml | ||
running.sgml | ||
text_widget.sgml | ||
tree_widget.sgml | ||
version.xml.in | ||
visual_index.xml | ||
windows.sgml | ||
x11.sgml |