hip your application in a bundled
archive that replicates the file system layout that GTK expects,
alongside a launcher
Is this supposed to save loading time and storage space?
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-d
Le 29 novembre 2017, à 18:57, Мариано Гаудикс a écrit :
Hi . I need a example for compiling a static library with Gtk3 libraries
together .
MXE might help you with this: http://mxe.cc/
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app
se it was: http://www.dependencywalker.com/
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
y GTK2 app, but it has GTK3
also and many, many more libs! http://mxe.cc/#packages
As you can guess, with a statically linked exe, no more headache with lib
distribution, installers and so on...
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk
one difference in that I call g_file_new_for_path to turn the
filename string into a GFile. Maybe this is relevant, maybe not, I can't
tell.
HTH
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
n your irony, of course having
them install Linux would be even more uneasy and unfun!
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
be easy
and fun?
All the more as they would have to install Linux beforehand!
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ring(DOstream,some_string,NULL,NULL);
assert(res);
g_object_unref(DOstream);
g_object_unref(FOstream);
g_object_unref(outfile);
g_free(filename);
}
gtk_widget_destroy(dialog);
-:-:-:-
--
Lucas Levrel
___
gtk-app-devel-list mailin
ed letters, since they are a part of the Windows
version of ASCII. Try a real life UNICODE character, such as the one I have in
my path, C:\My.\Images.
Hi,
I've just tested a filename containing spaces and U+221E (infinity
symbol), writing and reading both work.
on.
I really don't understand why you say this. As its name says, MXE is a
compiling environment. Would you ship your assembler with your executable?
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.g
Le 2 mai 2016, Florian Pelz a écrit :
On 05/02/2016 12:36 PM, Lucas Levrel wrote:
Then I found MinGW Cross Env, now called MXE (http://mxe.cc/). It
compiled my project with no effort at all.
This is interesting. May I hijack this thread?
I did not know about MXE. What is their relationship
;
assert(DIstream);
char *string=
g_data_input_stream_read_until(DIstream,"",NULL,NULL,NULL);
assert(string);
/* ... */
g_free(string);
g_object_unref(DIstream);
g_object_unref(FIstream);
g_object_unref(infile);
g_free(filename);
}
gtk_widget_destroy(dialog);
-:-:-:-
(Not sure
..
# define the prefix in the rules targeting Windows
myrule : CROSS=/path/to/bin/i686-pc-mingw32-
myrule : ...
HTH
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Le 15 avril 2016, Andrew Robinson a écrit :
Let me rephrase this whole entire issue: Does anyone here have a working,
tested, and simple program (not a command line only program) that runs in
Windows with the GTK+ Win32 libraries, version 3.0 or above? If so, please
give me a link of it so I can
ect that the complexities arise from detaching menus from
the main menu bar, not from the right-click, which is already a
pop-up
Thanks for clarifying. This said, I don't see much difference between e.g.
the sub-menus of a menu and those of the right-click pop-up.
It looks like the PyGObject package is not available out-of-the-box, but
it may be easy to add.
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Le 18 novembre 2015, Emmanuele Bassi a écrit :
On 18 November 2015 at 15:57, Lucas Levrel wrote:
Le 18 novembre 2015, Emmanuele Bassi a écrit :
Tearoff menus are, by *any* metric that is not artificially restricted
to "the Denemo users", a very seldom used UI element in any UI tha
tric"?
(That makes me wonder: what GTK version is Gimp using?)
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
loper of that software will (should), if you
make a bug report.
What about (main_1:31671)? How can I understand what is it and where is
it?
I think this is the name and PID of a thread.
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-
Is there anything else I could do or send to help resolve this bug?
Make a minimal example showing the problem and post it.
(More than often, one finds the bug while making the minimal example.)
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-
box, I invoke:
gtk_box_pack_start( ..., ..., TRUE, TRUE, 0);
To insert the frame into the hpaned:
gtk_paned_pack2( ..., ..., TRUE, FALSE);
For the vbox into the hpaned:
gtk_paned_pack1( ..., ..., FALSE, FALSE);
HTH
--
Lucas Levrel
___
gtk-app-devel-l
st in GTK2 as well?)
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ovelty for the sake of novelty
is unwise (and in my case I'd spend more time following 3.x API changes
than developping my project, which would be silly).
Thanks again for your help and advice.
--
Lucas Levrel
___
gtk-app-devel-list mailing list
de use at least the
latest API in the 2.x series is to look at the GTK 2.x → 3.x migration
guide:
That will help fix my current code, thanks. Alas it won't help me write
correct new code.
--
Lucas Levrel
___
gtk-app-devel-list mailing lis
esn't have examples of what I need)
Your help is appreciated.
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
LANG=C gcc $GTKHDR segfault.c $GTKLIB
-l options must come after source files I think.
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ght);
Where copy_gc has been defined this way:
GdkGC *copy_gc=d_area->style->fg_gc[GTK_WIDGET_STATE (d_area)];
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
s impossible.
Just my 2 ¢.
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_img);
g_signal_connect(button, "clicked", G_CALLBACK(...), ...);
gtk_widget_add_accelerator(button, "clicked", accels,
gdk_keyval_from_name("Return"),
(GdkModifierType)0, GTK_ACCEL_LOCKED);
HTH.
--
Lucas Lev
. replace Quit with
Exit...
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/
There you also find links to dependencies (GLib, Gdk, etc.):
http://www.gtk.org/download/linux.php
I guess you'd just pick the version number matching the DLLs you use.
--
Lucas Levrel
___
gtk-app-de
En date de : Mer 5.3.14, Chris Angelico a écrit :
> The very easiest solution for my users would be for me to
> distribute a .ZIP file of eighteen DLLs, which my app can fetch and
> deploy. But that would require me to make the source of those DLLs
> available, and AFAICT pointing to gtk.org doe
gocairo" :
I think you should look at --libs since the error is about linking.
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
pabilities useful to your
software, don't migrate!
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--- En date de : Lun 18.2.13, Rena a écrit :
> Recently I've been developing a Game Boy emulator
> that uses GtkDrawingArea and GdkPixbuf to display the game
> screen.
>
> In addition to the game output I want to also be able to draw text and
> shapes on the display window, and Cairo seems to be
--- En date de : Lun 24.12.12, Muhammed Fatih BALIN
a écrit :
> On Ubuntu 12.04 I can create, compile and run applications
> easily but I want to compile them for windows.
> I have mingw packages installed. But there is no gtk package
> in ubuntu repositories for cross development. How can I
> i
--- En date de : Lun 21.5.12, 徐舫 a écrit :
> I created a none decoration widget using the following
> code.
>
> But when I clicked the item on the Window task bar, the
> widget does not
> minimized to the task bar.
>
> gtk_window_set_decorated (GTK_WINDOW(win),
> FALSE);
> gtk_widget_
your dialog (the file you feed
gtkdialog with).
Also, you might get more help on the GTK developers' list.
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi,
I'm developping an app with MinGW on Win XP. I installed the "all-in-one
bundle" linked by http://www.gtk.org/download/win32.php .
I've put the following in my code to force display of icons:
gtk_settings_set_long_property(gtk_settings_get_default(),"gtk-button-images",1,"");
But when I sum
Le 8 mars 2012, Lucas Levrel a écrit :
Now, I want to scroll down to the end of the text whenever the window is
resized. As for now, when the window is shrinked, the end of text gets out of
view and the user has to scroll down manually. I thought I'd connect the
following:
void s
asible with clipping, but might be more
complicated: you'd need to clip each time you draw the sprite.)
--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ts out
of view and the user has to scroll down manually. I thought I'd connect
the following:
void scroll(){
gtk_text_view_scroll_to_mark
(GTK_TEXT_VIEW(text_view), end_ptr, 0., FALSE, 1., 1.);
}
to some "configure-event", but I can't find a widget on which
Le 5 mars 2012, Igor Chetverovod a écrit :
II am writing GTK+2.16 applications under Win XP2. They are working
without issues on very old laptops with Win 2000. So I think you
should investigate your instalation file set. May be it does not
contain some necessary libs.
Thanks for your answe
Hi,
Thanks for your answer.
Le 28 février 2012, Raja Mukherji a écrit :
What sort of error are you getting? I found that installing the Visual
C++ 2008 Redistributable Package was necessary to run the app on
Windows XP SP1. Windows XP SP2 and newer seem to have it installed
already.
I don't k
Hi,
I'm writing a GTK+-based application for Win and Linux. One of my
potential "users" only has XP SP1, and the current version of my app
doesn't work there; I compiled it against GTK+ 2.24 under XP SP3.
I guess I should use an older version of GTK+. Which one?
Then:
- Where will I download
45 matches
Mail list logo