Hello, I want to use GTK for user interface for C++ project.
I do not know how to set development environment for it.
I downloaded all-in-one bundle of gtk from http://www.gtk.org/download-windows.html
How to use it with visual c++ 2008 ?
...
How does one create custom threads to run in a Gtk application?
Given this simplistic example:
@w = Gtk::Window.new "testtest"
@l = Gtk::Label.new "test"
@w.add @l
@w.show_all
Gtk.main
How could I run a thread like this?
Thread.start { loop { puts 'thread running'; @l.text = Time.now.to_s; sleep 1 }}
I got that timeout-based appro...
hello,
I have Installed GTK on a Linux machine.
I am connecting To Linux Machine from a Telnet Session to compile the GTK programs
From A Windows Machine. I am using Cygwin on Windows Machine. but i am not able to see
GUI output of my GTK program on my Windows Machine.
When i run program from my terminal i get this error:
(helloworld...
hello every one,
i am just a beginner with gtk.
i have created some of the example of GTK with GTK+Glade.
but i want to do some transition effetes (Animation) on my Widgets/Windows/Components
While they appear/disappear on screen.
how do we do it with GTK and Glade?
...
can i use GTK in java using windows?Can anyone help me in this?
...
I am trying to create and emit a GTK signal:
g_signal_new("child-finished",
G_TYPE_OBJECT,
G_SIGNAL_RUN_FIRST,
0,
NULL, NULL,
NULL, // *** I think this is where I need to change it
G_TYPE_NONE, 0);
g_signal_connect(G_OBJECT(myWindow), "child-finished", G_CALLBACK(MyCallback), NULL);
Here is my code th...
Hi All!
Long long time ago was a Delphi, and any developer can rapidly build win32 GUI application. Delphi was a king (long life to king...) but now delphi and win32 has gone away.
So question is - what a preferred platform to rapidly build cross-platform GUI applications at present days? I'm have a good knowledge of Java and C#, and i'...
I want to change the image on GtkImage when user click a buttion, so I tried the code below, but it doesn't work.
/*
* Compile me with:
* gcc -o tut tut.c $(pkg-config --cflags --libs gtk+-2.0 gmodule-2.0)
*/
#include <gtk/gtk.h>
G_MODULE_EXPORT gboolean on_button1_clicked(
GtkWidget *event_box,
...
Hi,
I have got a gtk application. I want it to start automatically when I boot up the system, such that instead of getting usual login screen, my application greets the user.
My application is a sort of cash dispensing application. So user should not even see the login screen of linux. Whenever machine in boot up, after loading servic...
Hi,
I want to print some records using PHP-Gtk.
I am using following code but it did not worked.
$handle = fopen("PRN", "w");
fwrite($handle, 'text to printer');
fclose($handle);
Please help me
Thanks
Rahul
...
I build a composite widget and would like it to have it's own accelerators (hotkeys) available only when it is in focus. The only Idea I have so far of how to accomplish this is to change out the accelerator group in the top level when ever my widget goes in and out of focus. It seems like there should be a better way.
...
I created a composite widget with webkit_webview widget stored in scrollwed window with a gtkvbox base widget. How do make to so the base gtkvbox widget is in focus whenever any of the contained widgets have focus? Specifically, I am trying to add accelerator that should only be active when the composite widget is in focus. To determine ...
Hello every one,
I am building a simple chat application under GTK+ and C,
In that i need to display List of contacts like follows.
1.
Window Containing contact list with contacts Presence and status Icons and name.
+-----------------------------------------+
| [PresenceImage1] [Name1] [StatusImage1] |
| [PresenceImage2] [Name2] [Stat...
I want to replace a GtkCList with GtkTreeView, but I can't seem to figure out how to accomplish the same functionality as the gtk_clist_set_pixtext function. I'm guessing I need a custom cell render. Does somebody have a free implementation I can use or am I on my owning in having to write one from scratch?
...
I am writing a small application in GTK+ and java, and I want it to maintain its position, size, including those of child widgets, for each session. Is there any other way instead of manually storing size of each child widgets, and recovering them at startup?
...
Hello,
I'm learning Objective-C using GNUstep, because I don't have a Mac and the GNUstep GUI applications have that Window Maker style, but it's possible to develop this GUI applications using GTK? Thanks.
...
I'm now with a idea to start the development of a bare bones Qt/GTK+-like framework, but I want to know some things before I start the creation of this project:
What is the structure of GTK+ and Qt?
Do I need to develop a window manager to build my own framework?
Some resources to start?
...
I'm just getting started with pyGtk programming, so bear with me. I have a dialog with a ComboBox. The list that shows up when I click on the combo box has 70+ times in it. It extends from the top of the screen to the bottom. I can live with it, but I'd rather have the ComboBox perform like an html select element(i.e. top of menu is ...
I want to display a simple GIF image in a VBox using GTK+ from C. I know that I need to use a GdkPixbuf. But as usual there are no example of doing it. Can anyone provide help?
Also: In GTK+ how can we add a PNG image as background to a widget? Can anyone provide an example?
Forgot something to add this:
forgot to tell u that i am usi...
Hello every one,
I am trying to create GTK Widget like shows in following Images
Is it possible to create it in GTK+ under C,
I tried using GtkExpander but it is not working out ...
Can any one Help....
...