I've been searching for ways to run a GTK+ application on a browser.
WebKit and its associated GTK+ port seem to do the opposite - making applications more Web-friendly, but the opposite would also be nice.
There seems to have been some activity to realize that for XCode, with Cappuccino and Atlas, that can translate NIB files into CIB...
I have been trying to run configure to prepare the make file for GTK 2,9 on a fresh Linux box (running Ubuntu 10.04 Lucid Lynx).
it complained about some dependencies, including:
glib-2.0
atk (1.29.2)
pango (1.20)
cairo (1.6)
I managed to find the glib 2.22.0, downloaded the atk but did not compile yet, did not start the pango yet, ...
Hello,
I create toolbar with gtkuimanager in my gtk+ application. How can i change style of toolbar button?
Thank you.
...
I found Seed, which is basically a JavaScript environment and binding for programming GTK+. Are there any limitations compared to using e.g. C and C++? Are there any major speed concerns?
...
Im trying to make a script that can generate a kind of chat client in cygwin on windows but i dont have a clue how to start, i saw something like gtk+ but how do i get that inside of cygwin, and what have i to do after that?
...
Is there a signal that is emitted when a window/dialog is presented in GTK+?
Example: when issuing this command to the GTK widget dialog:
dialog.present()
is there a resulting signal? Or is there any signal that denotes the "showing" of a window/dialog?
...
Is there a way to use set_active on a gtkCheckButton but without the user being able to press/toggle the said button?
In other words, I want to programmatically control the active state of the CheckButton but I don't want the user to be able to change it.
...
I need to get text from an entry in a dialog, like a login dialog (get the user and password), I've tryied to use 'gtk_entry_get_text' but I did something wrong or there's something else I could use...
I'm programing in C... please help me...
...
Hello,
I load some data from file:
GInputStream* input_stream;
GFile *file = g_file_new_for_path(file_path);
input_stream = g_file_read(file,generator_cancellable ,NULL);
g_input_stream_read(input_stream, buffer, sizeof (buffer),generator_cancellable,error);
How can i load g_input_stream_read function result to the GdkPixbufLoader o...
Hello,
I load data with function:
gssize g_input_stream_read (GInputStream *stream,
void *buffer, gsize count,
GCancellable *cancellable,
GError **error);
What is ma value of buffer parameter. How can I...
Hello,
I have simple from written on C/gtk+ and i have function in this appliction. I need to run this function in a separate thread from gui form. Where can i see example?
Thank you.
...
Hello,
I have simple C/gtk+ application. I have function in this app which load image in gtkimageview widget:
gboolean
main_win_open( MainWin* mw, const char* file_path)
{
...
//loading and displaing image in gtkimageview
...
}
The loading image is work, but i need to run this function in another thread then main gui fo...
Hello,
In my gtk+ application i have function in mainwin.c:
void
on_prev( GtkWidget* btn, MainWin* mw )
{
...
}
And in file ui.h i have:
#include "mainwin.h"
static const GtkActionEntry entries[] = {
{
"Go Back",
GTK_STOCK_GO_BACK,
"Go Back",
"<control>b",
"Go Back",
G_CALLBACK(on_prev)
...
Hello,
In my C/gtk+ application i read some data with dk_pixbuf_new_from_stream, and i must do it cancellable with GCancellable: where can i find example of using GCancellable?
Thank you
...
Hello,
In my gtk+ application i have following code:
G_DEFINE_TYPE(PicFile, pic_file, G_TYPE_OBJECT)
When i try to compile it i see error:
error:invalid application of sizeof to incomplete type 'PicFileClass'
Where PicFileClass -
typedef struct _PicFileFileClass PicFileClass;
struct _PicFileClass {
GObjectClass parent;
};
W...
Hello,
I need in global list in my gtk+ application, i use for it GList:
For example:
I have structure:
typedef struct _data
{
Glist list;
}Data;
I want to use one copy of the list in the whole program:
I have a function bulid my list:
gboolean build_list()
{
Data->list = g_list_append(Data->list, "First ");
Data->list = ...
Hello,
I need in full screen window functional in my gtk+ application. I try to use gtk_window_fullscreen(GtkWindow* Window):
I have function:
static void
full_screen(MainWin *mw)
{
gtk_window_fullscreen((GtkWindow*)mw);
}
When i try to call this function i see error:
Gtk-CRITICAL **: gtk_window_fullscreen: assertion `GTK_IS_...
when i am trying to install,Gtk+2.4.13 it says..make:no target specified and no makefile found
...can anyone tell me what is the fault or how do i install GTK+2.4.13.
...
Hello,
I want to change titlie of main window of my C/gtk+ application. I have code:
void update_title(const char *filename, MainWin* mw )
{
GtkButton* btn = gtk_button_new();
static int wid, hei;
static char fname[50];
char buf[100];
if(filename != NULL)
{
strncpy(fname, filename, 49);
wid = gdk_pi...
I installed the latest versions of python (2.6.5), gtk+, pygtk (and friends) from their respective websites on Windows XP SP3. When you try to import gtk (or just glib for that matter), an ImportError is raised:
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "...