Re: Adjusting width of GtkEntry



On 3/24/06, Sandeep KS <kssandeepa yahoo com> wrote:
Hello everyone,
    I am using GtkEntry widget in my application to take 2 digit number as input from the user.  But the 
width of the widget displayed is very large. How can i set the width of this entry widget?

Hi,
http://developer.gnome.org/doc/API/2.0/gtk/GtkEntry.html#gtk-entry-set-width-chars

But if you're going to use entry for numeric input, consider
GtkSpinButton widget first:
http://developer.gnome.org/doc/API/2.0/gtk/GtkSpinButton.html

        Olexiy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]