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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkiconsource.pre:130:   //! Sets the text direction this icon source is intended to be used with.   //! <p>   //! Setting the text direction on an icon source makes no difference if the   //! text direction is wildcarded. Therefore, you should usually call   //! set_direction_wildcarded() to un-wildcard it in addition to calling this   //! function.   {    pgtk2_verify_inited();    {    INT_TYPE dir; -  get_all_args("set_direction",args,"%i",&dir); +  get_all_args(NULL,args,"%i",&dir);    gtk_icon_source_set_direction((GtkIconSource *)THIS->obj,dir);    }    RETURN_THIS();   }      void set_direction_wildcarded(int setting)   //! If the text direction is wildcarded, this source can be used as the base   //! image for an icon in any text direction. If the text direction is not   //! wildcarded, then the text direction the icon source applies to should be   //! set with set_direction(), and the icon source will only be used with that   //! text direction.   //! <p>   //! GTK2.IconSet prefers non-wildcarded sources (exact matches) over wildcarded   //! sources, and will use an exact match when possible.   {    pgtk2_verify_inited();    {    INT_TYPE set; -  get_all_args("set_direction_wildcarded",args,"%i",&set); +  get_all_args(NULL,args,"%i",&set);    gtk_icon_source_set_direction_wildcarded((GtkIconSource *)THIS->obj,set);    }    RETURN_THIS();   }      void set_filename(string filename)   //! Sets the name of an image file to use as a base image when creating icon   //! variants for GTK2.IconSet. The filename must be absolute.   {    pgtk2_verify_inited();    {    char *file; -  get_all_args("set_filename",args,"%s",&file); +  get_all_args(NULL,args,"%s",&file);    gtk_icon_source_set_filename((GtkIconSource *)THIS->obj,file);    }    RETURN_THIS();   }      void set_pixbuf(GDK2.Pixbuf pixbuf)   //! Sets a pixbuf to use as a base image.   {    pgtk2_verify_inited();    {    struct object *o1; -  get_all_args("set_pixbuf",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    gtk_icon_source_set_pixbuf((GtkIconSource *)THIS->obj,    GDK_PIXBUF(get_gobject(o1)));    }    RETURN_THIS();   }      require gtk24;   void set_icon_name(string name)   //! Sets the name of an icon to look up in the current icon theme to use as a   //! base image.   {    pgtk2_verify_inited();    {    char *name; -  get_all_args("set_icon_name",args,"%s",&name); +  get_all_args(NULL,args,"%s",&name);    gtk_icon_source_set_icon_name((GtkIconSource *)THIS->obj,name);    }    RETURN_THIS();   }   endrequire;      void set_size(int size)   //! Sets the icon size this icon source is intended to be with.   {    pgtk2_verify_inited();    {    INT_TYPE size; -  get_all_args("set_size",args,"%i",&size); +  get_all_args(NULL,args,"%i",&size);    gtk_icon_source_set_size((GtkIconSource *)THIS->obj,size);    }    RETURN_THIS();   }      void set_size_wildcarded(int setting)   //! If the icon size is wildcarded, this source can be used as the base image   //! for an icon of any size. If the size is not wildcarded, then the size the   //! source applies to should be set with set_size() and the icon source will   //! only be used with that specific size.   {    pgtk2_verify_inited();    {    INT_TYPE set; -  get_all_args("set_size_wildcarded",args,"%i",&set); +  get_all_args(NULL,args,"%i",&set);    gtk_icon_source_set_size_wildcarded((GtkIconSource *)THIS->obj,set);    }    RETURN_THIS();   }      void set_state(int state)   //! Sets the widget state this icon source is intended to be used with.   {    pgtk2_verify_inited();    {    INT_TYPE state; -  get_all_args("set_state",args,"%i",&state); +  get_all_args(NULL,args,"%i",&state);    gtk_icon_source_set_state((GtkIconSource *)THIS->obj,state);    }    RETURN_THIS();   }      void set_state_wildcarded(int setting)   //! If the widget state is wildcarded, this source can be used as the base   //! image for an icon in any state. If the widget state is not wildcarded,   //! then the state the source applies to should be set with set_state() and   //! the icon source will only be used with that specific state.   {    pgtk2_verify_inited();    {    INT_TYPE set; -  get_all_args("set_state_wildcarded",args,"%i",&set); +  get_all_args(NULL,args,"%i",&set);    gtk_icon_source_set_state_wildcarded((GtkIconSource *)THIS->obj,set);    }    RETURN_THIS();   }