s/RESIZEABLE/RESIZABLE/

2001-06-25  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
	s/RESIZEABLE/RESIZABLE/

	* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
This commit is contained in:
Havoc Pennington 2001-06-25 23:48:51 +00:00 committed by Havoc Pennington
parent 75fd7f09af
commit 0e0ee24bea
20 changed files with 88 additions and 40 deletions

View File

@ -1,3 +1,10 @@
2001-06-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
s/RESIZEABLE/RESIZABLE/
* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
2001-06-25 Alexander Larsson <alexl@redhat.com> 2001-06-25 Alexander Larsson <alexl@redhat.com>
* configure.in: * configure.in:

View File

@ -1,3 +1,10 @@
2001-06-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
s/RESIZEABLE/RESIZABLE/
* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
2001-06-25 Alexander Larsson <alexl@redhat.com> 2001-06-25 Alexander Larsson <alexl@redhat.com>
* configure.in: * configure.in:

View File

@ -1,3 +1,10 @@
2001-06-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
s/RESIZEABLE/RESIZABLE/
* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
2001-06-25 Alexander Larsson <alexl@redhat.com> 2001-06-25 Alexander Larsson <alexl@redhat.com>
* configure.in: * configure.in:

View File

@ -1,3 +1,10 @@
2001-06-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
s/RESIZEABLE/RESIZABLE/
* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
2001-06-25 Alexander Larsson <alexl@redhat.com> 2001-06-25 Alexander Larsson <alexl@redhat.com>
* configure.in: * configure.in:

View File

@ -1,3 +1,10 @@
2001-06-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
s/RESIZEABLE/RESIZABLE/
* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
2001-06-25 Alexander Larsson <alexl@redhat.com> 2001-06-25 Alexander Larsson <alexl@redhat.com>
* configure.in: * configure.in:

View File

@ -1,3 +1,10 @@
2001-06-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
s/RESIZEABLE/RESIZABLE/
* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
2001-06-25 Alexander Larsson <alexl@redhat.com> 2001-06-25 Alexander Larsson <alexl@redhat.com>
* configure.in: * configure.in:

View File

@ -1,3 +1,10 @@
2001-06-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
s/RESIZEABLE/RESIZABLE/
* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
2001-06-25 Alexander Larsson <alexl@redhat.com> 2001-06-25 Alexander Larsson <alexl@redhat.com>
* configure.in: * configure.in:

View File

@ -217,7 +217,7 @@ do_pixbufs (void)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL); window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Pixbufs"); gtk_window_set_title (GTK_WINDOW (window), "Pixbufs");
gtk_window_set_resizeable (GTK_WINDOW (window), FALSE); gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
gtk_signal_connect (GTK_OBJECT (window), "destroy", GTK_SIGNAL_FUNC (gtk_widget_destroyed), &window); gtk_signal_connect (GTK_OBJECT (window), "destroy", GTK_SIGNAL_FUNC (gtk_widget_destroyed), &window);
gtk_signal_connect (GTK_OBJECT (window), "destroy", GTK_SIGNAL_FUNC (cleanup_callback), NULL); gtk_signal_connect (GTK_OBJECT (window), "destroy", GTK_SIGNAL_FUNC (cleanup_callback), NULL);

View File

@ -113,7 +113,7 @@ do_sizegroup (void)
GTK_STOCK_CLOSE, GTK_STOCK_CLOSE,
GTK_RESPONSE_NONE, GTK_RESPONSE_NONE,
NULL); NULL);
gtk_window_set_resizeable (GTK_WINDOW (window), FALSE); gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
gtk_signal_connect (GTK_OBJECT (window), "response", gtk_signal_connect (GTK_OBJECT (window), "response",
GTK_SIGNAL_FUNC (gtk_widget_destroy), NULL); GTK_SIGNAL_FUNC (gtk_widget_destroy), NULL);

View File

@ -2180,6 +2180,14 @@ fundamental type.
@window: @window:
@Returns: @Returns:
<!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
<para>
</para>
@window:
@Returns:
<!-- ##### FUNCTION gtk_window_set_decorations_hint ##### --> <!-- ##### FUNCTION gtk_window_set_decorations_hint ##### -->
<para> <para>
@ -2196,3 +2204,11 @@ fundamental type.
@window: @window:
@functions: @functions:
<!-- ##### FUNCTION gtk_window_set_resizeable ##### -->
<para>
</para>
@window:
@resizeable:

View File

@ -495,6 +495,7 @@ This can later be composited together with other
#GtkRcStyle structures to form a #GtkStyle. #GtkRcStyle structures to form a #GtkStyle.
</para> </para>
@parent_instance:
@name: @name:
@bg_pixmap_name: @bg_pixmap_name:
@font_desc: @font_desc:

View File

@ -65,7 +65,7 @@ GtkTreeViewColumn
</para> </para>
@GTK_TREE_VIEW_COLUMN_RESIZEABLE: @GTK_TREE_VIEW_COLUMN_RESIZABLE:
@GTK_TREE_VIEW_COLUMN_AUTOSIZE: @GTK_TREE_VIEW_COLUMN_AUTOSIZE:
@GTK_TREE_VIEW_COLUMN_FIXED: @GTK_TREE_VIEW_COLUMN_FIXED:

View File

@ -128,24 +128,6 @@ the child gets a larger allocation than it requests.
it's larger it's larger
<!-- ##### FUNCTION gtk_window_set_resizeable ##### -->
<para>
</para>
@window:
@resizeable:
<!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
<para>
</para>
@window:
@Returns:
<!-- ##### FUNCTION gtk_window_add_accel_group ##### --> <!-- ##### FUNCTION gtk_window_add_accel_group ##### -->
<para> <para>

View File

@ -1034,7 +1034,7 @@ gtk_tree_view_map_buttons (GtkTreeView *tree_view)
column = list->data; column = list->data;
if (column->visible == FALSE) if (column->visible == FALSE)
continue; continue;
if (column->column_type == GTK_TREE_VIEW_COLUMN_RESIZEABLE) if (column->column_type == GTK_TREE_VIEW_COLUMN_RESIZABLE)
{ {
gdk_window_raise (column->window); gdk_window_raise (column->window);
gdk_window_show (column->window); gdk_window_show (column->window);
@ -1591,7 +1591,7 @@ gtk_tree_view_button_press (GtkWidget *widget,
{ {
column = list->data; column = list->data;
if (event->window == column->window && if (event->window == column->window &&
column->column_type == GTK_TREE_VIEW_COLUMN_RESIZEABLE && column->column_type == GTK_TREE_VIEW_COLUMN_RESIZABLE &&
column->window) column->window)
{ {
gpointer drag_data; gpointer drag_data;

View File

@ -654,7 +654,7 @@ gtk_tree_view_column_update_button (GtkTreeViewColumn *tree_column)
gtk_widget_show_now (tree_column->button); gtk_widget_show_now (tree_column->button);
if (tree_column->window) if (tree_column->window)
{ {
if (tree_column->column_type == GTK_TREE_VIEW_COLUMN_RESIZEABLE) if (tree_column->column_type == GTK_TREE_VIEW_COLUMN_RESIZABLE)
{ {
gdk_window_show (tree_column->window); gdk_window_show (tree_column->window);
gdk_window_raise (tree_column->window); gdk_window_raise (tree_column->window);

View File

@ -38,7 +38,7 @@ extern "C" {
typedef enum typedef enum
{ {
GTK_TREE_VIEW_COLUMN_RESIZEABLE, GTK_TREE_VIEW_COLUMN_RESIZABLE,
GTK_TREE_VIEW_COLUMN_AUTOSIZE, GTK_TREE_VIEW_COLUMN_AUTOSIZE,
GTK_TREE_VIEW_COLUMN_FIXED GTK_TREE_VIEW_COLUMN_FIXED
} GtkTreeViewColumnSizing; } GtkTreeViewColumnSizing;

View File

@ -3621,37 +3621,37 @@ gtk_window_unmaximize (GtkWindow *window)
} }
/** /**
* gtk_window_set_resizeable: * gtk_window_set_resizable:
* @window: a #GtkWindow * @window: a #GtkWindow
* @resizeable: %TRUE if the user can resize this window * @resizable: %TRUE if the user can resize this window
* *
* Sets whether the user can resize a window. Windows are user resizeable * Sets whether the user can resize a window. Windows are user resizable
* by default. * by default.
**/ **/
void void
gtk_window_set_resizeable (GtkWindow *window, gtk_window_set_resizable (GtkWindow *window,
gboolean resizeable) gboolean resizable)
{ {
g_return_if_fail (GTK_IS_WINDOW (window)); g_return_if_fail (GTK_IS_WINDOW (window));
gtk_window_set_policy (window, FALSE, resizeable, FALSE); gtk_window_set_policy (window, FALSE, resizable, FALSE);
} }
/** /**
* gtk_window_get_resizeable: * gtk_window_get_resizable:
* @window: a #GtkWindow * @window: a #GtkWindow
* *
* Gets the value set by gtk_window_set_resizeable(). * Gets the value set by gtk_window_set_resizable().
* *
* Return value: %TRUE if the user can resize the window * Return value: %TRUE if the user can resize the window
**/ **/
gboolean gboolean
gtk_window_get_resizeable (GtkWindow *window) gtk_window_get_resizable (GtkWindow *window)
{ {
g_return_val_if_fail (GTK_IS_WINDOW (window), FALSE); g_return_val_if_fail (GTK_IS_WINDOW (window), FALSE);
/* allow_grow is most likely to indicate the semantic concept we /* allow_grow is most likely to indicate the semantic concept we
* mean by "resizeable" (and will be a reliable indicator if * mean by "resizable" (and will be a reliable indicator if
* set_policy() hasn't been called) * set_policy() hasn't been called)
*/ */
return window->allow_grow; return window->allow_grow;

View File

@ -175,9 +175,9 @@ void gtk_window_set_destroy_with_parent (GtkWindow *window,
gboolean setting); gboolean setting);
gboolean gtk_window_get_destroy_with_parent (GtkWindow *window); gboolean gtk_window_get_destroy_with_parent (GtkWindow *window);
void gtk_window_set_resizeable (GtkWindow *window, void gtk_window_set_resizable (GtkWindow *window,
gboolean resizeable); gboolean resizable);
gboolean gtk_window_get_resizeable (GtkWindow *window); gboolean gtk_window_get_resizable (GtkWindow *window);
void gtk_window_set_gravity (GtkWindow *window, void gtk_window_set_gravity (GtkWindow *window,
GdkGravity gravity); GdkGravity gravity);

View File

@ -3669,7 +3669,7 @@ create_size_group_window (GtkSizeGroup *master_size_group)
GTK_RESPONSE_NONE, GTK_RESPONSE_NONE,
NULL); NULL);
gtk_window_set_resizeable (GTK_WINDOW (window), FALSE); gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
gtk_signal_connect (GTK_OBJECT (window), "response", gtk_signal_connect (GTK_OBJECT (window), "response",
GTK_SIGNAL_FUNC (gtk_widget_destroy), GTK_SIGNAL_FUNC (gtk_widget_destroy),

View File

@ -419,7 +419,7 @@ add_clicked (GtkWidget *button, gpointer data)
column = gtk_tree_view_column_new_with_attributes (label, cell, "text", 0, NULL); column = gtk_tree_view_column_new_with_attributes (label, cell, "text", 0, NULL);
g_object_set_data_full (G_OBJECT (column), column_data, label, g_free); g_object_set_data_full (G_OBJECT (column), column_data, label, g_free);
gtk_tree_view_column_set_reorderable (column, TRUE); gtk_tree_view_column_set_reorderable (column, TRUE);
gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_RESIZEABLE); gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_RESIZABLE);
gtk_list_store_append (GTK_LIST_STORE (left_tree_model), &iter); gtk_list_store_append (GTK_LIST_STORE (left_tree_model), &iter);
gtk_list_store_set (GTK_LIST_STORE (left_tree_model), &iter, 0, label, 1, column, -1); gtk_list_store_set (GTK_LIST_STORE (left_tree_model), &iter, 0, label, 1, column, -1);
i++; i++;