How is localisation done in the new system?
In the same way you localize your application's strings
For simple programs, I do not bother to do my own localization, because
most of needed words are already available in localization files of GTK
and its components. Thus I define:
#define A_(
how do I obtain a pointer to the dialog's 'Cancel' button so that I can
connect a signal handler to it?
I think that you can also connect to the "response" signal of the dialog and
check the response ID.
I looked for functions like gtk_dialog_get_child() or
gtk_window_get_child_with_id() or so
I downloaded the
mingw32-gtk3-3.0.6-1.6.noarch.rpm
and everthing would work fine,
except that there is this unfortunate affair with
Glib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not
installed
Shall I copy the
org.gtk.Settings.FileChooser.gschema.xml
to some other place
For example, having "File" stock item doesn't make much
sense, since files usually carry their own name and this is what
should be displayed.
Most programs have the "File" menu item in the tool bar.
To create menu items from stock items is a simple way to present
translated labels for all langu
I wonder why
GTK_STOCK_COLOR_PICKER
GTK_STOCK_DIALOG_AUTHENTICATION
GTK_STOCK_DIRECTORY
GTK_STOCK_DND
GTK_STOCK_DND_MULTIPLE
GTK_STOCK_FILE
GTK_STOCK_MISSING_IMAGE
are not included in the array
GtkStockItem builtin_items
in the source file
gtkstock.c
How they are expected to be used when they c
Is it possible to close a GTK main window through the code?
gtk_widget_destroy (mainWindow);
The application can continue running after the window is destroyed, if
you simply omit the usual
g_signal_connect (G_OBJECT (mainWindow), "destroy", G_CALLBACK
(gtk_main_quit), NULL);
P.A.
- Original Message -
Subject: Re: goocanvas vs crcanvas,which better?
Is there standard facility for creating cairo context for pixbuf? Like
gdk_cairo_create() for drawables.
pixels = gdk_pixbuf_get_pixels (pixbuf);
width = gdk_pixbuf_get_width (pixbuf);
height = gdk_pixbuf_get_heigh
When I turn on toolbar button labels Text Below Items (System >
Preference >
Appearance > Interface), the toolbar gets much, much wider than it
seems it
should. There's lots of wasted space and it makes the toolbar for the
app
I'm working on almost useless on smaller screens.
Does anyone have
anyone know a way to save a gtktextview/gtktextbuffer with embedded
gdkpixbuf into a file.
A correction to the suggested solution:
In the procedure
void open_gtb (GtkTextView *textView, const gchar *srcFileName)
delete the call:
gtk_text_buffer_deserialize_set_can_create_tags (
buffer, gr
anyone know a way to save a gtktextview/gtktextbuffer with embedded
gdkpixbuf into a file. I am calling gtk_text_buffer_get_slice then
g_file_set_contents. Idealy it will be good if i can just call
g_file_get_contents to output the saved buffer onto the gtktextview.
void save_grt (GtkTextView *
>> GTK is usually already installed with GIMP;
>
> Presumably not everyone is interested in installing GIMP just to get a
> copy of GTK+.
Is there a better choice of bitmap graphic editor than GIMP?
(I am just curious, not starting flamewar :-)
Of course, there may be some people who are not at al
> Can someone share ideas about how to compile a GTK application for
> Windows and package it so it includes GTK and its dependencies?
To develop GTK applications under Windows I am using
Dev-C++ which includes Mingw compiler
http://sourceforge.net/projects/dev-cpp/
GTK is usually already install
When I want to use serial ports, shall I write separate code for Windows and
for Linux, or is there some library function which would allow to do it in
the platform independent way?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
htt
13 matches
Mail list logo