App
Object Hierarchy:
Description:
[
CCode ( type_id =
"messaging_menu_app_get_type ()" ) ]
public class App :
Object
App is an opaque structure.
Content:
Properties:
Creation methods:
Methods:
- public void append_message (Message msg, string? source_id, bool notify)
Appends msg to the source with id source_id
of this.
- public void append_source (string id, Icon? icon, string label)
Appends a new message source to the end of the section representing
this.
- public void append_source_with_count (string id, Icon? icon, string label, uint count)
Appends a new message source to the end of the section representing
this and initializes it with count.
- public void append_source_with_string (string id, Icon? icon, string label, string str)
Appends a new message source to the end of the section representing
this and initializes it with str.
- public void append_source_with_time (string id, Icon? icon, string label, int64 time)
Appends a new message source to the end of the section representing
this and initializes it with time.
- public void draw_attention (string source_id)
Indicates that source_id has important unread messages.
- public unowned Message? get_message (string id)
- public bool has_source (string source_id)
- public void insert_source (int position, string id, Icon icon, string label)
Inserts a new message source into the section representing
this.
- public void insert_source_with_count (int position, string id, Icon? icon, string label, uint count)
Inserts a new message source into the section representing
this and initializes it with count.
- public void insert_source_with_string (int position, string id, Icon? icon, string label, string str)
Inserts a new message source into the section representing
this and initializes it with str.
- public void insert_source_with_time (int position, string id, Icon? icon, string label, int64 time)
Inserts a new message source into the section representing
this and initializes it with time.
- public void register ()
Registers this with the Messaging
Menu.
- public void remove_attention (string source_id)
Stop indicating that source_id needs attention.
- public void remove_message (Message msg)
Removes msg from this.
- public void remove_message_by_id (string id)
Removes the message with the id id from
this.
- public void remove_source (string source_id)
Removes the source corresponding to source_id from the
menu.
- public void set_source_count (string source_id, uint count)
Updates the count of source_id to count.
- public void set_source_icon (string source_id, Icon? icon)
Changes the icon of source_id to icon.
- public void set_source_label (string source_id, string label)
Changes the label of source_id to label.
- public void set_source_string (string source_id, string str)
Updates the string displayed next to source_id to
str.
- public void set_source_time (string source_id, int64 time)
Updates the time of source_id to time.
- public void set_status (Status status)
Notify the Messaging Menu that the chat status of
this has changed to status.
- public void unregister ()
Completely removes the this from the
Messaging Menu.
Signals:
Inherited Members:
All known members inherited from class GLib.Object