Hi, thanks for your answer!
> If you have a cairo_t obtained from your expose_event callback and you call
> it "cr", then on the child widgets you can create a surface with
> cairo_surface_create_similar( cairo_get_target(cr), CAIRO_CONTENT_COLOR,
> theWidthOfYourChild, theHeightOfYourChild);.
On Wed, Oct 18, 2006 at 11:19:45AM +0530, [EMAIL PROTECTED] wrote:
>
> I have implemented a menu button.
Why? GtkMenuBar+GtkMenuItem, GtkComboBox or
GtkToolbar+GtkMenuToolButton all provide this type of
behaviour. Why they are not enough?
Yeti
--
Whatever.
___
Hi,
I have implemented a menu button. On mouse event, the popup is happening
properly but I need to popup the menu during return key pressed event.
Is there something wrong in my code?
Is there any other way to do it?
Current implementation:
g_signal_connect_swapped (G_OBJECT(button_m
On Tue, 17 Oct 2006, Fabricio Rocha wrote:
> Some days ago I have posted a piece of code and the
> description of a very strange bug -- up to a certain line, a
> guint8 variable (part of a dinamically-allocated structure) has
> the value 0; and after a call to gtk_combo_box_set_active, wh
If you have a cairo_t obtained from your expose_event callback and you
call it "cr", then on the child widgets you can create a surface with
cairo_surface_create_similar( cairo_get_target(cr), CAIRO_CONTENT_COLOR,
theWidthOfYourChild, theHeightOfYourChild);.
That surface will have the same for
On Tue, Oct 17, 2006 at 05:38:22PM +0530, [EMAIL PROTECTED] wrote:
>
> I'm unable to use the style property focus-line-width or
> focus-line-pattern.
>
> While running the application it states
>
> "GLib-GObject-WARNING **: g_object_set_valist: object class `GtkButton'
> has no property named `
On Tue, Oct 17, 2006 at 11:02:32AM -0700, Brian J. Tarricone wrote:
> On 10/17/2006 5:17 AM, David Ne?as (Yeti) wrote:
> > On Tue, Oct 17, 2006 at 01:51:47PM +0200, Lorenzo Marcon wrote:
> >> int main(int argc, char *argv[]) {
> >> ...
> >
> > This is quite cumbersome...
>
> Not to mention the fa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/17/2006 5:17 AM, David Ne?as (Yeti) wrote:
> On Tue, Oct 17, 2006 at 01:51:47PM +0200, Lorenzo Marcon wrote:
>> int main(int argc, char *argv[]) {
>> ...
>> gpointer data[5];
>> ...
>> data[0] = (gpointer) gtk_entry_get_text (
Thanks a lot, it was indeed a security problem, now it is solved.
Sucheta
On Fri, 13 Oct 2006, Madhusudan E wrote:
> Hi,
> There is absolutely no problem in doing file operations in
> GTK based applications.
>
> Just check the validity of your operations.
> Check the validity of your file name ,
On Tue, 17 Oct 2006 11:58:08 +0200
Philippe Bertin <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Sorry to crosspost, but I think this topic can belong to any of the 3
> newslists. If this is not good with you, please indicate me which
> list is most appropriate, please (please do not flame me).
>
Le vendredi 13 octobre 2006 à 14:12 +0100, John Cupitt a écrit :
> On 10/13/06, Gan3sh <[EMAIL PROTECTED]> wrote:
> > With Gtk+, is there any way to launch the default html browser
> > independently of the operating system ?
>
> Sadly not (as far as I know). I have a thing with ifdefs for *nix,
Hi
I have two Treeviews (just lists, they use Liststore) and I want to be
able to drag entries from one into the other. What is the correct way to
do this?
I call enable_model_drag_source on one list and enable_model_drag_dest
on the other - the gui behaves as if drag-and-drop will work and the
I'm trying to use Gtkclipboard, but run into problems. I can't maintain the
data in the clipboard once I close my program, even if I use
gtk_clipboard_store function.
This is my code. It's the handler of a pop-up menu that allows to copy the
selected text item of a treeview.
gboolean on_copy_t
Philippe Bertin wrote:
> Hello all,
>
> Sorry to crosspost, but I think this topic can belong to any of the 3
> newslists. If this is not good with you, please indicate me which list
> is most appropriate, please (please do not flame me).
/me pulls out torch...
glade-devel@lists.ximian.com wou
On Tue, Oct 17, 2006 at 09:08:53PM +0800, Dongsheng Song wrote:
>
> When I use GtkListStore, How do I stop the column headings of a
> GtkListStore
GtkListStore has no column headers, I suppose you mean
GtkTreeView.
> disappearing when the list is scrolled?
Read the documentation
http://devel
On Tue, Oct 17, 2006 at 09:06:40PM +0800, Dongsheng Song wrote:
> When I use GtkListStore, How do I find out about the selection?
GtkListStore is the model part, it has no selection.
Selection belongs to the view (GtkTreeView) part, and
gtk_tree_view_get_selection() gives you the selection
object.
The document said:
GtkList is deprecated and should not be used in newly-written code.
When I use GtkListStore, How do I stop the column headings of a
GtkListStore disappearing when the list is scrolled?
Thanks,
Dongsheng
___
gtk-app-devel-list mail
The document said:
GtkList is deprecated and should not be used in newly-written code.
When I use GtkListStore, How do I find out about the selection?
Dongsheng
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/m
On Tue, Oct 17, 2006 at 01:51:47PM +0200, Lorenzo Marcon wrote:
>
> int main(int argc, char *argv[]) {
> ...
> gpointer data[5];
> ...
> data[0] = (gpointer) gtk_entry_get_text (GTK_ENTRY (entry));
> data[1] = (gpointer) notebook;
> data[2] = (gpointer) progress
Hi,
I'm unable to use the style property focus-line-width or
focus-line-pattern.
While running the application it states
"GLib-GObject-WARNING **: g_object_set_valist: object class `GtkButton'
has no property named `focus-line-pattern'
control volumeINFO - GTK_THRD 2006-10-17 17:2
Hi everyone.
I write some widgets for GTK, and I would like to know if I should use cairo
for the drawing operations on these widgets (I want to keep them in GTK
standarts)?
Because I know that GTK is using Cairo, but, Cairo will replace the GDK for
drawing?
Thanks.
Hi to all,
this is my first experience with GTK+ and my first post here too.
I'm currently writing a small application using GtkNotebook. (Not multi-thread
or multi-process)
My application works in this way:
- The main function draws the main GUI and associate some event handlers to
some buttons
Samuel Cormier-Iijima wrote:
> The GtkTreeView tutorial has an example on how to make custom cell
> renderers:
I know that tutorial very well, the problem is that I have a gtkwidget
to display as cell, the custom renderer shows only
some basic drawing (boxes), while it seems it's not possible to
Hi,
I'm working on a project which uses a subclassed GtkTextView as a custom
cell renderer for displaying and editing multi-line text in a tree view
column.
I didn't write the code, but it appears plausible. It simply implements
the GtkCellEditable interface.
Since GTK+-2.10.1, there is a render
Hello all,
Sorry to crosspost, but I think this topic can belong to any of the 3
newslists. If this is not good with you, please indicate me which list
is most appropriate, please (please do not flame me).
While reading http://glade.gnome.org/docs/catalogintro.html I see it is
possible to vali
25 matches
Mail list logo