dimitri PIEL wrote:
Hi
Could you tell me how to insert a child like a GtkLabel inside a GtkButton ?
gtk_container_add ();
Should I use the image property of the GtkButton ?
You can also add a GtkImage on GtkButton.
Thanks
Dimitri
___
gtk-app-devel-li
How about
gtk_button_new_with_label("Test");
or
gtk_container_add(GTK_CONTAINER(button), my_gtk_label)
Thanks
Deekshit
On Apr 5, 2005 12:13 PM, dimitri PIEL <[EMAIL PROTECTED]> wrote:
> Hi
>
> Could you tell me how to insert a child like a GtkLabel inside a GtkButton ?
> Should I use the ima
Hi
Could you tell me how to insert a child like a GtkLabel inside a GtkButton ?
Should I use the image property of the GtkButton ?
Thanks
Dimitri
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/g
Hello to the list,
first a short introduction on me.
I develop in a commercial and OSS environment GTK-applications on and
for FreeBSD-Systems.
I currently develop an application which uses Drag&Drop from a list
build up with a GtkListStore-"Object".
When I drag an item from the list, I get the w
/*... Clear the list items at one step ...*/
gtk_list_clear_items(GtkList *list,gint start,gint end);
example : gtk_list_clear_items(GTK_LIST(GTK_COMBO(widget)->list,0,-1);
/*... To insert the items */
gtk_list_insert_items(GtkList *list,GList *i
Am Mon, 4 Apr 2005 17:48:51 +0300 schrieb Juhana Sadeharju:
> The screenshot application should take the whole screen screenshot
> when I press "F1" key. It should work even if my application
> would not have focus. In fact, I would be using a web browser
> actively when I would take a screenshot.
On Mon, 4 Apr 2005 23:26:59 +0300
regatta <[EMAIL PROTECTED]> wrote:
> But I still not able to understand, gtk_combo_box_remove_text is to
> remove one item only
>
> do you mean I have to use it with loop to remove all items ?
yes, until gtk_combo_box_get_active returns -1
>
> also gtk_combo_bo
But I still not able to understand, gtk_combo_box_remove_text is to
remove one item only
do you mean I have to use it with loop to remove all items ?
also gtk_combo_box_get_active is to set the default/active item, why
you tell me to use it ?
On Apr 4, 2005 11:16 PM, Hubert Sokołowski <[EMAIL PR
On Mon, 4 Apr 2005 23:07:51 +0300
regatta <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have a combo box that I want to clear it (remove all the items) and
> add new items to it (I am using C) here is the code I tried but it
> didn't work,
>
> gtk_combo_box_set_model(Combo,NULL);
> gtk_combo_box_insert_
Hi
I have a combo box that I want to clear it (remove all the items) and
add new items to it (I am using C) here is the code I tried but it
didn't work,
gtk_combo_box_set_model(Combo,NULL);
gtk_combo_box_insert_text (Combo,0, _("All1"));
Anyone can help me please ?
--
Best Regards,
--
Hello. I'm puzzling how to implement the following most conveniently.
Help, anyone?
The screenshot application should take the whole screen screenshot
when I press "F1" key. It should work even if my application
would not have focus. In fact, I would be using a web browser
actively when I would t
Hello all again,
I can't really seem to hack this, so I guess I give it another shot
providing some code.
The first spawn starts a c program that takes stdout from the perl
script as input.
The next spawn starts a perl script that reads a file, changes it and
puts it on stdout.
The callback func
12 matches
Mail list logo