frame and a spinner with gtk_table_attach to cell - question
Wednesday, January 30 Hello, If I put a spinner in a frame in a table cell with gtk_table_attach it unfortunately overlaps and looks garbled :( How should I do this so that they don't overlap within the same cell ? Here's what I'm doing now. snippet ... /* the frame */ mvfr = gtk_frame_new(test radio); gtk_table_attach(GTK_TABLE(table), mvfr, 0, 1, 0, 1, GTK_SHRINK, GTK_EXPAND, 4, 4); /* the spinner */ fxadj = (GtkAdjustment *)gtk_adjustment_new(1.0, 1.0, 100.0, 1.0, 1.0, 0.0); fxspinner = gtk_spin_button_new(fxadj, 0, 0); gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(fxspinner), TRUE); gtk_table_attach(GTK_TABLE(table), fxspinner, 0, 1, 0, 1, GTK_SHRINK, GTK_EXPAND, 4, 4); Thanks for any possible suggestions. K. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
What's wrong with the docs?
Hello all... There must be something terribly wrong somewhere, when I try to find documentation on operation with GTK+ or GDK elements, I always seem to get _much_ more documentation from the Python/Perl libraries than from the actual C interface. I'm sure others noticed the same trend. So, why is this? - Are the original (C/C++) docs really so scarse they don't appear at the top of of the list? or... - Is something in the google algorithms preferencial to anything but C? - Are those docs maybe declared unaccessible by the spider engines? (by robots.txt or so) - Or are those alternative languages just much more popular than C? Which makes this question pop up: Wouldn't it be interesting/practical to have _common_ documentation. Say, GtkWidget is used in Python like this, in C like this, etc.? I could even serve as an educational tool to compare languages. Just idle thoughts... John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: What's wrong with the docs?
On Jan 30, 2008 2:27 PM, John Coppens [EMAIL PROTECTED] wrote: Hello all... There must be something terribly wrong somewhere, when I try to find documentation on operation with GTK+ or GDK elements, I always seem to get _much_ more documentation from the Python/Perl libraries than from the actual C interface. I'm sure others noticed the same trend. So, why is this? Because Google is silly sometimes. Do yourself a favor and bookmark a link to http://library.gnome.org/devel/ paying special attention to the reference section (the Guides are a bit out of date in places). Good Luck! -A. Walton John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GTK+ Windows dependancies
Hello, I use http://ricardo.ecn.wfu.edu/~cottrell/cross-gtk/#installer tutoriel for create inno setup script file for GTK+, but some files no longer exist (GTK+ 2.4.0). DLL dependencies : ; GTK+ dependencies Source: C:\MinGW\bin\libcairo-2.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libpangocairo-1.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\jpeg62.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libtiff3.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libpng13.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\zlib1.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\intl.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libatk-1.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libgdk_pixbuf-2.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libgdk-win32-2.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libglib-2.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libgmodule-2.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libgobject-2.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libgthread-2.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libgtk-win32-2.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libpango-1.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libpangoft2-1.0-0.dll; DestDir: {app}; Flags: ignoreversion Source: C:\MinGW\bin\libpangowin32-1.0-0.dll; DestDir: {app}; Flags: ignoreversion Other dependencies : Source: C:\MinGW\lib\locale\fr\LC_MESSAGES\atk10.mo; DestDir: {app}\lib\locale\fr\LC_MESSAGES; Flags: ignoreversion Source: C:\MinGW\etc\pango\pango.modules; Destdir: {app}\etc\pango Source: C:\MinGW\etc\pango\pango.aliases; Destdir: {app}\etc\pango ; optional: let the user make the app look more Windows-like Source: C:\MinGW\lib\gtk-2.0\2.10.0\engines\libwimp.dll; Destdir: {app}\lib\gtk-2.0\2.10.0\engines Is this good? -- Nicolas Joseph Responsable de la rubrique GTK+ de developpez.com http://nicolasj.developpez.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK+ Windows dependancies
I use http://ricardo.ecn.wfu.edu/~cottrell/cross-gtk/#installer tutoriel for create inno setup script file for GTK+, but some files no longer exist Which files no longer exist? Where don't they exist, in the zipfiles from ftp.gnome.org? One set of files whose location in my builds have changed recently is the message catalogs. They were previously in lib/locale, but will from now on be in share/locale. And sure, also other changes in the GTK+ installation tree structure must have happened since that tutorial was written in 2004... (GTK+ 2.4.0). Ugh. I hope this is a typo? The most recent GTK+ Windows binaries are version 2.12.6. Source: C:\MinGW\bin\libcairo-2.dll; DestDir: {app}; Flags: I would recommend *not* installing packages from other sources in your MinGW folder. Keep the MinGW folder for only stuff from www.mingw.org. Install the GTK+ stack somewhere else. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK+ Windows dependancies
2008/1/30, Tor Lillqvist [EMAIL PROTECTED]: I use http://ricardo.ecn.wfu.edu/~cottrell/cross-gtk/#installertutoriel for create inno setup script file for GTK+, but some files no longer exist Which files no longer exist? Where don't they exist, in the zipfiles from ftp.gnome.org? iconv.dll etc/gtk-2.0/gdk-pixbuf.loaders etc/gtk-2.0/gtkrc lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.dll lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.dll lib/locale/*/LC_MESSAGES/glib20.mo lib/locale/*/LC_MESSAGES/gtk20.mo lib/pango/1.4.0/modules/pango-basic-win32.dll lib/pango/1.4.0/modules/pango-basic-fc.dll etc/gtk-2.0/gtkrc.wimp One set of files whose location in my builds have changed recently is the message catalogs. They were previously in lib/locale, but will from now on be in share/locale. Ok And sure, also other changes in the GTK+ installation tree structure must have happened since that tutorial was written in 2004... (GTK+ 2.4.0). Ugh. I hope this is a typo? The most recent GTK+ Windows binaries are version 2.12.6. I know. It's version used in http://ricardo.ecn.wfu.edu/~cottrell/cross-gtk/ tutoriel. My tutoriel use newest version, of course. Source: C:\MinGW\bin\libcairo-2.dll; DestDir: {app}; Flags: I would recommend *not* installing packages from other sources in your MinGW folder. Keep the MinGW folder for only stuff from www.mingw.org. Install the GTK+ stack somewhere else. I did not know. It is better to install them in the directory of Code:Blocks (my IDE)? -- Nicolas Joseph Responsable de la rubrique GTK+ de developpez.com http://nicolasj.developpez.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK+ Windows dependancies
On Wed, 30 Jan 2008, gege2061 wrote: 2008/1/30, Tor Lillqvist [EMAIL PROTECTED]: I use http://ricardo.ecn.wfu.edu/~cottrell/cross-gtk/#installertutoriel for create inno setup script file for GTK+, but some files no longer exist Which files no longer exist? Where don't they exist, in the zipfiles from ftp.gnome.org? snip lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.dll lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.dll Note that my page was written in 2004; you'll have to figure the current equivalent listing. In particular, the loaders directory is now gone due to Tor's decision to build a monolithic gdkpixbuf library for GTK on Windows, with all the loaders pre-embedded. Personally, I wish he'd reconsider that. It means your self-contained GTK application package has to include some 3rd party graphics libraries for which your app may have no need. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list