summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
Commit message (Collapse)AuthorAgeFilesLines
* deprecated gtk_widget_freeze_accelerators andTim Janik1998-11-281-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Nov 28 00:06:49 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.h: * gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators and gtk_widget_unlock_accelerators. * gtk/gtklayout.h: * gtk/gtklayout.c: implemented incremental freezing facility. * gtk/gtktext.h: * gtk/gtktext.c: implemented incremental freezing facility. * gtk/gtkenums.h: * gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place. * gtk/gtkentry.h: * gtk/gtkentry.c: deprecated gtk_entry_adjust_scroll(). * random GtkType, macro and indentation fixes. Fri Nov 27 22:50:15 1998 Tim Janik <timj@gtk.org> * gtk/gtkclist.h: * gtk/gtkclist.c: implemented incremental freezing facility, added a new class member (*refresh)() which takes over the thaw functionality. the clist FROZEN flag got removed on the way. * gtk/gtkctree.c: adaptions to feature the clist refresh functionality and incremental freezing. * gtk/gtkcalendar.c: implemented incremental freezing facility.
* removed all occourances of #pragma } and #pragma { which were in place toTim Janik1998-10-071-1/+0
| | | | | | | | | | | Wed Oct 7 05:15:36 1998 Tim Janik <timj@gtk.org> * gtk/gtk*.h: * gdk/gdk.h: removed all occourances of #pragma } and #pragma { which were in place to fixup emacs' cc-mode indentation. putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the proper way to achive this and doesn't produce problems for stupid pragma-related compiler bugs. ;)
* Add names to prototype for gdk_image_new_bitmap.Owen Taylor1998-09-201-0/+2
| | | | | | Fri Sep 18 19:11:10 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap.
* signdness corrections all ove the place. implementation of objectTim Janik1998-07-161-25/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Jul 16 18:24:41 1998 Tim Janik <timj@gtk.org> * gtk/gtknotebook.h: * gtk/gtknotebook.c: signdness corrections all ove the place. implementation of object arguments: GtkNotebook::enable_popup, GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs, GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page. begun implementation of child args, we have GtkNotebook::tab_label, but GtkNotebook::menu_label and GtkNotebook::position still lack the implementation. (gtk_notebook_remove_page): (gtk_notebook_current_page): allow negative indices (-1) as alias for the last page. * gtk/gtkentry.h: * gtk/gtkentry.c: GtkType and macro fixups. implementation of object arguments GtkEntry::max_length and GtkEntry::visibility. (gtk_entry_adjust_scroll): queue a redraw. * gtk/gtkeditable.h: * gtk/gtkeditable.c: GtkType und macro fixups. implementation of object arguments GtkEditable::text_position and GtkEditable::editable. new (action) signal GtkEditable::set_editable. provide a default handler for GtkEditable::changed that queues a redraw. * gtk/gtktext.h: * gtk/gtktext.c: GtkType und macro fixups. override GtkEditable:: set_editable.
* Export the gtk_entry_adjust_scroll. Required if you change the cursorMiguel de Icaza1998-06-231-0/+1
| | | | | | | | | | | 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.
* Changed LGPL address for FSF in all .h and .c filesPDT 1998 Shawn T. Amundson1998-04-131-2/+3
| | | | | | Sun Apr 12 18:54:29 PDT 1998 Shawn T. Amundson <amundson@gtk.org> * Changed LGPL address for FSF in all .h and .c files
* fixes to locale checksOwen Taylor1998-03-221-1/+12
| | | | | | | | | | | | | | | | | Sun Mar 22 16:25:46 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkmain.c (gtk_init): fixes to locale checks * gtk/testgtk.c (create_dnd): Create the dnd icons separately to avoid strange interactions with shapes demo. * gtk/gtkentry.[ch]: - Limit the length of the text to 2048 to prevent long delays - Fix problems with buffer overruns - Draw only the onscreen portion of the text to prevent wrapping of shorts in the X drawing code. - Keep track of character positions and x-offsets to speed up algorithms.
* checked in gtk_entry_set_max_length (it truncates the texts if it'sCET 1998 Paolo Molaro1998-03-181-1/+3
| | | | | | | Wed Mar 18 17:38:25 CET 1998 Paolo Molaro <lupus@debian.org> * gtk/gtkentry.[ch]: checked in gtk_entry_set_max_length (it truncates the texts if it's longer, now)
* I did a topdir/ChangeLog entry, why should I put anything in here? :)Elliot Lee1998-03-111-5/+0
|
* commiting changes from owen:Owen Taylor1998-03-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Mon Mar 9 20:38:15 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c: Moved "activate" to editable class. Made the vfuncs in gtkeditable just vfuncs not signals. * gtkentry.[ch] gtktext.[ch]: Made behavior when pressing multiple buttons at once more rational. * gtkentry.c gtktext.c: Unified and rationalized key bindings. (Now are basically emacs+CUA) * gtktext.c: - Last position now always shares the property of the preceding character - Freeze the widget when inserting large amounts of text. - Selecting lines now selects the _whole_ line. - Fixed bug with displaying the cursor - Ctrl-Home/End now move the cursor to the _absolute home/end * gtkmenuitem.c: Remove necessary code out of a g_return_if_fail -timj
* gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch]Owen Taylor1998-03-011-2/+2
| | | | | | | | | | | | | | | | Sun Mar 1 03:20:39 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch] Turned off debugging in gtktext.c Bug fixes for cutting, pasting, deleting, etc. Some of the bugs that were there before have definitely been fixed. * gtk/testgtk.c gtk/testgtkrc: Removed my ugly orange backgrounds, to make things look nicer.
* gtk/gtkentry.[ch] gtktext.c gtkeditable.[ch]Owen Taylor1998-03-011-23/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Feb 28 23:58:54 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkentry.[ch] gtktext.c gtkeditable.[ch] Created a new base widget type Editable for the entry and text widgets, which encapsulates most of the selection and clipboard handling stuff, plus some common signals. Changed the Entry widget extensively to support this, but the interface and appearance should be the same. Changed the Text widget moderately to support this. It now supports: - Selection style cut and paste - Clipboard style cut and paste - Emacs style key bindings (~same as Entry) - Word motion - "changed" signal There are definitely still some bugs in the new stuff. * gtkfilesel.c gtkspinbutton.c testgtk.c: small changes to fit the new interface more exactly.
* Applied patch from <lupus@lettere.unipd.it> which addsCST 1998 Shawn T. Amundson1998-01-171-0/+4
| | | | | | | | | | | | | | | | Sat Jan 17 13:26:15 CST 1998 Shawn T. Amundson <amundson@gimp.org> * gtk/gtkentry.[ch]: Applied patch from <lupus@lettere.unipd.it> which adds gtk_entry_set_max_length function. This was part of gtk-lupus-970112-0. * gtk/testgtk.c: Applied gtk-wille-980113-0 which fixes a problem with a shaped widget keeping grab forever when double clicked. * docs/gtk.texi: patch from Gregory McLean <gregm@randomc.com> to add some on aspect_frame, button_box, and color_selection widgets
* Fixed a small memory leak in gtkpaned, and I changed the cursor to aJay Painter1998-01-151-0/+1
| | | | "I" beam for gtkentry. -Jay
* applied patch to use a backing pixmap for drawing in GtkEntry, which removesManish Singh1998-01-081-0/+1
| | | | | | the bad flickering. (gtk-wille-980106-0) -Yosh
* Added gtk_entry_set_editable()Elliot Lee1998-01-071-2/+4
|
* Fixed problem with deleting while text is selected.Owen Taylor1998-01-061-13/+16
| | | | | | | Changed behavior so that motion keys remove selection. Added new gtk_entry_select_region () call. -owt
* Added Gordon Matzigkeit's patch for fixed length gtk entry fieldsManish Singh1998-01-031-0/+2
| | | | -Yosh
* Miscellaneous portability fixes.Manish Singh1998-01-021-10/+10
| | | | -Yosh
* handlebox now lets you set in_root flag (and if you set that, its location ↵Elliot Lee1998-01-011-11/+11
| | | | as well)
* Changes to make word motion work again.Owen Taylor1997-12-071-2/+2
| | | | | | | | | Cut/copy/paste via the X clipboard. Generalized extending selection using <Shift> to work with all types of motion, not just arrow keys. Don't change length of GtkEntry structure because of USE_XIM -owt
* Patches to support internationalized input by:Gnome CVS User1997-11-271-0/+3
| | | | | | | | | | | Takashi Matsuda <matsu@arch.comp.kyutech.ac.jp> TANAKA Shinya <shinya@race.u-tokyo.ac.jp> See ChangeLog entries for further details. Also some small fixes to event handling in gdk/gdk.c; sending clear events in gtk/gtkselection.c and cut-and-paste in gtk/gtkentry.c
* Initial revisionElliot Lee1997-11-241-0/+94