mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Export the gtk_entry_adjust_scroll. Required if you change the cursor
1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx> * gtk/gtkentry.h, gtk/gtkentry.c: Export the gtk_entry_adjust_scroll. Required if you change the cursor position and want to sync it up with your code (Midnight Commander gtk front end needs this). * gtk/gtktable.c: Deal with tables that have size 0, 0.
This commit is contained in:
parent
eab38fa264
commit
4c7408d9ea
10
ChangeLog
10
ChangeLog
@ -1,3 +1,12 @@
|
||||
1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkentry.h, gtk/gtkentry.c: Export the
|
||||
gtk_entry_adjust_scroll. Required if you change the cursor
|
||||
position and want to sync it up with your code (Midnight Commander
|
||||
gtk front end needs this).
|
||||
|
||||
* gtk/gtktable.c: Deal with tables that have size 0, 0.
|
||||
|
||||
Tue Jun 23 12:12:19 BST 1998 Tony Gale <gale@gtk.org>
|
||||
|
||||
* examples/README.1ST: new file to explain how the
|
||||
@ -222,6 +231,7 @@ Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* more GtkType and macro fixups.
|
||||
|
||||
>>>>>>> 1.476
|
||||
1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
|
||||
|
@ -1,3 +1,12 @@
|
||||
1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkentry.h, gtk/gtkentry.c: Export the
|
||||
gtk_entry_adjust_scroll. Required if you change the cursor
|
||||
position and want to sync it up with your code (Midnight Commander
|
||||
gtk front end needs this).
|
||||
|
||||
* gtk/gtktable.c: Deal with tables that have size 0, 0.
|
||||
|
||||
Tue Jun 23 12:12:19 BST 1998 Tony Gale <gale@gtk.org>
|
||||
|
||||
* examples/README.1ST: new file to explain how the
|
||||
@ -222,6 +231,7 @@ Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* more GtkType and macro fixups.
|
||||
|
||||
>>>>>>> 1.476
|
||||
1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
|
||||
|
@ -1,3 +1,12 @@
|
||||
1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkentry.h, gtk/gtkentry.c: Export the
|
||||
gtk_entry_adjust_scroll. Required if you change the cursor
|
||||
position and want to sync it up with your code (Midnight Commander
|
||||
gtk front end needs this).
|
||||
|
||||
* gtk/gtktable.c: Deal with tables that have size 0, 0.
|
||||
|
||||
Tue Jun 23 12:12:19 BST 1998 Tony Gale <gale@gtk.org>
|
||||
|
||||
* examples/README.1ST: new file to explain how the
|
||||
@ -222,6 +231,7 @@ Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* more GtkType and macro fixups.
|
||||
|
||||
>>>>>>> 1.476
|
||||
1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
|
||||
|
@ -1,3 +1,12 @@
|
||||
1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkentry.h, gtk/gtkentry.c: Export the
|
||||
gtk_entry_adjust_scroll. Required if you change the cursor
|
||||
position and want to sync it up with your code (Midnight Commander
|
||||
gtk front end needs this).
|
||||
|
||||
* gtk/gtktable.c: Deal with tables that have size 0, 0.
|
||||
|
||||
Tue Jun 23 12:12:19 BST 1998 Tony Gale <gale@gtk.org>
|
||||
|
||||
* examples/README.1ST: new file to explain how the
|
||||
@ -222,6 +231,7 @@ Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* more GtkType and macro fixups.
|
||||
|
||||
>>>>>>> 1.476
|
||||
1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
|
||||
|
@ -1,3 +1,12 @@
|
||||
1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkentry.h, gtk/gtkentry.c: Export the
|
||||
gtk_entry_adjust_scroll. Required if you change the cursor
|
||||
position and want to sync it up with your code (Midnight Commander
|
||||
gtk front end needs this).
|
||||
|
||||
* gtk/gtktable.c: Deal with tables that have size 0, 0.
|
||||
|
||||
Tue Jun 23 12:12:19 BST 1998 Tony Gale <gale@gtk.org>
|
||||
|
||||
* examples/README.1ST: new file to explain how the
|
||||
@ -222,6 +231,7 @@ Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* more GtkType and macro fixups.
|
||||
|
||||
>>>>>>> 1.476
|
||||
1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
|
||||
|
@ -1,3 +1,12 @@
|
||||
1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkentry.h, gtk/gtkentry.c: Export the
|
||||
gtk_entry_adjust_scroll. Required if you change the cursor
|
||||
position and want to sync it up with your code (Midnight Commander
|
||||
gtk front end needs this).
|
||||
|
||||
* gtk/gtktable.c: Deal with tables that have size 0, 0.
|
||||
|
||||
Tue Jun 23 12:12:19 BST 1998 Tony Gale <gale@gtk.org>
|
||||
|
||||
* examples/README.1ST: new file to explain how the
|
||||
@ -222,6 +231,7 @@ Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* more GtkType and macro fixups.
|
||||
|
||||
>>>>>>> 1.476
|
||||
1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
|
||||
|
@ -1,3 +1,12 @@
|
||||
1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkentry.h, gtk/gtkentry.c: Export the
|
||||
gtk_entry_adjust_scroll. Required if you change the cursor
|
||||
position and want to sync it up with your code (Midnight Commander
|
||||
gtk front end needs this).
|
||||
|
||||
* gtk/gtktable.c: Deal with tables that have size 0, 0.
|
||||
|
||||
Tue Jun 23 12:12:19 BST 1998 Tony Gale <gale@gtk.org>
|
||||
|
||||
* examples/README.1ST: new file to explain how the
|
||||
@ -222,6 +231,7 @@ Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* more GtkType and macro fixups.
|
||||
|
||||
>>>>>>> 1.476
|
||||
1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
|
||||
|
@ -72,7 +72,7 @@ static void gtk_entry_queue_draw (GtkEntry *entry);
|
||||
static gint gtk_entry_timer (gpointer data);
|
||||
static gint gtk_entry_position (GtkEntry *entry,
|
||||
gint x);
|
||||
static void gtk_entry_adjust_scroll (GtkEntry *entry);
|
||||
void gtk_entry_adjust_scroll (GtkEntry *entry);
|
||||
static void gtk_entry_grow_text (GtkEntry *entry);
|
||||
static void gtk_entry_insert_text (GtkEditable *editable,
|
||||
const gchar *new_text,
|
||||
|
@ -90,6 +90,7 @@ void gtk_entry_set_visibility (GtkEntry *entry,
|
||||
gboolean visible);
|
||||
void gtk_entry_set_editable (GtkEntry *entry,
|
||||
gboolean editable);
|
||||
void gtk_entry_adjust_scroll (GtkEntry *entry);
|
||||
/* text is truncated if needed */
|
||||
void gtk_entry_set_max_length (GtkEntry *entry,
|
||||
guint16 max);
|
||||
|
@ -378,8 +378,10 @@ gtk_table_new (guint rows,
|
||||
{
|
||||
GtkTable *table;
|
||||
|
||||
g_return_val_if_fail (rows >= 1, NULL);
|
||||
g_return_val_if_fail (columns >= 1, NULL);
|
||||
if (rows == 0)
|
||||
rows = 1;
|
||||
if (columns == 0)
|
||||
columns = 1;
|
||||
|
||||
table = gtk_type_new (gtk_table_get_type ());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user