pidgin/gtkutils.h

changeset 20036
3bdbea94ad0c
parent 19862
3aa48ac21c45
child 20147
66f05a854eee
equal deleted inserted replaced
20022:534563e21bd4 20036:3bdbea94ad0c
656 * 656 *
657 * @param first_index first integer 657 * @param first_index first integer
658 * @param ... list of integers terminated by -1 658 * @param ... list of integers terminated by -1
659 * 659 *
660 * @return A newly created GtkTreePath. 660 * @return A newly created GtkTreePath.
661 *
662 */ 661 */
663 GtkTreePath *gtk_tree_path_new_from_indices (gint first_index, ...); 662 GtkTreePath *gtk_tree_path_new_from_indices (gint first_index, ...);
664 #endif 663 #endif
665 664
665 /**
666 * Create a simple text GtkComboBoxEntry equivalent
667 *
668 * @param default_item Initial contents of GtkEntry
669 * @param items GList containing strings to add to GtkComboBox
670 *
671 * @return A newly created text GtkComboBox containing a GtkEntry
672 * child.
673 */
674 GtkWidget *pidgin_text_combo_box_entry_new(const char *default_item, GList *items);
675
676 /**
677 * Retrieve the text from the entry of the simple text GtkComboBoxEntry equivalent
678 *
679 * @param widget The simple text GtkComboBoxEntry equivalent widget
680 *
681 * @return The text in the widget's entry. It must not be freed
682 */
683 const char *pidgin_text_combo_box_entry_get_text(GtkWidget *widget);
684
685 /**
686 * Set the text in the entry of the simple text GtkComboBoxEntry equivalent
687 *
688 * @param widget The simple text GtkComboBoxEntry equivalent widget
689 * @param text The text to set
690 */
691 void pidgin_text_combo_box_entry_set_text(GtkWidget *widget, const char *text);
692
666 #endif /* _PIDGINUTILS_H_ */ 693 #endif /* _PIDGINUTILS_H_ */
667 694

mercurial