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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtklabel.pre:55:    }    pgtk2_pop_n_elems(args);    } else {    GtkWidget *gl;    gl=gtk_label_new(NULL);    THIS->obj=G_OBJECT(gl);    }    pgtk2__init_this_object();   }    - void set_text(string text, mixed ... fmt) + void set_text(sprintf_format text, sprintf_args ... fmt)   //! Set the text in the label   {    pgtk2_get_string_arg_with_sprintf(args);    pgtk2_verify_inited();    gtk_label_set_text(GTK_LABEL(THIS->obj),Pike_sp[-1].u.string->str);    pgtk2_return_this(1);   }      require pango;   void set_markup(string text);
pike.git/src/post_modules/GTK2/source/gtklabel.pre:178:   //! <p>   //! The target widget will be accelerated by emitting "mnemonic_activate" on   //! it. The default handler for this signal will activate the widget if there   //! are no mnemonic collisions and toggle focus between the colliding widgets   //! otherwise.      void set_selectable(int setting);   //! Selectable labels allow the user to select text from the label, for copy   //! and past.    - void set_text_with_mnemonic(string text, mixed ... fmt) + void set_text_with_mnemonic(sprintf_format text, sprintf_args ... fmt)   //! Sets the label's text from the string text. If characters in text are   //! preceded by an underscore, they are underlined indicating that they   //! represent a keyboard accelerator called a mnemonic. The mnemonic key can   //! be used to activate another widget, chose automatically, or explicitly   //! using set_mnemonic_widget().   {    pgtk2_get_string_arg_with_sprintf(args);    pgtk2_verify_inited();    gtk_label_set_text_with_mnemonic(GTK_LABEL(THIS->obj),Pike_sp[-1].u.string->str);    pgtk2_return_this(1);