pike.git / src / post_modules / GTK2 / refdoc / GTK2.pmod / Entry.pike

version» Context lines:

pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Entry.pike:1:   //! Use this widget when you want the user to input a single line of text.   //!@expr{ GTK2.Entry()->set_text("Hello world")->set_editable(1)@}   //!@xml{<image>../images/gtk2_entry.png</image>@}   //!   //! Properties:   //! int activates-default   //! int cursor-position   //! int editable   //! int has-frame + //! int inner-border   //! int invisible-char   //! int max-length   //! int scroll-offset   //! int selection-bound -  + //! int shadow-type   //! string text -  + //! int truncate-multiline   //! int visibility   //! int width-chars   //! float xalign   //!   //! Style properties:   //!   //!   //! Signals:   //! @b{activate@}   //!
pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Entry.pike:60:   float get_alignment( );   //! Gets the value set by set_alignment().   //!   //!      GTK2.EntryCompletion get_completion( );   //! Returns the completion object.   //!   //!    + GTK2.Adjustment get_cursor_hadjustment( ); + //! Retrieves the horizontal cursor adjustment + //! + //! +    int get_has_frame( );   //! Gets the value set by set_has_frame().   //!   //!    -  + array get_inner_border( ); + //! This function returns the entry's inner-border property. + //! + //! +    int get_invisible_char( );   //! Retrieves the character displayed in place of the real characters for   //! entries with visibility set to false.   //!   //!      GTK2.Pango.Layout get_layout( );   //! Gets the Pango.Layout used to display the entry. The layout is useful to   //! e.g. convert text positions to pixel positions, in combination with   //! get_layout_offsets().
pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Entry.pike:149:   //!   //!      GTK2.Entry set_completion( GTK2.EntryCompletion completion );   //! Sets completion to be the auxiliary completion object to use. All further   //! configuration of the completion mechanism is done on completion using   //! the GTK2.EntryCompletion API.   //!   //!    + GTK2.Entry set_cursor_hadjustment( GTK2.Adjustment adj ); + //! Hooks up an adjustment to the cursor position in an entry, so that when + //! the cursor is moved, the adjustment is scrolled to show that position. + //! + //! +    GTK2.Entry set_has_frame( int setting );   //! Sets whether the entry has a beveled frame around it.   //!   //!    -  + GTK2.Entry set_icon_from_pixbuf( int icon_pos, GTK2.GdkPixbuf b ); + //! Set the icon from the given in-memory image, or 0 to remove the icon at + //! that position. + //! + //! +  + GTK2.Entry set_icon_from_stock( int icon_pos, string id ); + //! Set the icon using a stock icon. To remove the icon, use + //! set_icon_from_pixbuf(). + //! + //! +  + GTK2.Entry set_inner_border( int left, int right, int top, int bottom ); + //! Sets the inner-border property to border, or clears it if 0 is passed. + //! The inner-border is the area around the entry's text, but inside its + //! frame. + //! + //! If set, this property overrides the inner-border style property. + //! Overriding the style-provided border is useful when you want to do + //! in-place editing of some text in a canvas or list widget, where + //! pixel-exact positioning of the entry is important. + //! + //! +    GTK2.Entry set_invisible_char( int ch );   //! Sets the character to use in place of the actual text when - //! set_invisibility() has been called to set text visibility to false. i.e. + //! set_visibility() has been called to set text visibility to false. i.e.   //! this is the character used in "password" mode to show the user how many   //! characters have been type. The default invisible char is an asterisk   //! ('*'). If you set the invisible char to 0, then the user will get no   //! feedback at all; there will be no text on the screen as they type.   //!   //!      GTK2.Entry set_max_length( int maxlen );   //! Sets the maximum allowed length of the contents. If the current contents   //! are longer than the given length, then they will be truncated to fit.