Hi Emmanuele,
Thanks for your feedback.
> You need to generate the icon cache on the
> target machine.
Assuming "target machine" in this context is the target operating
system, how do I generate icon cache on Windows (Wine on Linux, in my
case)?
>> Note that I don't want to move the executable
Hi all,
Recently, I wrote:
=
> I'm running my ported GTK+ application via Wine, and it keeps
> throwing:
> -
> Gtk-WARNING **: Error loading theme icon 'image-missing' for stock:
> Icon 'image-missing' not present in theme Adwaita
> -
>
> How can I get rid of this?
>
> I've already
> Also the all the *-from-stock (e.g. gtk_button_new_from_stock)
> functions have been deprecated in GTK 3.10 so maybe that’s the issue?
Ah, that must be it, yes. I use gtk_image_new_from_icon_name() for menu
icons, and now that you mention it these indeed do not show up. So,
that must be where
> pi@raspberrypi:~ $ sudo apt-get install gmodule-export-2.0
As Tilo wrote, you may need to compile it yourself.
A quick search seems to indicate that there is gmodule-no-export-2.0
(no export) and gmodule-2.0 (export).
If this is true, you may want to look for gmodule-2.0 instead.
norbert #
Hi,
I'm running my ported GTK+ application via Wine, and it keeps throwing:
-
Gtk-WARNING **: Error loading theme icon 'image-missing' for stock:
Icon 'image-missing' not present in theme Adwaita
-
How can I get rid of this?
I've already tried adding
> How can I trigger the menu activation (like a mouse click does) ?
I would guess with:
https://developer.gnome.org/gtk3/stable/GtkMenu.html#gtk-menu-popup-at-widget
It's available for GTK+ 3.22 and up, so I cannot test it to verify.
This should tell you your GTK+ version:
$ pkg-config
> gnome-weather [...] I can i use this libraries with C?
I think, in theory, the GWeather Reference Manual...
https://developer.gnome.org/libgweather/stable/
...should have information about its C functions in the Functions
sections. But they are empty, e.g.:
> > I have a textview widget being used in an editor where an
> > incremental search is performed. [...]
I can't help you, but after seeing some of your functions I'm
wondering... Setting the search direction (backwards, forwards),
setting/toggling case sensitivity (yes, no), and moving the
> I have an gtk_entry [...] and i would like to capture clicks
> in the entry [...] depending on what modifier keys are held
You can use g_signal_connect (..., "button_press_event", G_CALLBACK
(Function), NULL); Then in Function, check if (event->button.state ==
GDK_SHIFT_MASK) {} else {}. Also
> Is seems to me that the easiest way for the user to
> indicate to the GUI that a particular suggestion
> should be removed would be via the delete button
> whilst that suggestion is highlighted.
As soon as you click anywhere outside the area with suggestions
(matching entries), the overview of
> I am using below code for drawing two graphs from same data.
> [...]
> please let me know if more information is required.
If the problem persists and you've been unable to find help, I suggest
you create and share with us a short, self contained example program
that demonstrates the graph
> For a simple printing example in C this is my try at it.
>
> https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/Csamples/print_buffer1.c
Much appreciated Eric.
A question about this code. When I use, for example, the gedit text
editor, its File->Print... dialog includes a
> I save preferences per monitor
I think giving us more context might be useful. What kind of things do
you save per monitor, and why? These are not things you could recreate
by scaling and positioning based on detected monitor dimensions?
If we're assuming monitors can be arbitrarily plugged in
> It did not solve the Problem, [...]
Before I e-mailed my response I locally created a program that included
the function your posted. Double clicking the bottom field threw the
error you mentioned. After modifying the code as I described in my
previous post, the warning on the console
Hi Emmanuele,
Thank you for your reply.
> [...], instead of generating a massive string and then
> sending it to lpr, [...]
I'm slightly confused, is that a description of what my code is
currently doing? If it is: I was unaware that the code is generating a
massive string.
My intention and
> keybuf = gtk_entry_buffer_new ("Not yet generated", 45);
https://developer.gnome.org/gtk3/stable/GtkEntryBuffer.html#gtk-entry-buffer-new
The second parameter of gtk_entry_buffer_new() specifies the number of
characters in the string.
Either change 45 to 17 or to -1.
Best regards,
Norbert
Hi all,
Yesterday, I finished the migration of a 16+ year old GTK+ 1.2
application to GTK+ 3.18.
The application is Ggradebook, the official GNU gradebook.
--
Websites:
http://www.norbertdejonge.nl/Ggradebook/
https://www.gnu.org/software/ggradebook/
Changelog:
17 matches
Mail list logo