Havoc Pennington
1c9f0c0bac
create some stock buttons with the default accel group (create_image):
...
2000-10-04 Havoc Pennington <hp@redhat.com>
* gtk/testgtk.c (create_buttons): create some stock buttons
with the default accel group
(create_image): test some new GtkImage features
(make_message_dialog): test GtkMessageDialog
(create_modal_window): fix someone's bizzarro indentation
* gtk/gtkwindow.h, gtk/gtkwindow.c: Implement
GTK_WIN_POS_CENTER_ON_PARENT.
Add "destroy with parent" setting, which means the window goes
away with its transient parent.
(gtk_window_get_default_accel_group): get the default accel group
for the window.
(gtk_window_set_destroy_with_parent): set/unset destroy with
parent flag
(gtk_window_read_rcfiles): invalidate icon set caches
after reloading rcfiles
* gtk/gtkenums.h (GtkWindowPosition): add
GTK_WIN_POS_CENTER_ON_PARENT, which centers a dialog
on its parent window when the dialog is mapped for the first time.
* gtk/gtkmessagedialog.h, gtk/gtkmessagedialog.c: Add
a simple message dialog class
* gtk/gtkdialog.c (gtk_dialog_init): Connect delete event
handler to emit response signal, and maybe later it would
honor a hide_on_delete flag - though that isn't there yet.
Set border width on the vbox to 2, so we get some padding.
Use a button box for the action area.
(gtk_dialog_key_press): synthesize a delete event if Esc
is pressed and the GtkWidget key press handler didn't
handle the escape key.
(gtk_dialog_new_with_buttons): new function creates a dialog
with some default buttons in it.
(gtk_dialog_add_action_widget): add an activatable widget
as a button in the dialog - you can also add a non-activatable
widget by accessing the action area directly.
(gtk_dialog_add_button): add a simple button - stock ID or
label - to the action area
(gtk_dialog_response): emit response signal
(gtk_dialog_run): block waiting for the dialog, return
the response. Override normal delete_event behavior, so that
delete_event does nothing inside gtk_dialog_run().
* gtk/gtkdialog.h, gtk/gtkdialog.c: Add "response" signal
emitted when an action widget is clicked or the dialog gets
delete_event
* gtk/gtk.h: add gtkmessagedialog.h
* gtk/Makefile.am: add gtkmessagedialog.[hc]
2000-10-20 Havoc Pennington <hp@redhat.com>
* gtk/gtk-sections.txt: Add dialog docs
2000-10-20 23:14:41 +00:00
..
gtk-unused.sgml
create some stock buttons with the default accel group (create_image):
2000-10-20 23:14:41 +00:00
gtkaccelgroup.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkaccellabel.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkadjustment.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkalignment.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkarg.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkarrow.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkaspectframe.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkbbox.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkbin.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkbindings.sgml
Initial revision
1999-08-16 18:51:52 +00:00
gtkbox.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkbutton.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkcalendar.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkcheckbutton.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkcheckmenuitem.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkclipboard.sgml
Updates for new functions
2000-09-14 16:39:16 +00:00
gtkclist.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkcolorsel.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkcolorseldlg.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkcombo.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkcontainer.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkctree.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkcurve.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkdata.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkdialog.sgml
create some stock buttons with the default accel group (create_image):
2000-10-20 23:14:41 +00:00
gtkdnd.sgml
Fix corrupted end tag.
1999-08-17 13:10:00 +00:00
gtkdrawingarea.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkeditable.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkentry.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkenums.sgml
create some stock buttons with the default accel group (create_image):
2000-10-20 23:14:41 +00:00
gtkeventbox.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkfeatures.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkfilesel.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkfixed.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkfontsel.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkfontseldlg.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkframe.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkgamma.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkgc.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhandlebox.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkhbbox.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhbox.sgml
fixed minor error - using <em>.
1999-11-16 00:33:10 +00:00
gtkhpaned.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhruler.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhscale.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhscrollbar.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhseparator.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkimage.sgml
partially written documentation from Paul Schifferer
1999-09-25 09:20:23 +00:00
gtkimcontext.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkimmulticontext.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkinputdialog.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkinvisible.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkitem.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkitemfactory.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtklabel.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtklayout.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtklist.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtklistitem.sgml
new menu item sections and minor update to notebook section from Nicolas
2000-02-28 21:39:41 +00:00
gtkmain.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkmarshal.sgml
Missing </listitem>, remove extra <para> dos2unix missing </para>
2000-01-05 15:04:23 +00:00
gtkmenu.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkmenubar.sgml
fixed minor error - using <em>.
1999-11-16 00:33:10 +00:00
gtkmenufactory.sgml
Initial revision
1999-08-16 18:51:52 +00:00
gtkmenuitem.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkmenushell.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkmisc.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtknotebook.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkobject.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkoptionmenu.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkpacker.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkpaned.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkpixmap.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkplug.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkpreview.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkprogress.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkprogressbar.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkradiobutton.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkradiomenuitem.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkrange.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkrc.sgml
create some stock buttons with the default accel group (create_image):
2000-10-20 23:14:41 +00:00
gtkruler.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkscale.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkscrollbar.sgml
Started.
2000-01-19 20:14:49 +00:00
gtkscrolledwindow.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkselection.sgml
Some updates
2000-10-18 18:42:54 +00:00
gtkseparator.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtksignal.sgml
Missing </listitem>, remove extra <para> dos2unix missing </para>
2000-01-05 15:04:23 +00:00
gtksocket.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkspinbutton.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkstatusbar.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkstyle.sgml
Some updates
2000-10-18 18:42:54 +00:00
gtktable.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtktearoffmenuitem.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtktext.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtktextbuffer.sgml
Some updates
2000-10-18 18:42:54 +00:00
gtktextiter.sgml
Some updates
2000-10-18 18:42:54 +00:00
gtktextmark.sgml
create some stock buttons with the default accel group (create_image):
2000-10-20 23:14:41 +00:00
gtktexttag.sgml
Some updates
2000-10-18 18:42:54 +00:00
gtktexttagtable.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtktextview.sgml
Some updates
2000-10-18 18:42:54 +00:00
gtkthemes.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtktipsquery.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtktogglebutton.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtktoolbar.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtktooltips.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtktree.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtktreeitem.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtktypeutils.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkvbbox.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkvbox.sgml
fixed minor error - using <em>.
1999-11-16 00:33:10 +00:00
gtkviewport.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkvpaned.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkvruler.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkvscale.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkvscrollbar.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkvseparator.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkwidget.sgml
Some updates
2000-10-18 18:42:54 +00:00
gtkwindow.sgml
create some stock buttons with the default accel group (create_image):
2000-10-20 23:14:41 +00:00