forked from AuroraMiddleware/gtk
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:
parent
75fd7f09af
commit
0e0ee24bea
@ -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>
|
||||
|
||||
* configure.in:
|
||||
|
@ -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>
|
||||
|
||||
* configure.in:
|
||||
|
@ -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>
|
||||
|
||||
* configure.in:
|
||||
|
@ -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>
|
||||
|
||||
* configure.in:
|
||||
|
@ -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>
|
||||
|
||||
* configure.in:
|
||||
|
@ -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>
|
||||
|
||||
* configure.in:
|
||||
|
@ -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>
|
||||
|
||||
* configure.in:
|
||||
|
@ -217,7 +217,7 @@ do_pixbufs (void)
|
||||
|
||||
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
||||
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 (cleanup_callback), NULL);
|
||||
|
@ -113,7 +113,7 @@ do_sizegroup (void)
|
||||
GTK_STOCK_CLOSE,
|
||||
GTK_RESPONSE_NONE,
|
||||
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_FUNC (gtk_widget_destroy), NULL);
|
||||
|
@ -2180,6 +2180,14 @@ fundamental type.
|
||||
@window:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@window:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### FUNCTION gtk_window_set_decorations_hint ##### -->
|
||||
<para>
|
||||
|
||||
@ -2196,3 +2204,11 @@ fundamental type.
|
||||
@window:
|
||||
@functions:
|
||||
|
||||
<!-- ##### FUNCTION gtk_window_set_resizeable ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@window:
|
||||
@resizeable:
|
||||
|
||||
|
@ -495,6 +495,7 @@ This can later be composited together with other
|
||||
#GtkRcStyle structures to form a #GtkStyle.
|
||||
</para>
|
||||
|
||||
@parent_instance:
|
||||
@name:
|
||||
@bg_pixmap_name:
|
||||
@font_desc:
|
||||
|
@ -65,7 +65,7 @@ GtkTreeViewColumn
|
||||
|
||||
</para>
|
||||
|
||||
@GTK_TREE_VIEW_COLUMN_RESIZEABLE:
|
||||
@GTK_TREE_VIEW_COLUMN_RESIZABLE:
|
||||
@GTK_TREE_VIEW_COLUMN_AUTOSIZE:
|
||||
@GTK_TREE_VIEW_COLUMN_FIXED:
|
||||
|
||||
|
@ -128,24 +128,6 @@ the child gets a larger allocation than it requests.
|
||||
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 ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -1034,7 +1034,7 @@ gtk_tree_view_map_buttons (GtkTreeView *tree_view)
|
||||
column = list->data;
|
||||
if (column->visible == FALSE)
|
||||
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_show (column->window);
|
||||
@ -1591,7 +1591,7 @@ gtk_tree_view_button_press (GtkWidget *widget,
|
||||
{
|
||||
column = list->data;
|
||||
if (event->window == column->window &&
|
||||
column->column_type == GTK_TREE_VIEW_COLUMN_RESIZEABLE &&
|
||||
column->column_type == GTK_TREE_VIEW_COLUMN_RESIZABLE &&
|
||||
column->window)
|
||||
{
|
||||
gpointer drag_data;
|
||||
|
@ -654,7 +654,7 @@ gtk_tree_view_column_update_button (GtkTreeViewColumn *tree_column)
|
||||
gtk_widget_show_now (tree_column->button);
|
||||
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_raise (tree_column->window);
|
||||
|
@ -38,7 +38,7 @@ extern "C" {
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GTK_TREE_VIEW_COLUMN_RESIZEABLE,
|
||||
GTK_TREE_VIEW_COLUMN_RESIZABLE,
|
||||
GTK_TREE_VIEW_COLUMN_AUTOSIZE,
|
||||
GTK_TREE_VIEW_COLUMN_FIXED
|
||||
} GtkTreeViewColumnSizing;
|
||||
|
@ -3621,37 +3621,37 @@ gtk_window_unmaximize (GtkWindow *window)
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_window_set_resizeable:
|
||||
* gtk_window_set_resizable:
|
||||
* @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.
|
||||
**/
|
||||
void
|
||||
gtk_window_set_resizeable (GtkWindow *window,
|
||||
gboolean resizeable)
|
||||
gtk_window_set_resizable (GtkWindow *window,
|
||||
gboolean resizable)
|
||||
{
|
||||
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
|
||||
*
|
||||
* 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
|
||||
**/
|
||||
gboolean
|
||||
gtk_window_get_resizeable (GtkWindow *window)
|
||||
gtk_window_get_resizable (GtkWindow *window)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_WINDOW (window), FALSE);
|
||||
|
||||
/* 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)
|
||||
*/
|
||||
return window->allow_grow;
|
||||
|
@ -175,9 +175,9 @@ void gtk_window_set_destroy_with_parent (GtkWindow *window,
|
||||
gboolean setting);
|
||||
gboolean gtk_window_get_destroy_with_parent (GtkWindow *window);
|
||||
|
||||
void gtk_window_set_resizeable (GtkWindow *window,
|
||||
gboolean resizeable);
|
||||
gboolean gtk_window_get_resizeable (GtkWindow *window);
|
||||
void gtk_window_set_resizable (GtkWindow *window,
|
||||
gboolean resizable);
|
||||
gboolean gtk_window_get_resizable (GtkWindow *window);
|
||||
|
||||
void gtk_window_set_gravity (GtkWindow *window,
|
||||
GdkGravity gravity);
|
||||
|
@ -3669,7 +3669,7 @@ create_size_group_window (GtkSizeGroup *master_size_group)
|
||||
GTK_RESPONSE_NONE,
|
||||
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_FUNC (gtk_widget_destroy),
|
||||
|
@ -419,7 +419,7 @@ add_clicked (GtkWidget *button, gpointer data)
|
||||
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);
|
||||
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_set (GTK_LIST_STORE (left_tree_model), &iter, 0, label, 1, column, -1);
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue
Block a user