Commit Graph

87 Commits

Author SHA1 Message Date
Jay Painter
839b480391 Look and feel changes to CList so it now looks like a scrolled window.
I also added Sopwith's changes to gtk_clist_insert so you can pass the title
pointer as a null to insert a blank row.  Please make consistant changes
for things like this.  -Jay
1998-01-09 08:52:01 +00:00
Elliot Lee
6d33a0791a gtkclist: allow adding a new row without having to give text for it (i.e. if you want to put all pixmaps) 1998-01-09 04:14:58 +00:00
Manish Singh
00000538ed Added check for inline in configure and updated files to use it.
-Yosh
1998-01-09 01:48:19 +00:00
Elliot Lee
f873f58d5b a few modifications, blah blah 1998-01-08 20:25:33 +00:00
Manish Singh
1d58a2e291 Minor fixup to gtklabel for prototype/definition consistency
-Yosh
1998-01-08 19:02:40 +00:00
Elliot Lee
84e1ee4bac copyright notices 1998-01-08 16:25:31 +00:00
Elliot Lee
5eee6416f5 New widget (GtkComboBox) and fixed gdk_window_init to initialize gdk_root_parent some more 1998-01-08 04:13:13 +00:00
Manish Singh
4ccc005197 applied patch to use a backing pixmap for drawing in GtkEntry, which removes
the bad flickering. (gtk-wille-980106-0)

-Yosh
1998-01-08 01:58:39 +00:00
Elliot Lee
51a481d9e8 Added gtk_entry_set_editable() 1998-01-07 00:04:19 +00:00
Owen Taylor
d2aa891c8e Added "switch_page" signal. (gtk-hamann_jeske-971212-0.patch)
-owt
1998-01-06 21:59:43 +00:00
Owen Taylor
ad5466ca6e Fixed problem with deleting while text is selected.
Changed behavior so that motion keys remove selection.
Added new gtk_entry_select_region () call.

                                        -owt
1998-01-06 21:59:00 +00:00
Jay Painter
33a9119c22 clist updates to fix seg fault, list-end row removal, and row removal in BROWSE mode. -Jay 1998-01-06 06:48:48 +00:00
Arturo Espinosa
1f07d39e23 GDK_VISIBILITY_NOTIFY events were not working at all. It was my
fault; I wrote them hurriedly before going on vacation, and I never
did any testing.  Sorry :-)

Apart from the fix in Gdk, I added the corresponding
"visibility_notify_event" to GtkWidget.

- Federico
1998-01-06 01:17:10 +00:00
Arturo Espinosa
49517ca835 Some geometry management bugs fixed (and some others added -- will fix them
today).  Next I will make the handle box use a transient window.  It should
be done that way, according to the ICCCM.  We have to talk to the KDE guys
to use their window manager protocol to let the WM know that we don't want
decoration on our window.  This has to be hacked into other WMs, too.

- Federico
1998-01-05 19:41:03 +00:00
Jay Painter
0e3e5eed78 Better Clist test in testgtk.c. -Jay 1998-01-03 23:28:28 +00:00
Shawn Amundson
65d015d813 initialize scrollbar_spacing (gtk-fortier-980103-0)
* gtk/gtkscrolledwindow.c: initialize scrollbar_spacing
          (gtk-fortier-980103-0)

-Shawn
1998-01-03 17:00:37 +00:00
Manish Singh
25995faa6c Added Gordon Matzigkeit's patch for fixed length gtk entry fields
-Yosh
1998-01-03 08:35:21 +00:00
Jay Painter
621e1dd4c2 Removal of inlines, and updated ChangeLog. -Jay 1998-01-03 07:45:05 +00:00
Shawn Amundson
8eb36ebbd5 Several portability fixes from Michael Callahan <callahan@xmission.com>
* Several portability fixes from Michael Callahan
          <callahan@xmission.com> including adding in missing
          #includes and adding void in function prototypes.

-Shawn
1998-01-03 05:46:58 +00:00
Jay Painter
948a3620cf Added column list widget GtkCList. -Jay Painter 1998-01-03 03:31:03 +00:00
Arturo Espinosa
303c8f03a8 I had forgot to put GDK_NO_EXPOSE and GDK_VISIBILITY_NOTIFY events in gtk_main_iteration() - Federico 1998-01-02 21:38:39 +00:00
Elliot Lee
9dadde735c Go back to old handlebox for now, so we can get a release out 1998-01-02 20:31:46 +00:00
Shawn Amundson
dc4e9e2fe1 corrects a small resize bug in the viewport widget. The viewport widget
* gtk/gtkviewport.c: corrects a small resize bug in the
          viewport widget.  The viewport widget provides a _set_shadow
          function to draw its shadows. But if GTK_SHADOW_NONE is sent
          to this function, the viewport isn't resized correctly (it's
          still considered as a shadowed widget).  (gtk-fortier-971213-0)

        * gtk/gtknotebook.c: this patch fixes the redraw problems of
          notebook tabs, without using gdk_gc_set_clip_rectangle.
          (gtk-hamann_jeske-971218-0)

        * add gtk_widget_(show/hide)_all (Stefan Wille)
          (gtk-wille-301297-0)  Patch for testgtk not included
          because it did not patch clean.

-Shawn
1998-01-02 20:22:38 +00:00
Arturo Espinosa
0e9ff02e85 memcpy() requires <string.h> - Federico 1998-01-02 19:12:57 +00:00
Elliot Lee
2b65feb5a5 Fix warnings in testgtk 1998-01-02 04:31:37 +00:00
Manish Singh
92610dafdb Miscellaneous portability fixes.
-Yosh
1998-01-02 03:36:27 +00:00
Elliot Lee
26c35927f7 Fixed configure.in to AC_CONFIG_SUBDIRS(glib) 1998-01-01 23:45:23 +00:00
Elliot Lee
0f6d9f0ffc GtkHandleBox needs some changes, it might not work now 1998-01-01 19:44:32 +00:00
Elliot Lee
0516fcead1 handlebox now lets you set in_root flag (and if you set that, its location as well) 1998-01-01 03:31:11 +00:00
Elliot Lee
f872397c0c misc gtk touchups 1997-12-31 02:52:03 +00:00
Elliot Lee
2d8acc12f3 HandleBox mostly works now (the size_request and size_allocate is black magic to me, I am lucky it works :) Plus a few other changes 1997-12-28 01:28:27 +00:00
Elliot Lee
a5fa0b03c0 A few fixes to the handlebox, mostly to make it debuggable 1997-12-28 00:34:22 +00:00
scott
4c23b890c4 Added gtkhandlebox.c to Makefile.am. 1997-12-26 16:13:29 +00:00
scott
7c21169e72 Eliminated a compiler warning caused by not casting an argument in a
debugging message. :)
1997-12-26 16:11:40 +00:00
Tim Janik
ee489eafb0 this macro computes the spacing from klass->scrollbar_spacing now. adapted
* gtk/gtkscrolledwindow.c (SCROLLBAR_SPACING): this macro computes
        the spacing from klass->scrollbar_spacing now. adapted all functions
        that used this macro (based on a patch from Patrice Fortier).
        * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindowClass): added
        scrollbar_spacing to substitute a define (patch from Patrice Fortier).
-timj
1997-12-23 20:13:14 +00:00
Arturo Espinosa
104f72cf95 Added "orientation_changed" and "style_changed" signals to GtkToolbar.
Fixed some nits. - Federico
1997-12-23 06:11:36 +00:00
Elliot Lee
7c726a1e3e added gtkhandlebox to these - sopwith 1997-12-23 03:35:00 +00:00
Tim Janik
2b2667e791 new function. many functions adapted to use GScanner for scanning.
* gtk/gtkrc.h (gtk_rc_parse_string): new function.
        * gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
        (gtk_rc_parse): use gtk_rc_parse_any for parsing.
        (gtk_rc_parse_string): new function to support parsing from
        strings, just calls gtk_rc_parse_any.
        (gtk_rc_parse_any): new function using GScanner as lexer.
-timj
1997-12-23 02:12:10 +00:00
Arturo Espinosa
b44565f3e4 Demo works fine. I have to add the missing functions for setting the toolbar's
parameters on the fly. - Federico
1997-12-23 00:35:48 +00:00
Elliot Lee
4da7b2f2ef The handlebox is almost finished. Just need help with resizing the
parent - anyone know what I should be doing?
1997-12-22 21:37:43 +00:00
Arturo Espinosa
0a81bbf58f It compiles. Now I will add the toolbar example to testgtk.c - Federico 1997-12-22 21:32:24 +00:00
Arturo Espinosa
162795e983 Very basic functionality seems to be complete; I'll try compiling it
next :-)  - Federico
1997-12-22 20:43:55 +00:00
Elliot Lee
81a58c413c Fixed dragging of handlebox 1997-12-22 04:12:18 +00:00
Arturo Espinosa
32fbb7b821 A couple of enums for GtkToolbar settings - Federico 1997-12-19 21:41:42 +00:00
Arturo Espinosa
67180c87e1 Started work on a GtkToolbar widget. The idea is to eventually dump a
toolbar inside a GtkHandleBox (inside a GnomeApp container, yet to be
written).

When the toolbar is usable, I will add the proper example to testgtk.c.

- Federico
1997-12-19 21:14:44 +00:00
Elliot Lee
24b21a5d84 OK, handle box is good to go except for having the parent resize when it is dragged out, and also allowing user to drag it back into the original parent 1997-12-19 21:06:39 +00:00
Elliot Lee
01eda653ee more gtkhandlebox painting stuff.. 1997-12-19 20:19:28 +00:00
Elliot Lee
61124945c0 more gtkhandlebox work.. 1997-12-19 19:17:45 +00:00
Shawn Amundson
e9f322e2f0 Changes from Bolliet Jerome <bolliet@in2p3.fr> to gtktree.
Corrects a bug in gtk_tree_remove_items and gtk_tree_item_destroy.
Adds the possibility to connect all items by lines. This is the
default now.  You can overide this with the function
gtk_tree_set_view_line which take a tree and a boolean.

This tree widget looks way more finished with the lines.  Very
nice.  Check it out and run gtk/testtree.

-Shawn
1997-12-19 05:41:45 +00:00
Shawn Amundson
f7b1fa3aed For consistancy with GIMP/GNOME projects. Plus these files can
get really annoying if they are in the tree.

-Shawn
1997-12-19 05:24:25 +00:00