use new macros if you don't need back compatibility
Il giorno lun 04 set 2017 16:03:55 CEST, Kouhei Sutou ha scritto:
Hi,
We need to write common codes for GObject like the
followings:
#define GTK_TYPE_WIDGET (gtk_widget_get_type ())
#define GTK_WIDGET(widget) (G_TYPE_CH
can gtk-doc and gobject-introspection be used for a library that don't
have gobjects?
i have a library that is only a set of utility functions (that use
glib/gtk/etc): can i use gtk-doc and/or gobject-introspection?
thanks in advance
___
gtk-list
i followed the tutorial to enable my library to build gtk-doc
https://developer.gnome.org/gtk-doc-manual/unstable/
but when i run the first make, gtk-doc doesn't generate the main xml
file (DOC_MAIN_SGML_FILE) (as the tutorial says it should do
https://developer.gnome.org/gtk-doc-manual/unst
is it normal that if i pass values out of range to function
g_date_time_new_local it returns a valida date?
glib 2.50.3 debian sid
try this code: it returns 2017-03-02, instead i expected NULL
#include
int
main (int argc, char *argv[])
{
GDateTime *gdt;
gchar *str;
Il giorno sab 18 lug 2015 10:01:59 CEST, Andrea Zagli ha scritto:
from a few days, on debian sid, i have a strange mouse wheel scroll behavior
it seems that is a problem of "gnome/gtk" applications, because it
happens on epiphany but not on iceweasel, or in nautilus and in
gedit
from a few days, on debian sid, i have a strange mouse wheel scroll behavior
it seems that is a problem of "gnome/gtk" applications, because it
happens on epiphany but not on iceweasel, or in nautilus and in gedit
but not in emacs
i try to explain: if a widget, with scroll bars, got the foc
gnotification works under win?
i get a segfault on g_application_send_notification
(GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT
(object_type)' failed)
or i did't uderstand how use it?
i tried with this code (i also tried without gtkapplication, but only
with gappl
i have a library (the same as thet thread before) that have a method
that returns a gnode
but when it is introspected by g-ir-scanner i got
Warning: Confi: confi_get_tree: return value: Invalid non-constant
return of bare structure or union; register as boxed type or (skip)
how must i anno
Il giorno ven 21 nov 2014 22:43:44 CET, Daniel Espinosa ha scritto:
For internal I means, you are using in C code in your programs; but not in
scripts written in, for example, in python.
If you plan to call methods in libconfi from scripts or Vala, you'll need
annotations or wrapping to provide
Il giorno ven 21 nov 2014 14:13:33 CET, Daniel Espinosa ha scritto:
I've forgot you are using GI not Vala bindings, then no meta information
could be used. You should use GI Anottations.
Your library is internal or to be used by scripts written, for example, in
phython?
what do you mean with "
Il giorno gio 20 nov 2014 22:06:15 CET, Daniel Espinosa ha scritto:
I found in your GIR file, it don't detect (for example) confi_new() as a
function of Confi object and it is not introspectable. Also, all functions
are "free" no related to any GObject. Then you haven't provided enough
informatio
n and objects name collisions.
but is it mandatory to make introspection works?
El 19/11/2014 05:13, "Andrea Zagli" escribió:
[...]
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
i made a very little library
===
#ifndef __LIBCONFI_H__
#define __LIBCONFI_H__
#include
#include
#include
G_BEGIN_DECLS
#define TYPE_CONFI (confi_get_type ())
#define CONFI(obj)
i have many glade files made for gtk2 with gtktable
in gtk3 gtktable is deprecated in favour of gtkgrid
is there an easy way to convert gtktable to gtkgrid?
thanks in advance
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/
Il giorno dom 17 ago 2014 00:33:09 CEST, narcisse doudieu siewe ha scritto:
Hello Andrea,
could you explain me how to build Gtk+3.13.5 under windows?
best regards
i use packages from msys2
http://msys2.github.io/
http://sourceforge.net/projects/msys2/
_
Il giorno gio 07 ago 2014 11:24:26 CEST, Andrea Zagli ha scritto:
i'm trying gtk+3 3.13.5 under windows, with msys2
adwaita theme looks very nice under windows; and at this point gtk+
seems very stable also under windows
but i got windows with semi transparent border and title
what
Il giorno gio 07 ago 2014 11:27:49 CEST, Ignacio Casal Quinteiro ha scritto:
Ciao Andrea,
in msys2 we just added the rgba support. Did you just update gtk right now?
(it was added a couple of hours ago)
About evince, any chance you can provide a pull request adding evince to
the msys2 repo?
http
to
the msys2 repo?
https://github.com/Alexpux/MINGW-packages/
yes i'll try
i start with libgxps
On Thu, Aug 7, 2014 at 11:24 AM, Andrea Zagli wrote:
i'm trying gtk+3 3.13.5 under windows, with msys2
adwaita theme looks very nice under windows; and at this point gtk+ seems
very s
i'm trying gtk+3 3.13.5 under windows, with msys2
adwaita theme looks very nice under windows; and at this point gtk+
seems very stable also under windows
but i got windows with semi transparent border and title
what could it be?
thanks in advance
and thanks for your efforts with gtk+ unde
Il giorno mer 07 mag 2014 11:51:47 CEST, LRN ha scritto:
On 07.05.2014 13:34, Andrea Zagli wrote:
how can i customize the default win32 theme without rebuilt gtk3?
The same way you change GTK+-3.x theme on other platforms. Edit
%LOCALAPPDATA%/gtk-3.0/gtk.css
and if i want to change it for
Il giorno mer 07 mag 2014 11:51:47 CEST, LRN ha scritto:
On 07.05.2014 13:34, Andrea Zagli wrote:
how can i customize the default win32 theme without rebuilt gtk3?
The same way you change GTK+-3.x theme on other platforms. Edit
%LOCALAPPDATA%/gtk-3.0/gtk.css
ok it works
thanks a lot
how can i customize the default win32 theme without rebuilt gtk3?
particularly i want to enable alternate rules in gtktreeview
thanks in advance
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
Il giorno gio 10 apr 2014 17:58:33 CEST, Andrea Zagli ha scritto:
[...]
i'm using glib 2.32.1; ASAP i'll try most recent version
with glib 2.36.1 it works
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/li
i didn't understand how g_time_zone works under windows
if i call g_date_time_new_now_local i get greenwich time (for me 1
hour behind, and today 2 hours because in daylight saving)
try this little test
GTimeZone *tz;
tz = g_time_zone_new (NULL);
g_printf ("g_date_time_new_now %s\n", g_dat
as the object
how can i retrieve a gtkcellrenderer attribute? setted with
gtk_tree_view_column_new_with_attribute
thanks in advance
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
Il giorno lun 03 dic 2012 13:05:45 CET, Andrea Zagli ha scritto:
[...]
UPDATE: under gnu/linux it works perfectly (glib 2.32.4)
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
i'm trying to use the function as object, but if i ask http://address> it returns that there isn't an application registered for
this type of file
if i ask file:///c:\install.ini it return that the uri isn't supported
what am i doing wrong?
my environment is: windows vista, mingw/msys, glib 2
Il giorno lun 07 mag 2012 17:32:21 CEST, Fan Chun-wei ha scritto:
Hi Andrea,
I think it would be the best for you if you downgrade to
Cairo-1.10.2, which you could obtain the Win32 binaries from
http://www.gtk.org/download/win32.php. It seems to me when I was
trying out Cairo-1.12.x there
i'm trying to use gtk3-demo under windows vista (i tried also under
windows xp pro) but it crash every time i run it
for example if i double click con gtk3-demo.exe it crash every time,
often with the error "(gt3-demo.exe:time>): glib-error **: gmem.c:230: failed to allocate 208 bytes"
if i
Il giorno gio 03 nov 2011 17:44:48 CET, Andrea Zagli ha scritto:
Il giorno gio 03 nov 2011 14:10:23 CET, Earnie ha scritto:
Andrea Zagli wrote:
i would like to build gtk under mingw/msys because i want to debug
gtkprintoperation, but i get the following error
make[3]: Leaving directory
Il giorno gio 03 nov 2011 14:10:23 CET, Earnie ha scritto:
Andrea Zagli wrote:
i would like to build gtk under mingw/msys because i want to debug
gtkprintoperation, but i get the following error
make[3]: Leaving directory `/home/a.zagli/gtk+-2.24.7/gtk'
/gtk-update-icon-cache --force --i
i would like to build gtk under mingw/msys because i want to debug
gtkprintoperation, but i get the following error
make[3]: Leaving directory `/home/a.zagli/gtk+-2.24.7/gtk'
/gtk-update-icon-cache --force --ignore-theme-index\
--source builtin_icons stock-icons > gtkbui
i have a GtkBuilder file made with glade 3.8.1
the problem is that only GtkTreeViewColumn headers are not translated;
they are regularly inside *.po and *.gmo
what could it be the "bug"?
thanks in advance
___
gtk-list mailing list
gtk-list@gnome.o
i have a gtkcombobox with a gtktreemodel
i initially fill the gtktreemodel with some strings, but while running
the application these strings change but the gtkcombobox remains of
the width of the longest of these strings and not of the width of the
longest currently present in the model
Il giorno mer 28 set 2011 13:10:23 CEST, Thomas Jollans ha scritto:
On 27/09/11 17:52, Andrea Zagli wrote:
can i have a GtkTreeView based on GtkTreeModelFilter based on a
GtkTreeModelSort?
i tried but when i click on a column header i get "invalid cast from
`GtkTreeModelFilte
can i have a GtkTreeView based on GtkTreeModelFilter based on a
GtkTreeModelSort?
i tried but when i click on a column header i get "invalid cast from
`GtkTreeModelFilter' to `GtkTreeSortable'"
thanks in advance
___
gtk-list mailing list
gtk-list
i made a very simple custom widget (a library) that is gtkbin
subclass, and it works but...
under gnu/linux it works perfectly, but under windows i couldn't load
a gtkbuilder xml file that contains the declaration of my widget
i made some test:
- if i load with g_module the library after g_
as the object (i mean the GtkPrintSettings of the GtkPrintOperation
passed to the signal)
does it work? i have tried but it doesn't seem to work
i want to change, for examples the number of copies, inside the signal
and not before calling gtk_print_operation_run because i want to print
the
is there a way with gtk to get the printers list installed on a system?
thanks in advance
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Il giorno lun 03 ago 2009 18:03:43 CEST, Andrea Zagli ha scritto:
i didn't find nothing about to manage (read/write) csv files with glib
do you know about something that i didn't find?
otherwise i might develop it
i found that libgda have a csv parser [1]
i'll try in the ne
Il giorno lun 03 ago 2009 18:45:28 CEST, Tristan Van Berkom ha scritto:
On Mon, Aug 3, 2009 at 12:03 PM, Andrea Zagli wrote:
i didn't find nothing about to manage (read/write) csv files with glib
do you know about something that i didn't find?
Currently its pretty
i didn't find nothing about to manage (read/write) csv files with glib
do you know about something that i didn't find?
otherwise i might develop it
thanks in advance
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/
Il giorno mer 22 lug 2009 14:07:54 CEST, Tadej Borovšak ha scritto:
> if the file is utf8 i received the following error when i run gtk-demo
I doubt it being UTF-8 was the core problem here, but simply that the
syntax was wrong?
MS Windows software tends to put BOM into UTF-8 files, with all t
i installed mingw, msys and gtk+ bundle package on a pc with windows xp
then i created the gtkrc file to use the windows theme
if the file is utf8 i received the following error when i run gtk-demo
e:\mingw\etc\gtk-2.0\gtkrc:1: error: unexpected character `\357',
expected keyword - e.g. `styl
i have a widget that is a gtkbin; inside there is a gtkscrolledwindow
i want to intercept scroll-event from my widget without pass it to the
internal gtkscrolledwindow
i set widget_class->scroll_event and GDK_BUTTON_PRESS_MASK but the
scroll-event goes always to the gtkscrolledwindow and no
Il giorno dom 10 ago 2008 12:11:37 CEST, "Marco Rocco" ha scritto:
Hello, for my application i would generate a report similar to this:
http://tinyurl.com/5e3t8b
and after i would to print it.
How can i do to generate this report (what libraries, what
functions, tutorial...etc...) ?
look at
Il giorno dom 10 ago 2008 12:11:37 CEST, "Marco Rocco" ha scritto:
Hello, for my application i would generate a report similar to this:
http://tinyurl.com/5e3t8b
and after i would to print it.
How can i do to generate this report (what libraries, what
functions, tutorial...etc...) ?
look at
Il giorno ven, 06/07/2007 alle 06.05 -0700, ibrar ahmed ha scritto:
> I created combo box with multiple columns, like in first column there
> is pixbuf and string and other columns have only data string. But
> problem is that columns of combobox are not well alligned. If some
> entry have maximum s
Il giorno lun, 15/01/2007 alle 20.06 +0700, Hariyanto ha scritto:
> I using gtktreeview with 3 column to display some data.
> I set alignment Center in header column with
> gtk_tree_view_column_set_alignment().
> And I set alignment data with g_object_set (renderer, "xalign", 1.0, NULL);
>
> Ho
Il giorno dom, 15/10/2006 alle 10.45 +0330, Mohsen Saboorian ha scritto:
> 1. Why the property "appears-as-list" of GtkComboBox is read only? A
> user may want to have a scroll bar near a large list. I've noticed
> that PyGTK has this property changeable:
> http://www.pygtk.org/docs/pygtk/class-gtk
is there somewhere a repository of custom widgets???
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
is there a way to replace gtkcombobox dropdown menu with a gtktreeview?
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
52 matches
Mail list logo