Hi all,
I am setting the style attribute to the textview
widget but, it doesn't effect the same.
my goal is - to set the background image to the
textview by using the style object.
this is the code snippet
---
GtkStyle *style;
GtkWidget *textview;
style = gtk_style_new();
style->bg_pixmap[GTK
Hello!
I want to create custom application launcher for Maemo. Number of
application, which it will run, are fixed. Launcher will look like grid,
which items are icons with text under it. At first I used GtkGrid with
custom buttons, in which packed GtkHBox, GtkImage and GtkLabel. It looks
fine
Enrico Tröger wrote:
>> You will find the code attached, these are the issues:
>>
> I don't ;-(.
>
>
Let's try inline then:
/* February 2008, Bastiaan Veelo, [EMAIL PROTECTED] */
#include
#include
#ifdef CAIRO_HAS_PDF_SURFACE
#include
#endif
static GtkWidget *window = NULL;
static
On Wed, 13 Feb 2008 19:56:05 +0100, Bastiaan Veelo <[EMAIL PROTECTED]>
wrote:
Hi,
> In lack of a complete printing tutorial, I wrote one myself. There are
cool. I missed a tutorial too when I was first working with the new
printing API.
> You will find the code attached, these are the issues:
Dear list,
In lack of a complete printing tutorial, I wrote one myself. There are
still some open questions though. My objective is to get consistent
output of text and graphics on screen, in PDF and printed on paper,
cross platform. All drawing code is in one function, which should not
need
With some trepidation about extending this wearisome thread, I thought that
I would post for the benefit of the record some information about a
solution that I found. It is based on a suggestion made by Kristian
Rietveld in the previous incarnation of this thread (which I quoted when I
resurrected
Hi Markus,
On 13/02/2008, Markus Müller <[EMAIL PROTECTED]> wrote:
> When trying to add the Widgets B to A like
> gtk_container_add(GTK_CONTAINER(Widget_A),Widget_B); the console
> creates an error that Widget A (of coursce) is no Containter-Class but Widget
> A-Class...
You need to derive your
On 2/13/08, Tor Lillqvist <[EMAIL PROTECTED]> wrote:
>
> > I'm wondering if the gmodule "inspecting" feature to link the handlers
> > is broken in win32 or if I have to add some more flag
>
> I quote the documentation for gtk_builder_connect_signals() in trunk:
>
> * When compiling applications f
> I'm wondering if the gmodule "inspecting" feature to link the handlers
> is broken in win32 or if I have to add some more flag
I quote the documentation for gtk_builder_connect_signals() in trunk:
* When compiling applications for Windows, you must declare signal callbacks
* with G_MODULE_E
I'm doing some tests with GtkBuilder and I've built a simple program
that open a window with a pair of buttons with a signal for each button
and it works perfectly in linux.
I've tried to crosscompile it to win32 with this command line:
i586-mingw32msvc-gcc -o main.exe main.c -mno-cygwin -mms-bit
Hello,
Some hints for your application...
Keep the GUI separeded from the application.
As I see it you have to small number of widgets to
gain anyting from a pure object oriented design.
I usally keep all widgets in one file(s), all callbacks to manipulate
widgets in one file(s), and the program
11 matches
Mail list logo