On Thu, Jul 27, 2006 at 02:24:23AM -0400, Nikhil Dinesh wrote:
> I'm trying to create my own object hierarchy, and I don't
> understand the part in the API reference about virtual
> functions and chaining up. To create a virtual public
> method, the docs say we need to do something like:
>
> /* d
On Thu, Jul 27, 2006 at 09:39:08AM +0200, David Nečas (Yeti) wrote:
>
> Each class has its own class struct which contains all
> ancestors's class structs
To clarify: The object system keeps an instance of both
MamanBarClass and MamanBarSubClass. So the class structs
contains all ancestors' clas
First off, I apologise if, this being a GNOME API and not strictly GTK
API question, it doesn't belong here, but I couldn't see an equivalent
mailing list, and the GNOME list I'm on & tried is more for users than
programmers.
I have an issue with panel_applet_get_size(); it lies! It r
Hello,
I want to make a dictionary with posibility of completion like it is
in GtkEntry Completion. But the dictionary has more items than is
possible to fit into GtkEntry Completion, so I'm looking for the same
appearance like GtkEntryCompletion has, but I want to make completion
by myself. Can an
You may want to derive a class from GtkEntryCompletion (see the code
of it) and reimplement the auto completion callback.
May you create your callback (called when the user writes some thing
on the entry) and try toshow the completion list from a query in a
database, even if it is just a XML file
Hello,
GTK app A did fork(). There are 2 processes which share
one socket descriptor to X. Both of the parent and child
process use GTK window.
The program die soon after forking because the TCP sequence
on the socket to X is invalid.
Is there any way to use GTK app both in parent process
and
I have a small textview which tells/helps the user what to do,
so when a user moves his mouse onto a button i'd like to show small message
in the textview
I am so far that a g_print prints it message on a mouseover, but the buffer
is not updated
and i get this message:
gtk_text_buffer_set_text:
If I set a button to have an image like this:
gtk_button_set_image(GTK_BUTTON(button),gtk_image_new_from_file("fname.svg"));
then the button grows to the full size of the image (huge). Using:
gtk_widget_set_size_request(button,30,30);
I can make the button have a sensible size, but the
Christopher Backhouse wrote:
>If I set a button to have an image like this:
>
>
>
Hi,
You can accomplish what you want using a gtkrc file
and the pixbuf engine, this way you can set a graphics file
for any particular widget by name and it will scale automatically.
Cheers,
Is it considered bad form to g_propagate_error() a custom error back to
a caller,
when the error domain, enum and quark definitions are not visible to
the caller?
Example:
--bar.h-- (an internal module, not seen by the caller)
typedef enum
{
BAR_ERROR_THIS,
BAR_ERROR_THAT
} BarError;
10 matches
Mail list logo