diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-06-20 23:29:19 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-06-20 23:29:19 +0000 |
commit | 5830bf89b5bb3eb48fa84ed690a726be3a82e129 (patch) | |
tree | ffccd98b302bb7b4e18bc2acca6500d5f4cfe648 /docs/reference | |
parent | 4251a51edc15c41799d87d3e26761c2064507df6 (diff) | |
download | gdk-pixbuf-5830bf89b5bb3eb48fa84ed690a726be3a82e129.tar.gz |
Add a singleton object that we can use to get notification when displays
Thu Jun 20 16:49:00 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c
gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c
gdk/win32/gdkdisplay-win32.c: Add a singleton object that
we can use to get notification when displays
appear / disappear or the default display changes.
gdk_set_default_display() => gdk_display_manager_set_default_display()
gdk_list_displays() => gdk_display_manager_list_displays().
(#85696)
* gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler
generation.
* gdk/gdkintl.h: Add this.
* gtk/gtkmain.c: Add gtk_parse_args() that initializes
GTK+ without opening a display.
* gtk/gtkmain.c: Set things up so if a module
exports gtk_module_init() and gtk_module_display_init(),
then we treat it as multihead aware, otherwise,
we only initialize it after the default display is set.
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/gtk/tmpl/gtk-unused.sgml | 9 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkfilesel.sgml | 4 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkmain.sgml | 19 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkstyle.sgml | 10 |
4 files changed, 14 insertions, 28 deletions
diff --git a/docs/reference/gtk/tmpl/gtk-unused.sgml b/docs/reference/gtk/tmpl/gtk-unused.sgml index 143d5ddb6..4d2776cfb 100644 --- a/docs/reference/gtk/tmpl/gtk-unused.sgml +++ b/docs/reference/gtk/tmpl/gtk-unused.sgml @@ -2830,6 +2830,15 @@ Creates a border around the arrows of a #GtkSpinButton. The type of border is de @Returns: +<!-- ##### FUNCTION gtk_style_get_font_for_display ##### --> +<para> + +</para> + +@display: +@style: +@Returns: + <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### --> <para> diff --git a/docs/reference/gtk/tmpl/gtkfilesel.sgml b/docs/reference/gtk/tmpl/gtkfilesel.sgml index 817609512..a426eb3e7 100644 --- a/docs/reference/gtk/tmpl/gtkfilesel.sgml +++ b/docs/reference/gtk/tmpl/gtkfilesel.sgml @@ -135,8 +135,8 @@ Creates a new file selection dialog box. By default it will contain a #GtkCList <para> </para> -@filesel: -@filename: +@filesel: +@filename: <!-- ##### FUNCTION gtk_file_selection_get_filename ##### --> diff --git a/docs/reference/gtk/tmpl/gtkmain.sgml b/docs/reference/gtk/tmpl/gtkmain.sgml index 9e96f7bb5..885a793d9 100644 --- a/docs/reference/gtk/tmpl/gtkmain.sgml +++ b/docs/reference/gtk/tmpl/gtkmain.sgml @@ -106,27 +106,15 @@ functions such as g_signal_connect(). <!-- ##### FUNCTION gtk_init ##### --> <para> -Call this function before using any other GTK+ functions in your GUI -applications. It will initialize everything needed to operate the toolkit and -parses some standard command line options. <parameter>argc</parameter> and -<parameter>argv</parameter> are adjusted accordingly so your own code will -never see those standard arguments. </para> <note> <para> -This function will terminate your program if it was unable to initialize -the GUI for some reason. If you want your program to fall back to a -textual interface you want to call gtk_init_check() instead. </para> </note> -@argc: Address of the <parameter>argc</parameter> parameter of your -<function>main</function> function. Changed if any arguments were -handled. -@argv: Address of the <parameter>argv</parameter> parameter of -<function>main()</function>. Any parameters understood by gtk_init() -are stripped before return. +@argc: +@argv: <!-- ##### FUNCTION gtk_init_check ##### --> @@ -144,8 +132,7 @@ with the user - for example a curses or command line interface. <function>main()</function> function. @argv: A reference to the <parameter>argv</parameter> of the <function>main()</function> function. -@Returns: %TRUE if the GUI has been successfully initialized, -%FALSE otherwise. +@Returns: <!-- ##### FUNCTION gtk_exit ##### --> diff --git a/docs/reference/gtk/tmpl/gtkstyle.sgml b/docs/reference/gtk/tmpl/gtkstyle.sgml index 0275f4ef3..2f2fb10f6 100644 --- a/docs/reference/gtk/tmpl/gtkstyle.sgml +++ b/docs/reference/gtk/tmpl/gtkstyle.sgml @@ -179,16 +179,6 @@ Returns whether the style is attached to a window. @Returns: -<!-- ##### FUNCTION gtk_style_get_font_for_display ##### --> -<para> - -</para> - -@display: -@style: -@Returns: - - <!-- ##### FUNCTION gtk_style_set_font ##### --> <para> |