Editing Documentation/Maemo 5 Developer Guide/Architecture/UI Framework

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 6: Line 6:
{| class="wikitable"
{| class="wikitable"
-
|+ Subsystems in UI framework domain
 
-
|-
 
! Subsystem !! Function
! Subsystem !! Function
|-
|-
Line 43: Line 41:
====Low memory and background killing D-Bus signals====
====Low memory and background killing D-Bus signals====
-
The hildon-desktop process will listen to D-Bus signals warning about low-memory (RAM) situation (preventing starting of new applications) and signals suggesting starting background killing of applications that are running in the background. These signals are broadcast on the system bus by the hulda daemon (of [[Documentation/Maemo 5 Developer Guide/Architecture/Data Management|Data Management]]). Only the applications that have told hildon-desktop that they can be background killed are considered for background killing. The property is set with the <code>hildon_program_set_can_hibernate()</code> function in the libhildon1 library.
+
The hildon-desktop process will listen to D-Bus signals warning about low-memory (RAM) situation (preventing starting of new applications) and signals suggesting starting background killing of applications that are running in the background. These signals are broadcast on the system bus by the hulda daemon (of Data Management). Only the applications that have told hildon-desktop that they can be background killed are considered for background killing. The property is set with the <code>hildon_program_set_can_hibernate()</code> function in the libhildon1 library.
The background killing signals are defined as follows:
The background killing signals are defined as follows:
{| class="wikitable"
{| class="wikitable"
-
|+ Background kill state on
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 62: Line 58:
{| class="wikitable"
{| class="wikitable"
-
|+ Background kill state off
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 78: Line 72:
{| class="wikitable"
{| class="wikitable"
-
|+ Low-memory background kill state on
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 92: Line 84:
{| class="wikitable"
{| class="wikitable"
-
|+ Low-memory background kill state off
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 107: Line 97:
====D-Bus signal for closing applications====
====D-Bus signal for closing applications====
-
The hildon-desktop process will listen to the <code>exit</code> D-Bus signal. When it catches the signal, it sends the (POSIX) <code>TERM</code> signal to all running windowed applications. This is used by the [[Documentation/Maemo 5 Developer Guide/Using Generic Platform Components/Using Backup Application|Backup application]] before restoring backed up data and settings, Backup itself can ignore the <code>TERM</code> signal. The signal is not meant to be used outside of the application framework.  
+
The hildon-desktop process will listen to the <code>exit</code> D-Bus signal. When it catches the signal, it sends the (POSIX) <code>TERM</code> signal to all running windowed applications. This is used by the Backup application before restoring backed up data and settings, Backup itself can ignore the <code>TERM</code> signal. The signal is not meant to be used outside of the application framework.  
{|class="wikitable"
{|class="wikitable"
-
|+ Exit signal
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 128: Line 116:
{| class="wikitable"
{| class="wikitable"
-
|+ Application died signal
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 142: Line 128:
{| class="wikitable"
{| class="wikitable"
-
|+ Application died signal arguments
 
-
|-
 
! Argument # !! Mandatory !! Type !! Value
! Argument # !! Mandatory !! Type !! Value
|-
|-
Line 162: Line 146:
{| class="wikitable"
{| class="wikitable"
-
|+ D-Bus API to switch from fullscreen view to task switcher
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 180: Line 162:
{| class="wikitable"
{| class="wikitable"
-
|+ Shutdown signal
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 205: Line 185:
====Full screen mode====
====Full screen mode====
-
Applications can request to go in and out of the full screen mode by using the <code>gtk_window_fullscreen()</code> and <code>gtk_window_unfullscreen()</code> functions. The WM will see the desired mode from a window property. See the [http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-fullscreen GTK+ documentation] for more information.
+
Applications can request to go in and out of the full screen mode by using the <code>gtk window_fullscreen()</code> and <code>gtk window unfullscreen()</code> functions. The WM will see the desired mode from a window property. See the [http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-fullscreen Gtk+ documentation] for more information.
==hildon-home==
==hildon-home==
Line 230: Line 210:
{| class="wikitable"
{| class="wikitable"
-
|+ System information banner D-Bus API
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 244: Line 222:
{| class="wikitable"
{| class="wikitable"
-
|+ System information banner D-Bus API arguments
 
-
|-
 
! Argument # !! Mandatory !! Type !! Value
! Argument # !! Mandatory !! Type !! Value
|-
|-
Line 258: Line 234:
{| class="wikitable"
{| class="wikitable"
-
|+ System information note D-Bus API
 
-
|-
 
! Attribute !! Value
! Attribute !! Value
|-
|-
Line 270: Line 244:
| member || <code>SystemNoteDialog</code>
| member || <code>SystemNoteDialog</code>
|}
|}
 +
{| class="wikitable"
{| class="wikitable"
-
|+ System information note D-Bus API arguments
 
-
|-
 
! Argument # !! Mandatory !! Type !! Value
! Argument # !! Mandatory !! Type !! Value
|-
|-

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)