Commit Graph

1163 Commits

Author SHA1 Message Date
Owen Taylor
814bfe1305 Changed GtkSignalFunc back to () from (void). (again!)
Thu Aug 13 16:47:44 1998  Owen Taylor  <otaylor@redhat.com>

	* Changed GtkSignalFunc back to () from (void). (again!)
1998-08-13 21:00:43 +00:00
Nat Friedman
eff77f116b Fixed the GtkSignalFunc typedef to read "(void)" instead of "()", which
Fixed the GtkSignalFunc typedef to read "(void)" instead of "()", which was
causing it to not build on my irix machine.
1998-08-13 19:03:48 +00:00
Tony Gale
87f9cc2162 One character type fix - tony [gale@gtk.org] 1998-08-13 13:35:11 +00:00
BST 1998 Tony Gale
e8e7692534 - Tidy up of the menufactory example from Andy Kahn <kahn@zk3.dec.com> -
Thu Aug 13 09:11:11 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
          - Tidy up of the menufactory example from
            Andy Kahn <kahn@zk3.dec.com>
          - New section on Range Widgets from
            David Huggins-Daines <bn711@freenet.carleton.ca>
          - Started a new section on 'Advanced Event and Signal
            Handling' - used an email from Owen.
          - New appendix on Gdk Event Types
          - Added the tictactoe full example code to the
            'Code Examples' appendix
1998-08-13 13:11:14 +00:00
Owen Taylor
7a235648ea More ChangeLog fixups. 1998-08-12 16:53:45 +00:00
Owen Taylor
0346147a0e Removed leftover bits from ChangeLog 1998-08-12 16:50:41 +00:00
Owen Taylor
4af7480f8f Added gdk_text/string_extents() - too calculate all the metrics at once of
Tue Jul 21 12:42:01 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() -
	  too calculate all the metrics at once of a string, including
	  things which weren't calculated before.

	* gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
	  MenuItem type, that when put as the first thing in a
	  menu, makes the menu tearoff. Currently drawn as a
	  dashed line.

	* gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
	  "hide_on_activate" to the MenuItem class structure to allow
	  check and radio buttons to be changed with <Space> without
	  hiding the menu.

	* gtk/gtkaccellabel.[ch]: Added new capabilities to set
	  a underline_group and underline_mods for the label -
	  accelerators added in the underline group matching
	  underline_mods will be displayed as an underline character.

	  This doesn't work - Save As needs to be underlined
	  as Save _As.

	* gtk/gtkitemfactory.c:
	  - Create a AccelGroup for each MenuShell we create.
	  - If an '&' appears before a  character 'c' in the path,
	    then make 'c' an accelerator in the menu's accel group,
	    and if the menuitem is menubar <alt>C an accelerator
	    in the itemfactory's accel group.

	* gtk/gtklabel.[ch]: Add support for a pattern arg -
          which is a string. If an '_' appears in this string,
	  the corresponding position in the label is underlined.

          Add gtk_label_parse_uline() convenience function which
	  takes a string with embedded underlines, sets the
	  pattern and label, and returns the accelerator keyval.

	* gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget.
	  Instead, they create a GtkWindow and add themselves
	  to that. (When torn off, another new feature, they
	  create another GtkWindow to hold the torn off menu)

	  New function gtk_menu_set_tearoff_state()

	* gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h:
	  Added action signals  for keyboard navigation of menus.

	* gtk/gtkmenushell.c: Key press handler which activates
          bindings for navigation, and accelerators, for handling
	  underline accelerators. Exported functions to select
	  and activate menu items in a menushell.

	* gtk/testgtk.c: Added a new "Item Factory" test which
	  tests GtkItemFactory and the new keyboard navigation
	  of menus.
1998-08-12 16:49:13 +00:00
Tim Janik
5d270c2f45 relookup nodes after external functions have been called. also relookup
Tue Aug 11 20:52:58 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after
        external functions have been called. also relookup nodes after
        this function has been invoked.
1998-08-11 19:29:36 +00:00
Owen Taylor
ca7082a04a Removed has_cursor, set the cursor beginning of Text when creating the
Tue Aug 11 15:04:52 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.[ch]: Removed has_cursor, set the cursor
	  beginning of Text when creating the Text widget.

	* gtk/testgtk.c: Grab the focus on the text widget so
	  as to test out the above.

Tue Aug 11 14:55:00 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkeditable.c: Reverted part of timj's change of Jul 16.
	  ::changed is a notification signal and should have no default
	  handler. A complete redraw of the Text widget does _not_ need to
	  be done on every text insertion.

Tue Aug 11 13:07:29 1998  Owen Taylor  <otaylor@redhat.com>
	(gtk-abilleira-072198-patch)

	* gtk/gtkwindow.[ch]:
	  Add gtk_window_set_modal() which sets a flag; when
	  set the window does a gtk_grab_add() when the window
	  is shown, and a gtk_grab_remove() when the window
	  is hidden.

	* gtk/gtkfilesel.[ch]: Test if it is running in modal form and in
	  that case will run "Create Dir","Delete File" and "Rename File"
	  dialogs as modal too.

	* gtk/testgtk.c: Added a button with an example of creating modal
	  dialog boxes. Including file selection and color selection standard
	  dialogs.

Tue Aug 11 00:44:47 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkhscrollbar.c gtk/gtkvscrollbar.c gtk/gtktoolbar.c:
	  Removed CAN_FOCUS by default from scrollbars, button
	  children of toolbar. (But not GDK_TOOLBAR_CHILD_WIDGET children)
	  (Scrollbar definitely good change, toolbar bit more questionable)
1998-08-11 19:06:18 +00:00
Tim Janik
b46f089b6f #include fixes (reported by Asbjoern Pettersen).
Tue Aug 11 17:49:33 1998  Tim Janik  <timj@gtk.org>

        * examples/packbox/packbox.c: #include fixes (reported by Asbjoern
        Pettersen).
1998-08-11 18:27:49 +00:00
Owen Taylor
f6abe64479 Applied gtk-pedersen-980727-0; added all logical operations to
Tue Aug 11 00:35:56 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkgc.c gdk/gdktypes.h: Applied gtk-pedersen-980727-0;
	  added all logical operations to gc->function.
1998-08-11 04:32:14 +00:00
Carsten Haitzler
20661babbf file DUMMY was initially added on branch themes-2. 1998-08-11 03:06:26 +00:00
Carsten Haitzler
1f3c079761 file vline.png was initially added on branch themes-2. 1998-08-11 03:06:24 +00:00
Carsten Haitzler
d7cf38387c file trough.png was initially added on branch themes-2. 1998-08-11 03:06:23 +00:00
Carsten Haitzler
c86201e87e file shadow2.png was initially added on branch themes-2. 1998-08-11 03:06:22 +00:00
Carsten Haitzler
279d363ab2 file shadow1.png was initially added on branch themes-2. 1998-08-11 03:06:21 +00:00
Carsten Haitzler
7d4023e88e file scrollbar_vert1.png was initially added on branch themes-2. 1998-08-11 03:06:20 +00:00
Carsten Haitzler
e2269c4f03 file scrollbar_thumb2.png was initially added on branch themes-2. 1998-08-11 03:06:19 +00:00
Carsten Haitzler
9648fd88b8 file scrollbar_thumb.png was initially added on branch themes-2. 1998-08-11 03:06:18 +00:00
Carsten Haitzler
4ed3aa1cb8 file scrollbar_horiz1.png was initially added on branch themes-2. 1998-08-11 03:06:17 +00:00
Carsten Haitzler
355fbf04b8 file ruler_vert.png was initially added on branch themes-2. 1998-08-11 03:06:16 +00:00
Carsten Haitzler
7f39f122d2 file ruler_horiz.png was initially added on branch themes-2. 1998-08-11 03:06:15 +00:00
Carsten Haitzler
96457c0af4 file progressbar.png was initially added on branch themes-2. 1998-08-11 03:06:13 +00:00
Carsten Haitzler
0b49ebc6f2 file option_menu.png was initially added on branch themes-2. 1998-08-11 03:06:12 +00:00
Carsten Haitzler
b08cdd5c00 file option2.png was initially added on branch themes-2. 1998-08-11 03:06:11 +00:00
Carsten Haitzler
62c2373866 file option1.png was initially added on branch themes-2. 1998-08-11 03:06:10 +00:00
Carsten Haitzler
5baacee740 file hline.png was initially added on branch themes-2. 1998-08-11 03:06:09 +00:00
Carsten Haitzler
ae6489b868 file handle_vert_thumb.png was initially added on branch themes-2. 1998-08-11 03:06:08 +00:00
Carsten Haitzler
bebf5b23fd file gap_top_start.png was initially added on branch themes-2. 1998-08-11 03:06:07 +00:00
Carsten Haitzler
334ad44555 file gap_top_end.png was initially added on branch themes-2. 1998-08-11 03:06:06 +00:00
Carsten Haitzler
bdd1baec35 file gap_top.png was initially added on branch themes-2. 1998-08-11 03:06:05 +00:00
Carsten Haitzler
075c96bc26 file gap_right_start.png was initially added on branch themes-2. 1998-08-11 03:06:04 +00:00
Carsten Haitzler
7f400fd777 file gap_right_end.png was initially added on branch themes-2. 1998-08-11 03:06:03 +00:00
Carsten Haitzler
8e0cab7cba file gap_right.png was initially added on branch themes-2. 1998-08-11 03:06:02 +00:00
Carsten Haitzler
981607d4a0 file gap_left_start.png was initially added on branch themes-2. 1998-08-11 03:06:01 +00:00
Carsten Haitzler
cd14b33a8a file gap_left_end.png was initially added on branch themes-2. 1998-08-11 03:05:59 +00:00
Carsten Haitzler
99fee10fe1 file gap_left.png was initially added on branch themes-2. 1998-08-11 03:05:58 +00:00
Carsten Haitzler
c9122881c8 file gap_bottom_start.png was initially added on branch themes-2. 1998-08-11 03:05:57 +00:00
Carsten Haitzler
0bff0b31cb file gap_bottom_end.png was initially added on branch themes-2. 1998-08-11 03:05:56 +00:00
Carsten Haitzler
78280d9de0 file gap_bottom.png was initially added on branch themes-2. 1998-08-11 03:05:55 +00:00
Carsten Haitzler
2109f32cfa file frame_gap_top_start.png was initially added on branch themes-2. 1998-08-11 03:05:54 +00:00
Carsten Haitzler
90eca42b09 file frame_gap_top_end.png was initially added on branch themes-2. 1998-08-11 03:05:53 +00:00
Carsten Haitzler
2fe4312b12 file frame_gap.png was initially added on branch themes-2. 1998-08-11 03:05:52 +00:00
Carsten Haitzler
9aac2c5a1f file frame2.png was initially added on branch themes-2. 1998-08-11 03:05:51 +00:00
Carsten Haitzler
884770db85 file frame1.png was initially added on branch themes-2. 1998-08-11 03:05:50 +00:00
Carsten Haitzler
0caf9d85a5 file focus.png was initially added on branch themes-2. 1998-08-11 03:05:49 +00:00
Carsten Haitzler
853ec8ef22 file extension_top1.png was initially added on branch themes-2. 1998-08-11 03:05:48 +00:00
Carsten Haitzler
2be1b69313 file extension_right1.png was initially added on branch themes-2. 1998-08-11 03:05:47 +00:00
Carsten Haitzler
59f64fa998 file extension_left1.png was initially added on branch themes-2. 1998-08-11 03:05:46 +00:00
Carsten Haitzler
a77eacb2a1 file extension_bottom1.png was initially added on branch themes-2. 1998-08-11 03:05:45 +00:00