Re: GtkEntry ... change size
- From: Michael Cronenworth <mike cchtml com>
- To: Mariano Gaudix <marianocordobario3 gmail com>
- Cc: gtk devel <gtk-app-devel-list gnome org>
- Subject: Re: GtkEntry ... change size
- Date: Mon, 28 Oct 2013 17:01:46 -0500
Mariano Gaudix wrote:
¿ how I disable expansion ?
I used the sentences .
gtk_widget_set_vexpand (GTK_WIDGET(entry ) , FALSE ) ;
gtk_widget_set_hexpand (GTK_WIDGET(entry ) , FALSE ) ;
But these sentences don't run .
I know those are the new "GTK3" functions, but I still mainly use GTK2.
Try:
gtk_container_add( GTK_CONTAINER( hBox ), entry );
gtk_box_set_child_packing( GTK_BOX( hBox ), entry,
FALSE, TRUE, 0, GTK_PACK_START );
gtk_widget_show( entry );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]