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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkentrycompletion.pre:13:   //! int popup-completion   //! int text-column   endrequire;      signal action_activated;   require gtk26;   signal insert_prefix;   endrequire;   signal match_selected;    - void create(); + void create(?mapping(string:mixed) props)   //! Creates a new widget. -  + { +  pgtk_verify_not_inited(); +  pgtk_verify_setup(); +  if (args) { +  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();   //! 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();
pike.git/src/post_modules/GTK2/source/gtkentrycompletion.pre:91:   //! Sets 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 + //! width as the entry. +  + int get_popup_set-width(); + //! Returns whether the completion popup window will be resized to the width + //! of the entry. +  + void set_popup_single_match(int setting); + //! Sets whether the completion popup window will appear even if there is only + //! a single match. YOu may want to set this to 0 if you are using inline + //! completion. +  + int get_popup_single_match(); + //! Returns whether the completion popup window will appear even if there is + //! only a single match. + endrequire; +    #include "gtkcelllayout.inc"      endrequire;