gntblist.h File Reference

GNT BuddyList API. More...

#include "blist.h"

Include dependency graph for gntblist.h:

Go to the source code of this file.

Functions

gboolean finch_blist_get_position (int *x, int *y)
 Get the position of the buddy list.
gboolean finch_blist_get_size (int *width, int *height)
 Get the size of the buddy list.
PurpleBlistUiOpsfinch_blist_get_ui_ops (void)
 Get the ui-functions.
void finch_blist_init (void)
 Perform necessary initializations.
void finch_blist_set_position (int x, int y)
 Set the position of the buddy list.
void finch_blist_set_size (int width, int height)
 Set the size of the buddy list.
void finch_blist_show (void)
 Show the buddy list.
void finch_blist_uninit (void)
 Perform necessary uninitializations.


Detailed Description

GNT BuddyList API.

finch

Finch is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT file distributed with this source distribution.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file gntblist.h.


Function Documentation

gboolean finch_blist_get_position ( int *  x,
int *  y 
)

Get the position of the buddy list.

Parameters:
x The x-coordinate is set here if not @ NULL.
y The y-coordinate is set here if not NULL.
Returns:
Returns TRUE if the values were set, FALSE otherwise.

gboolean finch_blist_get_size ( int *  width,
int *  height 
)

Get the size of the buddy list.

Parameters:
width The width is set here if not @ NULL.
height The height is set here if not NULL.
Returns:
Returns TRUE if the values were set, FALSE otherwise.

PurpleBlistUiOps* finch_blist_get_ui_ops ( void   ) 

Get the ui-functions.

Returns:
The PurpleBlistUiOps structure populated with the appropriate functions.

void finch_blist_set_position ( int  x,
int  y 
)

Set the position of the buddy list.

Parameters:
x The x-coordinate of the buddy list.
y The y-coordinate of the buddy list.

void finch_blist_set_size ( int  width,
int  height 
)

Set the size of the buddy list.

Parameters:
width The width of the buddy list.
height The height of the buddy list.