I can't believe that you think on it when are sleeping.
Your solution works perfectly! Thank you for it, and thanks for think
on it even when you're sleeping
2010/6/5, Tadej Borovšak :
> Hello.
>
>> For the second option, just add the images folder to the theme search
>> patch with gtk_icon_theme
Hello.
> For the second option, just add the images folder to the theme search
> patch with gtk_icon_theme_append_search_path will resolve the problem?
Yes, this is all that is needed to have named icons working. Theme
lookup mechanism will do rest of the work for you.
> How, by the code, I conn
Thank you Tadej for all.
For the second option, just add the images folder to the theme search
patch with gtk_icon_theme_append_search_path will resolve the problem?
How, by the code, I connect the GtkIconTheme to the GtkIconFactory? Or
it is done automatically? I have tried:
GtkIconTheme *theme
Hi.
I decided to look into these things (stock items, stock icons and
named icons) a bit more once again (it's been a while since I last did
that anyway). I'll describe their usage from regular developer's point
of view ("How to use this things?").
First, this is simple diagram demonstrates how t
Thank you Tadej for the clarification.
I tried substitute the gtk_button_new_from_stock for the
gtk_image_new_from_icon_name but, no errors occurs, but the image
isn't showed. What is showed is the broken GTK+ image.
A minimal version of my code, and attached the image:
#include
int main(int a
Hi.
There are two distinct stock things in GTK+: stock items[1] and stock
icons[2]. Connection between them is purely conventional by virtue of
using the same ID for both stock item and icon, but nothing is
preventing you from having only item or only icon. It's developer's
responsibility to provi
Any idea?
2010/5/30 John Williams :
> Don't work. Using gtk_button_new_from_stock I got no image in the
> button, just the label "my-icon". Using gtk_scale_button_new I got
> Segmentation fault again.
>
> Code:
> iconFactory = gtk_icon_factory_new();
>
> gtk_icon_factory_add(iconFactory, "my
Don't work. Using gtk_button_new_from_stock I got no image in the
button, just the label "my-icon". Using gtk_scale_button_new I got
Segmentation fault again.
Code:
iconFactory = gtk_icon_factory_new();
gtk_icon_factory_add(iconFactory, "my-icon",
gtk_icon_set_new_from_pixbuf(gdk_pixbuf_n
On Sun, May 30, 2010 at 6:52 PM, Tristan Van Berkom wrote:
> On Sun, May 30, 2010 at 6:27 PM, John Williams wrote:
>> Ok, but how should I to do this?
>>
>> I tried this:
>>
>> gtk_icon_factory_add(iconFactory, "my-icon",
>> gtk_icon_set_new_from_pixbuf(gdk_pixbuf_new_from_file("icon.jpg",
>>
On Sun, May 30, 2010 at 6:27 PM, John Williams wrote:
> Ok, but how should I to do this?
>
> I tried this:
>
> gtk_icon_factory_add(iconFactory, "my-icon",
> gtk_icon_set_new_from_pixbuf(gdk_pixbuf_new_from_file("icon.jpg",
> &error)));
>
> if(error)
> {
> g_print("\n%s", error->me
Ok, but how should I to do this?
I tried this:
gtk_icon_factory_add(iconFactory, "my-icon",
gtk_icon_set_new_from_pixbuf(gdk_pixbuf_new_from_file("icon.jpg",
&error)));
if(error)
{
g_print("\n%s", error->message);
}
scaleButton3 = gtk_scale_button_new(GTK_ICON_SIZE_L
On Wed, May 26, 2010 at 9:24 PM, John Williams wrote:
> Anyone?
>
> 2010/5/25 John Williams :
>> Is possible use images from file in the GtkScaleButton as the images
>> set by gtk_scale_button_set_icons?
>>
You should be able to just use the names of the icons
defined by a GtkIconFactory you crea
Anyone?
2010/5/25 John Williams :
> Is possible use images from file in the GtkScaleButton as the images
> set by gtk_scale_button_set_icons?
>
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Is possible use images from file in the GtkScaleButton as the images
set by gtk_scale_button_set_icons?
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
14 matches
Mail list logo