pike.git / src / post_modules / GTK2 / source / gtkentrycompletion.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkentrycompletion.pre:6:   inherit GTK2.CellLayout;      //! Properties:   require gtk26;   //! int inline-completion   endrequire;   //! int minimum-key-length   //! GTK2.TreeModel model   require gtk26;   //! int popup-completion + require gtk28; + //! int popup-single-match + endrequire;   //! int text-column   endrequire;      signal action_activated;   require gtk26;   signal insert_prefix;   endrequire;   signal match_selected;      void create(?mapping(string:mixed) props)
pike.git/src/post_modules/GTK2/source/gtkentrycompletion.pre:31:    INIT_WITH_PROPS(GTK_TYPE_ENTRY_COMPLETION);    my_pop_n_elems(args);    } else {    GtkEntryCompletion *ge;    ge=gtk_entry_completion_new();    THIS->obj=G_OBJECT(ge);    }    pgtk__init_this_object();   }    - GTK2.Widget get_entry(); + +GTK2.Widget get_entry();   //! Gets the entry this widget has been attached to.      void set_model(?GTK2.TreeModel model)   //! Sets the model. If this completion already has a model set, it will   //! remove it before setting the new model. If omitted it will unset the   //! model.   {    pgtk_verify_inited();    if (args) {    struct object *o1;    get_all_args("set_model",args,"%o",&o1);    gtk_entry_completion_set_model(GTK_ENTRY_COMPLETION(THIS->obj),    GTK_TREE_MODEL(get_gobject(o1)));    } else {    gtk_entry_completion_set_model(GTK_ENTRY_COMPLETION(THIS->obj),NULL);    }    RETURN_THIS();   }    - GTK2.TreeModel get_model(); + +GTK2.TreeModel get_model();   //! Returns the model being used as the data source.      void set_minimum_key_length(int length);   //! Requires the length of the search key to be at least length long. This is   //! useful for long lists, where completing using a small key takes a lot of   //! time and will come up with meaningless results anyway (i.e. a too large   //! dataset).      int get_minimum_key_length();   //! Returns the minimum key length.
pike.git/src/post_modules/GTK2/source/gtkentrycompletion.pre:99:   //! and to get those strings from column column in the model.      require gtk26;   int get_text_column();   //! Returns the column in the model to get strings from.      void set_inline_completion(int inline_completion);   //! Sets whether the common prefix of the possible completions should be   //! automatically inserted in the entry.    + int get_inline_completion(); + //! Returns whether the common prefix of the possible completions should be + //! automatically inserted in the entry. +    void set_popup_completion(int setting);   //! Sets whether the completions should be presented in a popup window.      int get_popup_completion();   //! Returns whether completions should be presented in a popup window.   endrequire;      require gtk28;   void set_popup_set_width(int setting);   //! Sets whether the completion popup window will be resized to be the same