]> git.0d.be Git - empathy.git/blobdiff - python/pyempathygtk/pyempathygtk.defs
Update python binding
[empathy.git] / python / pyempathygtk / pyempathygtk.defs
index f506760433a414065a09b2c48e606b1609283b59..d751527027ca51930691724391428d8d1808ee0e 100644 (file)
@@ -44,7 +44,7 @@
 
 (define-object Chat
   (in-module "Empathy")
 
 (define-object Chat
   (in-module "Empathy")
-  (parent "GObject")
+  (parent "GtkBin")
   (c-name "EmpathyChat")
   (gtype-id "EMPATHY_TYPE_CHAT")
 )
   (c-name "EmpathyChat")
   (gtype-id "EMPATHY_TYPE_CHAT")
 )
   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
 )
 
   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
 )
 
-(define-object GroupChat
-  (in-module "Empathy")
-  (parent "EmpathyChat")
-  (c-name "EmpathyGroupChat")
-  (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
-)
-
 (define-object PresenceChooser
   (in-module "Empathy")
   (parent "GtkToggleButton")
 (define-object PresenceChooser
   (in-module "Empathy")
   (parent "GtkToggleButton")
   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
 )
 
   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
 )
 
-(define-object PrivateChat
-  (in-module "Empathy")
-  (parent "EmpathyChat")
-  (c-name "EmpathyPrivateChat")
-  (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
-)
-
 (define-object SmileyManager
   (in-module "Empathy")
   (parent "GObject")
 (define-object SmileyManager
   (in-module "Empathy")
   (parent "GObject")
   (return-type "GType")
 )
 
   (return-type "GType")
 )
 
-(define-method get_view
-  (of-object "EmpathyChat")
-  (c-name "empathy_chat_get_view")
-  (return-type "EmpathyChatView*")
-)
-
-(define-method clear
-  (of-object "EmpathyChat")
-  (c-name "empathy_chat_clear")
-  (return-type "none")
+(define-function empathy_chat_new
+  (c-name "empathy_chat_new")
+  (is-constructor-of "EmpathyChat")
+  (return-type "EmpathyChat*")
+  (parameters
+    '("EmpathyTpChat*" "tp_chat")
+  )
 )
 
 )
 
-(define-method scroll_down
+(define-method get_tp_chat
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_scroll_down")
-  (return-type "none")
+  (c-name "empathy_chat_get_tp_chat")
+  (return-type "EmpathyTpChat*")
 )
 
 )
 
-(define-method cut
+(define-method set_tp_chat
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_cut")
+  (c-name "empathy_chat_set_tp_chat")
   (return-type "none")
   (return-type "none")
+  (parameters
+    '("EmpathyTpChat*" "tp_chat")
+  )
 )
 
 )
 
-(define-method copy
+(define-method get_account
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_copy")
-  (return-type "none")
+  (c-name "empathy_chat_get_account")
+  (return-type "McAccount*")
 )
 
 )
 
-(define-method paste
+(define-method get_id
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_paste")
-  (return-type "none")
+  (c-name "empathy_chat_get_id")
+  (return-type "const-gchar*")
 )
 
 (define-method get_name
 )
 
 (define-method get_name
   (return-type "const-gchar*")
 )
 
   (return-type "const-gchar*")
 )
 
-(define-method get_tooltip
+(define-method get_subject
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_get_tooltip")
-  (return-type "gchar*")
-)
-
-(define-method get_status_icon_name
-  (of-object "EmpathyChat")
-  (c-name "empathy_chat_get_status_icon_name")
+  (c-name "empathy_chat_get_subject")
   (return-type "const-gchar*")
 )
 
   (return-type "const-gchar*")
 )
 
-(define-method get_widget
-  (of-object "EmpathyChat")
-  (c-name "empathy_chat_get_widget")
-  (return-type "GtkWidget*")
-)
-
-(define-method is_group_chat
-  (of-object "EmpathyChat")
-  (c-name "empathy_chat_is_group_chat")
-  (return-type "gboolean")
-)
-
-(define-method is_connected
-  (of-object "EmpathyChat")
-  (c-name "empathy_chat_is_connected")
-  (return-type "gboolean")
-)
-
-(define-method save_geometry
+(define-method clear
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_save_geometry")
+  (c-name "empathy_chat_clear")
   (return-type "none")
   (return-type "none")
-  (parameters
-    '("gint" "x")
-    '("gint" "y")
-    '("gint" "w")
-    '("gint" "h")
-  )
 )
 
 )
 
-(define-method load_geometry
+(define-method scroll_down
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_load_geometry")
+  (c-name "empathy_chat_scroll_down")
   (return-type "none")
   (return-type "none")
-  (parameters
-    '("gint*" "x")
-    '("gint*" "y")
-    '("gint*" "w")
-    '("gint*" "h")
-  )
 )
 
 )
 
-(define-method set_tp_chat
+(define-method cut
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_set_tp_chat")
+  (c-name "empathy_chat_cut")
   (return-type "none")
   (return-type "none")
-  (parameters
-    '("EmpathyTpChat*" "tp_chat")
-  )
 )
 
 )
 
-(define-method get_id
+(define-method copy
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_get_id")
-  (return-type "const-gchar*")
+  (c-name "empathy_chat_copy")
+  (return-type "none")
 )
 
 )
 
-(define-method get_account
+(define-method paste
   (of-object "EmpathyChat")
   (of-object "EmpathyChat")
-  (c-name "empathy_chat_get_account")
-  (return-type "McAccount*")
-)
-
-(define-function empathy_chat_get_is_command
-  (c-name "empathy_chat_get_is_command")
-  (return-type "gboolean")
-  (parameters
-    '("const-gchar*" "str")
-  )
+  (c-name "empathy_chat_paste")
+  (return-type "none")
 )
 
 (define-method correct_word
 )
 
 (define-method correct_word
   )
 )
 
   )
 )
 
-(define-method should_play_sound
-  (of-object "EmpathyChat")
-  (c-name "empathy_chat_should_play_sound")
-  (return-type "gboolean")
-)
-
-(define-function empathy_chat_should_highlight_nick
-  (c-name "empathy_chat_should_highlight_nick")
-  (return-type "gboolean")
-  (parameters
-    '("EmpathyMessage*" "message")
-  )
-)
-
 
 
 ;; From empathy-irc-network-dialog.h
 
 
 ;; From empathy-irc-network-dialog.h
   )
 )
 
   )
 )
 
+(define-function empathy_account_widget_sip_new
+  (c-name "empathy_account_widget_sip_new")
+  (is-constructor-of "EmpathyAccountWidgetSip")
+  (return-type "GtkWidget*")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
+(define-function empathy_account_widget_groupwise_new
+  (c-name "empathy_account_widget_groupwise_new")
+  (is-constructor-of "EmpathyAccountWidgetGroupwise")
+  (return-type "GtkWidget*")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
 
 
 ;; From empathy-conf.h
 
 
 ;; From empathy-conf.h
   (return-type "GType")
 )
 
   (return-type "GType")
 )
 
-(define-method store_new
-  (of-object "EmpathyContactList")
+(define-function empathy_contact_list_store_new
+  (is-constructor-of "EmpathyContactListStore")
   (c-name "empathy_contact_list_store_new")
   (return-type "EmpathyContactListStore*")
   (c-name "empathy_contact_list_store_new")
   (return-type "EmpathyContactListStore*")
+  (parameters
+    '("EmpathyContactList*" "list_iface")
+  )
 )
 
 (define-method get_list_iface
 )
 
 (define-method get_list_iface
 
 
 
 
 
 
-;; From empathy-private-chat.h
-
-(define-function empathy_private_chat_get_type
-  (c-name "empathy_private_chat_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_private_chat_new
-  (c-name "empathy_private_chat_new")
-  (is-constructor-of "EmpathyPrivateChat")
-  (return-type "EmpathyPrivateChat*")
-  (parameters
-    '("EmpathyTpChat*" "tp_chat")
-  )
-)
-
-(define-method get_contact
-  (of-object "EmpathyPrivateChat")
-  (c-name "empathy_private_chat_get_contact")
-  (return-type "EmpathyContact*")
-)
-
-
-
 ;; From empathy-ui-utils.h
 
 (define-function empathy_glade_get_file_simple
 ;; From empathy-ui-utils.h
 
 (define-function empathy_glade_get_file_simple
 
 
 
 
 
 
-;; From empathy-group-chat.h
-
-(define-function empathy_group_chat_get_type
-  (c-name "empathy_group_chat_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_group_chat_new
-  (c-name "empathy_group_chat_new")
-  (is-constructor-of "EmpathyGroupChat")
-  (return-type "EmpathyGroupChat*")
-  (parameters
-    '("EmpathyTpChatroom*" "tp_chat")
-  )
-)
-
-(define-method get_show_contacts
-  (of-object "EmpathyGroupChat")
-  (c-name "empathy_group_chat_get_show_contacts")
-  (return-type "gboolean")
-)
-
-(define-method set_show_contacts
-  (of-object "EmpathyGroupChat")
-  (c-name "empathy_group_chat_set_show_contacts")
-  (return-type "none")
-  (parameters
-    '("gboolean" "show")
-  )
-)
-
-(define-method set_topic
-  (of-object "EmpathyGroupChat")
-  (c-name "empathy_group_chat_set_topic")
-  (return-type "none")
-)
-
-
-
 ;; From empathy-spell.h
 
 (define-function empathy_spell_supported
 ;; From empathy-spell.h
 
 (define-function empathy_spell_supported